- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a new hardware design using the CY8C6347BZI-BLD53. I'm trying to get the BLE to work using the simple 'find me' example, CE212736_PSoC6BLE_FindMe but I'm having issues trying to start the BLE component. When I call Cy_BLE_Start() from the CM0, it hangs in CyBle_RcbRegRead(), (see call stack in image below). I have external 32kHz and 32MHz crystals so I believe the hardware configuration should look very similar to the PSOC 6 dev kit. I'm not sure what this section of code is trying to do (all I get is the disassembly) so I'm having a hard time trying to figure out what is at fault. Any help or suggestions would be greatly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So my 32MHz ECO has an incorrect foot print. I was able to rotate the ECO and now everything appears to be working correctly. The altHF divider had no impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ray,
Is there any change you made on CE212736? If it is not, does that mean the code never reached line 53: if(apiResult == CY_BLE_SUCCESS)?
Can any other code example run your new HW design correctly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On the sample project, I removed all GPIO writes to LED's since they didn't match my hardware but other than that, it should be the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you enable Alt HF in your design and please set load cap values appropriate to the crystal you are using? I am assuming you do not have any external load caps on the board. If this still does not resolve the issue, try increasing the startup time of the crystal.
The Radio Controller block (RCB) requires ECO to be on and functional for the read to be successful. And it appears like there is some issue with ECO clock start up in your board/design.
Regards,
Meenakshi Sundaram R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I have the AltHF oscillator enabled on both my project and the example project. I am curious about the divider though. I noticed in the CE212736 project the divider is 4. I've tried both dividers of 4 and 1 and neither works. What is the correct setting?
So I assumed it was either the oscillators not starting or a power configuration. Power looks good so I'll look at the ECO. Thanks for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So my 32MHz ECO has an incorrect foot print. I was able to rotate the ECO and now everything appears to be working correctly. The altHF divider had no impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Divider setting does not matter for RCB or BLE operation
The AltHF divider is used to divide the ECO clock before it is passed to the FLL/PLL or HFCLK paths.
Good to hear that you were able to get to the root cause and have the project working
Regards,
Meenakshi Sundaram R