Other Parts Discussed in Thread: CC3120, CC3100
Can any one help with the porting of the CC3120 sdk into a nonos stm32 platform.
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.
I have replaced my old sdk with the new one suggested by you. I have also replaced the nonos.c and nonos.h with those of the cc3100 sdk , according to some previous posts on the same problem. Can you guide what's next.
Now that that is out of the way I highly recommend you read chapter 19 of our programmer's guide and if you have additional questions try searching our forum or post a question if the existing threads don't answer your questions. There is many threads on e2e from people who have already ported CC3120 for STM32.
I am not getting the interrupt from cc3120 after sl_start(), ie sl_Start() hangs. It is pulling the nHiB line high and low ie cc3120 is resting but then it is not generating an interrupt on the IRQ line. Can you please elaborate the sl_start() steps.
According to me the sl_Start() in steps as follows:
1. It toggles the nHiB line,
2. Then waits for an Interrupt in the IRQ line from the cc3120
3. After it receives and interrupt it sends and spi command and waits for the correct response.
I am not getting the step 2. i.e. not getting any interrupt after the nHib toggle.
Please correct me if I am wrong.
Please guide me with the proper sl_Start steps so that i can debug
Have you programmed the service pack to the CC3120? This is needed for the device to boot up properly and send the host the proper response. Also please review the host interface guide for the CC3100. I think you will find it very useful.