- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to use the in-built Brown out reset circuit in ble.IS psoc4 ble provides this feature.if so how to use this one.
I want to reset the ble when brown out occurs.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use a CommonSignal component connected to an isr. There are some APIs for power management documented in "System Reference Guide" (from Creator Help).
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The CySoftwareReset() API forces the PSoC to reboot. Thus the BLE radio gets reset too.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.