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.

SPI interface for CC2531

Other Parts Discussed in Thread: CC2531

Dear Experts,

I'm using CC2531 in my project and I want to use two SPI interfaces simultaneously. Now which pins should I use?

If I use P0.2, P0.3, P0.4, P0.5 for one SPI & P1.4, P1.5, P1.6, P1.7 for other SPI will this configuration work simultaneously? 

or should I go for

 P0.2, P0.3, P0.4, P0.5 for one SPI & P1.2, P1.3, P1.4, P1.5 for other SPI?

Regards,

Muhammad Rehan.

  • Hi Muhammad,

    Your first suggestion should work. You are then using two separate modules. Your second option would require time multiplexing. It could still work, but you'd have to operate one interface at a time.

  • Dear Torbjorn,

    Thanks for your kind response.

    Regards,

    Muhammad Rehan.

  • Hi Torbjorn,

    There is something more I want to ask.

    1- Can I use separate LDOs or separate voltage sources (3.3V) to digital & analog power supplies for CC2531?

    i.e. I power up the AVDD pins from a 3.3V battery and DVDD pins from a separate 3.3V source? 

    2- Could you please suggest any battery operated ZigBee reference designs?

    Regards,

    Muhammad Rehan

  • Hi Muhammad,

    1) The DVDD and AVDD pins must be supplied with the same voltage level and our recommendation is to tie all these pins together to the same supply.

    2) Even though the CC2530EM board is designed to be plugged into the SmartRF05EB board you can use the same as a reference for a battery operated application. All our CC25xx devices are designed to be run directly from batteries.* You can also take a look at the ZLL remote design which runs off CR2025 coin cells.

    *That does not include LiIon cells as these will have an initial voltage outside the CC25xx operating range. In that case you would need a voltage regulator.


    Cheers,
    Fredrik

  • Hi Fredrik,

    Basically I want to use CC2531 in a wearable tracking product. This chip will be connected to a flash memory, some LEDs and a tiny OLED as its peripherals, hope it will work good. What do you say?

    The CC2531 USB Dongle device has two switches S1 & S2 on it. What is their purpose? 

    Regards,

    Muhammad Rehan.

  • Hi Muhammad,

    That should work fine!

    The switches on the dongle have different functionality in the various example projects. They are connected to GPIOs, so you can basically make them do whatever you want.

    Cheers,
    Fredrik