Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6

RyWi_4724536
New Contributor II

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?

 

0 Likes
1 Solution
VenkataD_41
Moderator
Moderator

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

View solution in original post

0 Likes
4 Replies
VenkataD_41
Moderator
Moderator

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

0 Likes
RyWi_4724536
New Contributor II

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.

0 Likes
VenkataD_41
Moderator
Moderator

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

View solution in original post

0 Likes
RyWi_4724536
New Contributor II

Thank you! Good catch!

0 Likes
Top labels