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