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.

CC2538 SPI

Other Parts Discussed in Thread: CC2538

Hi All,


I am searching SPI pins in CC2538  but i am not able to find the SPI in CC2538.It has SSI pin should we use SSI pins for SPI?

SPI avaiable in CC2538 if so please help me

  • Hi,

    I can confirm SPI is also supported.   However, I would confirm exactly which pins by posting to the device/low power wireless forum.  My suspicion is actually the JTAG TX RX might be the ones used but please ask there.

    Best Regards,

    Lisa

  • Hi Folks,

    We are working on CC2538,while designing our own board I have few doubts on it,

    1.Can we use any GPIO for Peripherals for example SPI Pins i.e., SPI_SS,SPI_SCK,SPI_MOSI, SPI_MISO to PB2,PB3 PB4 and PB4 respectively.

    Assuming

    SPI_SS = SSI_CLK

    SPI_SCK = SSI_SEL

    SPI_MOSI = SSI_TXD

     SPI_MISO = SSI_RXD

    Or it is mandatory to assign SPI pins to SSI_CLK (PA2),SSI_SEL(PA3) ,SSI_RXD(PA4) AND SSI_TXD(PA5).if this is the case I cant use ADC pins of cc2538 when I using this pins for SPI

  • H,



    Assuming

    SPI_SS = SSI_CLK

    SPI_SCK = SSI_SEL

    SPI_MOSI = SSI_TXD

     SPI_MISO = SSI_RXD


    Correction:

    SPI_SS = SSI_SEL

    SPI_SCK = SSI_CLK

    Or it is mandatory to assign SPI pins to SSI_CLK (PA2),SSI_SEL(PA3) ,SSI_RXD(PA4) AND SSI_TXD(PA5)


    Its always better to use hardware SPI; please check whether software SPI library is available for your device. If available then those can be assigned to any GPIOs, if not then you'll have to stick to the hardware ones.

    Regards,

    Gautam