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: TIDA-00096 how to change Pin configuration

Part Number: CC2541
Other Parts Discussed in Thread: TIDA-00096,

Hi,

I am trying to adapt the firmware from TIDA-00096 to my own Hardware and I am using different pins on the CC2541. I tried to find and change everything related to it, but I am running into problems. I think something gets reconfigured somewhere after "ecg_init" and/or the interrupts for DRDYB doesn't work or interrupts get disabled altogether.

Could you please give me a quick guide to what exactly I have to change to adapt the code to different pins for the SPI, DRDYB, ALARMB, the switch (only one and function isn't important for now) and the LED.

Thanks

Sebastian Salmhofer

  • Hi Sebastian,

    You need to identify where your GPIO register settings are changed (if they are). You should of course also make sure you follow the guidelines for configuring the GPIOs outlined in the CC253x/4x User´s Guide.

    Cheers,
    Fredrik