I adapted the soft of keyfob to work on LSR booard (LSR TiWi-uB1) , every thing is ok when i use osal_pwrmgr_device( PWRMGR_ALWAYS_ON ); but whenever i use PWRMGR_BATTERY problems start. In fact for my soft the problem i have is when i push a button the ADV starts , 2 packets are sent sometimes just one and then stops . I took the soft of Keyfob as, it is elaborated by TI and i just changed one thing :
// For the CC2540DK-MINI keyfob, device doesn't start advertising until button is pressed
uint8 initial_advertising_enable = TRUE;
to activate ADV from the biginning (without waiting a button push) , but no ADV, not even one packet.
What isthe problem please ? any idea ?
This is the LINK of my post on TI forum(there are more details about the problem), they suggested to post here..can you help please?
firstname.lastname@example.orgI succeeded to have CC2541DK-mini Keyfob example work on the TIWI-UB1 EM BOARD (the PWRMGR_BATTERY on). The only modification i did is :
Hello, Can you share in detail what was changed with the form files?
// For the CC2540DK-MINI keyfob, device doesn't start advertising until button is pressed uint8 initial_advertising_enable = TRUE;
1.PNG (146.2 KB)
Hi all, Problem resolved . It's because of a Resistance added in parallel with the clock in my borad. So it's a pure hardware cause . The tiwi-ub1 datasheet helmped me so much. (page 15) and the result i got in the last test that tells it's about timer 2.
Thanks for you all.
1.PNG (104.6 KB)