This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NUS Quiescent Power

I'm using the ble_nus_c NUS client code for a custom 1:1 data link between two embedded nodes, just pinging a few bytes of data back and forth every 3 seconds. Bonded connection. Using nrf_pwr_mgmt_run() in main(). Works a treat but the chip draws about 200uA while asleep, I would like to reduce that as client node is battery powered.

I guess this is because it is constantly listening for a value notification from the peer/periph. However in this application I only need it to listen for a specific timeslot. The client sends data once every 3 seconds, and the peer (mains powered) replies immediately, so client only needs to listen for say 10mS after it sends data. Without dropping the bonded connection.

Can anyone suggest how I would modify the NUS client code to do this?

I'm using nRF52840 (PAN1780 module), SDK 17.0.2, Nordic SES 5.34a

Parents Reply Children
No Data
Related