This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc3100开发运行getting_started_with_wlan_station demo,sl_WlanSetMode函数中g_bDeviceRestartIsRequired=true,然后异常退出,示例运行失败,cc3100和MCU接了6根线,spi+irq+HIB。

Other Parts Discussed in Thread: CC3100, CC3200

现象:在运行getting_started_with_wlan_station demo过程中,configureSimpleLinkToDefaultState函数中获取device version信息函数,返回值0xFF9C,程序退出。

分析:spi测试用例可以跑通,说明irq脚 使能脚均没有问题,定位sl_DevGet函数,发现spi发送数据后,无中断响应,异常退出。

怀疑点:
1、MCU和3100 IO口输出电压不一致分别是 1.8v和3.3v,会不会导致此问题,但是跑spi_debug_tool demo没有问题。
2、获取时间戳的函数sl_GetTimestamp我没有定义是否有问题。(从代码来看只是判断超时,所以没有加)

问题描述.txt
����������getting_started_with_wlan_station demo�����У�configureSimpleLinkToDefaultState�����л�ȡdevice version��Ϣ����������ֵ0xFF9C,�����˳���

������spi��������������ͨ��˵��irq�� ʹ�ܽž�û�����⣬��λsl_DevGet����������spi�������ݺ����ж���Ӧ���쳣�˳���

���ɵ㣺
1��MCU��3100 IO�������ѹ��һ�·ֱ��� 1.8v��3.3v���᲻�ᵼ�´����⣬������spi_debug_tool demoû�����⡣
2����ȡʱ����ĺ���sl_GetTimestamp��û�ж����Ƿ������⡣���Ӵ�������ֻ���жϳ�ʱ������û�мӣ�
4555.ti_question.zip8712.ti_question.zipcc3100开发运行getting_started_with_wlan_station demo,sl_WlanSetMode函数中g_bDeviceRestartIsRequired=true,然后异常退出,示例运行失败,cc3100和MCU接了6根线,spi+irq+HIB。