Example Code: C:\ti\pdk_am437x_1_0_16\packages\MyExampleProjects\MCSPI_Loopback_idkAM437x_armExampleProject
Same code is running okay if i run in internal loopback mode.
means :
/* Modify the default SPI configurations if necessary */
spi_cfg.chnCfg[spi_cfg.chNum].dataLineCommMode =MCSPI_DATA_LINE_COMM_MODE_4;
Message receiving:
McSPI Internal Loopback test app started
The Mode of transfer is Interrupt Mode
McSPI Data Transmission is successful
But I modified the code as below:
spi_cfg.chnCfg[spi_cfg.chNum].dataLineCommMode =MCSPI_DATA_LINE_COMM_MODE_1; and shorted the pins SPI0_DIN and SPI0_DOUT on TI IDK evaluation module as below
Then SPI communication fails as below:
McSPI Internal Loopback test app started
The Mode of transfer is Interrupt Mode
McSPI Data Transmission is Failed
can you please suggest , what's mistake am i doing?