dear TI employee :
We have a customer who have a project using CC2640 ,they find a problem when use uart callback mode in powersaving condition.
The test is for software loopback( read data in uart and echo data in uart).
Tested in sdk(ble_2_00_00_42893)and (ble_2_01_01_44627),use simpleBLEBroadcaster project with power saving, send 5 times HEX data (01,01) and watch result.
in (ble_2_00_00_42893), reslut is ok (write 10 bytes,read 10 bytes, ),in (ble_2_01_01_44627), something is happend (write 10 bytes, echo 2 bytes),
Screenshot as below:
in (ble_2_00_00_42893)
in (ble_2_01_01_44627)
code is below:
(1)add uart initialization in simpleBLEBroadcaster.c
SerialApp_Init():
(2)add SerialAPP.c and SerialAPP.h
(3)modify uart pinns in Board.h
in (ble_2_01_01_44627),we can find Callback function l only have one respond .but in (ble_2_00_00_42893),it respond everytime.
we debug trace,and find differences in UARTCC26XX.c which include in (tirtos_simplelink_2_11_01_09) and (tirtos_simplelink_2_13_00_06).
in ThreadSafeStdbyDisSet() andThreadSafeStdbyDisRelease(), tirtos_simplelink_2_11_01_09 has added if(!uartpowerConstraint) and if(uartpowerConstraint) ,if we comment these if statement,everything is ok.
so I and customer want to know , whether my code have some errors or (ble_2_01_01_44627) has some problems?? Wish somebody can answer my query.........





