This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2541 radio does not appear to be transmitting

Other Parts Discussed in Thread: CC2541, CC2540

Hi there, I am bringing up our new radio board, which includes the CC2541 128. I have the debugger wired into a header on the board and can download my program and step through it, so things seem okay at that point and the BLE stack claims it is advertising. However, I am not seeing any advertisements from my iOS app. The BLE app was initially developed on the CC2540 and worked fine.  Apparently there are differences in the BLE implementations between the 2540 and 2541 so I believe i have updated the BLE library correctly (to CC2541_BLE_peri.lib), added a CC2541 flag to the buildConfig.cfg preprocessor file , and updated the debugger ddf for the 2541. Is there anything else I need to do? Looking at the other 2541 files, I am not seeing any differences.  I do notice the linker file is using a 2540 file for other example projects such as the key fob app. Is this okay?  Anything else to change? And if not, is there a way for me to get a better idea of the radio transmit status in the case that this a board problem?

 thanks!

  -Tyler

  • Does your board have the 32kHz crystal on it? This is required for running BLE with power management enabled.

    Aside from that, you also need to change the device in the IAR project "General Options" from CC2540 to CC2541. I'm not sure what else could cause issues, but rather than trying to change a CC2540 project to work with CC2541 you might be better off porting your code into one of our existing CC2541 projects and then changing the files to build the project.

  • yes it does have the 32kHz clock on there. And I have the project set to CC2541 as well. I tried getting the simpleBLEbroadcaster app running but same deal, no BLE radio advertising although the app believes it is advertising. I am going to do some more debug with the board designer. 

  • comparing our board design to the CC2541 ref design, we seem to have a wrong crystal frequency for one of the crystals, we are looking to replace it on the board. In the meantime I am going to try to find the PLL code if it is not hidden in the BLE stack library.

  • I  am trying to dig into the radio module status while waiting for a board rework.  Can I actually read the registers corresponding to this?

    RFSTAT, x618D reads as zero on my working application on the 2540 key fob. I would expect at least bit 2/PLL_Lock to be be set.