- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My design have 1 tact switch which control the devices Power On/OFF.
So I need turn on and off BLE function too. But only first time works.
I imported Cypress official project BLE_FineMe to this device.
Then add following code just after original BLE start code.
apiResult = CyBle_Start(StackEventHandler); /* original BLE_Start */
CyBle_Stop(); /* added */
apiResult = CyBle_Start(StackEventHandler); /* added */
Using debugger I observed first CyBLE_Start executed and reached to next line.
But second time never come back from the function, never reach to next line.
I attached project file. Please help how can I solve this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please ensure that the ECO circuit is connected properly. Refer PSoC 4 BLE device datasheet and follow the ECO schematic accordingly.
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We used the same project you attached and we are able to run successfully on the kit CY8CKIT-042-BLE. Please find the attached image.
If you have CY8CKIT-042-BLE please try with that kit and see if you are seeing the issue and update us. Because there may be issue with the schematic design too. In case you are seeing the issue with your custom board but not your development kit, please attach the schematic here for us to review.
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ganesh,
I think CY8CKIT-042-BLE is using CY8C4247LQI-BL483. Which is 1 generation older than CY8C4248LQI-BL553.
I moved from CYBLE-224110-00since the module become discontinue.
I guess this module is same generation as CY8C4247LQI-BL483 and at that time the project works without issues.
But after imported to CY8C4248LQI-BL553 then noticed several unstable behaviors. This is one of them.
Could you test with exactly same IC?
If need I can share my schematic design but can not share on public.
Thanks,
Aki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please ensure that the ECO circuit is connected properly. Refer PSoC 4 BLE device datasheet and follow the ECO schematic accordingly.
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ganesh,
I removed capacitors from ECO make it BLE restart work... didn't notice C1,C2 are not required for Crystal.
Thanks,
Aki