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.

Need to build HIDAdvRemote project for cc2540 chipset (not default of cc2541)

Other Parts Discussed in Thread: CC2541, CC2540

Hi,

We have done significant developing of a project using the HIDAdvRemote as framework.  We now see the need to increase the transmit power of the remote to 4dB from the default power of 0dB.  This is not possible with the cc2541 chip which the HIDAdvRemote is built for.  Therefore we are asking if anyone has a project which has modified the HIDAdvRemote to work with cc2540, or if TI has this project available, perhaps in a latest release or beta version.  The stack we are using is the BLE-CC254x-1.3.2. 

Thank you

  • Hi Jeff,

    I think it's only a matter of changing some pre-processors and linker file. You should be able to figure it out by comparing CC2541 and CC2540 builds of simpleBLEPeripheral for example.

    Best Regards

    Joakim

  • Joakim,

    thank you for the response.  per your recommendation I have used the config for the cc2540 from the simpleBLEperipheral in my HIDAdvRemote project.  In doing so I get difference behavior from the onboard components, including one of the LEDs which stays on indefinitely.  Disregarding the specifics of my issue, can you comment on whether my source code requires any changes?  I noticed from the difference in the datasheet that I2C is used in the cc2541 and USB in the cc2540, I commented out the I2C code because I am not using the hall and motion sensors, so this should not be an issue, unless I am misunderstanding.  Another concern of mine is that the cc2540 chip that we purchased has the blues radio stack installed instead of the TI bluetooth stack, will this cause issues for me - I know that the blues radio devices come with a bootloader, is this possibly causing the odd behavior that I am seeing.  Thank you