Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/SIMPLELINK-CC2640R2-SDK: I can not use NVSSPI with NVSSPI25X.c on simpleBLEPeripheral sample

$
0
0

Part Number:SIMPLELINK-CC2640R2-SDK

Tool/software:TI-RTOS

Hi, 

   I have tried the nvsspi sample in  C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\examples\rtos\CC2640R2_LAUNCHXL\drivers\nvsspi and it works well. But it will stuck when I call NVS_read() in simpleBLEPeripheral sample. It's root cause is that SPI_transfer() will be stuck. 

   I call NVS_read() at the end of SimpleBLEPeripheral_init()

  The original nvsspi sample is using POSIX to create the thread and the simpleBLEPeripheral is using SimpleLink with Task_construct(). Is it the root cause?

   How can I resolve this issue?

Best Regards,

Allen


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>