Tool/software: TI-RTOS
hi
my own board is icev2AM335x.i want to embedded the program whose directory is "pdk_am335x_1_0_5\packages\ti\drv\spi\example\mcspiLoopbackApp\src"(windows)
what i do is add some code in the mcspiLoopbackApp\src
such as
boardCfg = BOARD_INIT_PINMUX_CONFIG |
BOARD_INIT_MODULE_CLOCK |
BOARD_INIT_UART_STDIO;
Board_init(boardCfg);
and use SPI1 single channel to transmit and recieve data
and short the pin spi_d0 and spi_d1
check the pinmux
check the register
write the CONTROL_MODULE Registers to set the pin mux mode
i have done anything what i supposed to do
but i cannot work as well when is start in the McSPIVerifyData
i check the mcspi_tx0 and mcspi_rx0
i found that mcspi_rx0 value is 0
so i think is the am335 support the loopback?
just short the spi1_d0 and spi_d1 ,does the spi1 master can transmit and recieve itself .
if it support ,please tell me what should i check to use the loopbackapp in icveam335x