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.

CCS/LAUNCHXL-CC1350: Adding external flash functions into collector example

Part Number: LAUNCHXL-CC1350


Tool/software: Code Composer Studio

Hello!

I'm trying to implement external flash in collector example TI Stack 15.4. I'v added ExtFlash.c and ExtFlash.h into application folder of the collector example. But when I add this line ExtFlash_open(); in collector.c, flash is successfully opened, but the collector don't start the network. In uart i can see only "TI Collector". Channel number will never show, permit join functions is not working.

After debugging I saw, that program is stops on ApiMac_processIncoming() functions because of not posting this semaphore (Semaphore_pend(appSemHandle, BIOS_WAIT_FOREVER )). Also, if I comment SPI init and SPI open functions in ExtFlash_open(), everything works fine. Collector is not working even ExtFlash_open() is not performed but existing in code.

Same external flash functions is working fine in sensor example.

What may cause this situation? Thanks much.