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.

RTOS/CC2642R: MISO signals have different low or high state after transferring was done

Part Number: CC2642R

Tool/software: TI-RTOS

Hi TI experts,

SPI communication using TI-RTOS base driver is done with BLOCKING mode along with SPO and SPH have 1 respectively.

By the way, after 4 frames with 16-bit data size @1Mhz speed got done, MISO signals have the below things.

after the 1st frame transferring is done, MISO line has low state, but from 2nd frame, one time has high, another time has low state.

my implementation is based on SDK simplelink_cc26x2_sdk_2_20_00_36.

/* SPI Board */
#define CC26X2R1_SATELLITE_SPI0_MISO             IOID_8          /* RF1.20 */
#define CC26X2R1_SATELLITE_SPI0_MOSI             IOID_9          /* RF1.18 */
#define CC26X2R1_SATELLITE_SPI0_CLK              IOID_11         /* RF1.16 */
#define CC26X2R1_SATELLITE_SPI0_CSN              PIN_UNASSIGNED

const PIN_Config BoardGpioInitTable[] = {

    CC26X2R1_SATELLITE_SPI0_MISO | PIN_INPUT_EN | PIN_PULLUP,   /* SPI master out - slave in */                      
    CC26X2R1_SATELLITE_SPI0_MOSI | PIN_INPUT_EN | PIN_PULLUP,   /* SPI master in - slave out */                       
    CC26X2R1_SATELLITE_SPI0_CLK  | PIN_INPUT_EN | PIN_PULLUP,   /* SPI clock */                     
    //CC26X2R1_SATELLITE_SPI0_CSN  | PIN_INPUT_EN | PIN_PULLUP,   /* SPI chip select */            

    PIN_TERMINATE
};

The below signals show that MISO line has low state after transferring got done.

The below signals show that MISO line has high state after transferring got done.

Is it normal?

Thanks,

Ji-won Lee

  • Helo Ji-won,

    I do not see a problem with this, as those pins should be in HIGH-Z state after the transaction is done. This could mean that the slave device might be pulling them up or down, but from the CC264X device they should be in HIGH-Z state and not affect you at all.

    Regards,
    AB