- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to set up CE217639 Heart Rate Client, and Heart Rate Server examples.
Only modification is I changed the Device to CY8C6347BZI-BLD54. When I run either example it gets stuck on Cy_BLE_Start(NULL); in main_cm0p.c
Chasing it down it goes into BLE.c, and gets stuck on the function apiResult = Cy_BLE_Enable();
This goes to cy_ble.c and gets stuck in apiResult = Cy_BLE_StackInit(&stackInitParam);
I have also tried CE217643 BLE Temperature Measurement and it gets stuck in the same place.
Any ideas why these examples are not working for me?
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Tags:
- ble
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please refer to the PSoC 63 device example schematic on page number 36 of the PSoC 63 family device datasheet and compare it with your schematic.
https://www.cypress.com/file/385921/download
1. The VDCDC power supply should be connected to VDDR1, VDDR2, and VDDR3.
2. The decoupling capacitors present on the various power pins are not according to the PSoC 63 device reference schematic.
Please make these changes and I am sure that you will not see any issue after that!
Thanks and regards
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are you running the projects on your custom board? If yes, can you please attach the board schematic?
We have tested the server and Client code examples on the development kits and found that that the code examples are running fine. Please find the attached images.
Also, can you please check running other code examples like BLE_FindMe on the board and see if you are facing the same issue?
Thanks and regards
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ganesh,
I tried running the BLE_FindMe and it gets stuck at the same place.
I attached the schematic for the power supply. The GPIO are connected to another chip, but none are doing anything.
I tried using the Creator debugger and stepped through the code, but weirdly when I try to step in to the function apiResult = Cy_BLE_StackInit(&stackInitParam); in cy_ble.c it still skips over it, so I can't get any more detail as to where exactly it is breaking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please refer to the PSoC 63 device example schematic on page number 36 of the PSoC 63 family device datasheet and compare it with your schematic.
https://www.cypress.com/file/385921/download
1. The VDCDC power supply should be connected to VDDR1, VDDR2, and VDDR3.
2. The decoupling capacitors present on the various power pins are not according to the PSoC 63 device reference schematic.
Please make these changes and I am sure that you will not see any issue after that!
Thanks and regards
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! Good catch!