-
1. Re: Brown Out Reset in BLE
bob.marlowe Feb 13, 2018 4:33 AM (in response to venu82450_3009436)Use a CommonSignal component connected to an isr. There are some APIs for power management documented in "System Reference Guide" (from Creator Help).
Bob
-
2. Re: Brown Out Reset in BLE
venu82450_3009436 Feb 13, 2018 5:22 AM (in response to bob.marlowe)HI,
you mean CommonSignal component or Global signal reference component.
If it is Global signal reference component.,then i connected with isr. and i selected PWRinit in the Global signal.
But It is for Low voltage Detection,after detection of low voltage i want to reset the ble chip i.e, brown out reset
shoulb be triggered.
.
-
3. Re: Brown Out Reset in BLE
e.pratt_1639216 Feb 13, 2018 7:52 AM (in response to venu82450_3009436)You will need to use the function CySysLvdEnable(uint32 threshold) to set the voltage threshold, and using this combined with the Global SIgnal reference component set to PWRinit should fire the interrupt connected to the Global Signal Reference Component when the software detects a low voltage threshold level trip. You will also need to handle the interrupt generated from that, but that should be simpler to figure out.
-
4. Re: Brown Out Reset in BLE
venu82450_3009436 Feb 14, 2018 8:40 PM (in response to e.pratt_1639216)Thanks for ur reply
I am able to generate the interrupt for LVD.But i want to reset the ble when i get the lvd interrupt.
is CySoftwareReset(); API resetes the ble chip or not?
is there any other API to reset the BLE chip.
Thanks in advance.
-
5. Re: Brown Out Reset in BLE
bob.marlowe Feb 15, 2018 2:53 AM (in response to venu82450_3009436)The CySoftwareReset() API forces the PSoC to reboot. Thus the BLE radio gets reset too.
Bob
-
6. Re: Brown Out Reset in BLE
e.pratt_1639216 Feb 15, 2018 8:04 AM (in response to bob.marlowe)You can also manually stop/start the BLE radio too if you don't want to reset the whole processor/application, but CySoftwareReset() is the simplest solution.