- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
chip : BCM20736S
SDK : 2.1.1
reference app : uart_firmware_upgrade
1. I need BLE to keep in ADV that is normal state.
2. when connection_up, I need turn on paurt.
3. when connection_down, I need turn off puart.
4. when ws_upgrade_uart_device_lpm_queriable return -1 (connection_down),
the power consumption will down
5. when ws_upgrade_uart_device_lpm_queriable return 0 (connection_up),
and then re-enable puart but the interrupt of Rx won't be occurred
Solved! Go to Solution.
- Labels:
-
Peripherhal UART
-
SDK 2.X
-
Sleep Modes
-
Timers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not sure if i have understood your queries but i have attached some threads for clarifications...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We spoke to the developers and the power savings observed when turning PUART on/off is negligible. It's essentially a state machine, so when there is nothing for the PUART to do, something like 5-10uA may be consumed tops.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry My Bad.
I mean that when I use puart I need set
ws_upgrade_uart_device_lpm_queriable = 0; for disable sleeping
when I set ws_upgrade_uart_device_lpm_queriable = -1; for enable sleeping
the puart RX interrupt will not be occurred that's right,
and then I set ws_upgrade_uart_device_lpm_queriable = 0; disable sleeping
the puart RX interrupt still not be occurred.
so when I need low power without puart RX , I will enable sleeping,
my real question is when I set sleeping from enable to disable,
the RX can't be used.
I had trying PUART on/off , RX interrupt re-enable state , it not helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Janus,
Try re-initializing the uart and try the test again,
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks I had re-initializing the uart and it can be worked.