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.

TMDSEVM572X: McSPI Master unable to transmit data

Part Number: TMDSEVM572X


HI,

I am using EVM AM572x with McSPI3 mater mode (Pin multiplexing used with IOSET 4), following are the PinMux Configuration and SPI Mater Mode configuration:

PinMux Configuration:

/*CTRL_MODULE_CORE_CTRL_CORE_PAD_MCASP4_ACLKX   Pin mux configured as SPI clock with slew control and receive disabled*/

*(volatile uint32_t *) 0x4A003734 = 0x00080002;

/*CTRL_MODULE_CORE_CTRL_CORE_PAD_MCASP4_FSX   Pin mux configured as SPI Data 1 with slew control and receive enabled SPI Data in MISO*/

*(volatile uint32_t *) 0x4A003738 = 0x000C0002;

/*CTRL_MODULE_CORE_CTRL_CORE_PAD_MCASP4_AXR0   Pin mux configured as SPI Data 0 with slew control and receive Dsiabled SPI Data out MOSI*/

*(volatile uint32_t *) 0x4A00373C = 0x00080002;

/*CTRL_MODULE_CORE_CTRL_CORE_PAD_MCASP4_AXR1   Pin mux configured as SPI CS[0] with slew control and receive Dsiabled SPI Chip select*/

*(volatile uint32_t *) 0x4A003740 = 0x00080002;

/* SPI Configurtion */

*(volatile uint32_t *) 0x480B8110 = 0x00000308;
*(volatile uint32_t *) 0x480B8124 = 0x00000201;
*(volatile uint32_t *) 0x480B8128 = 0x00000001;
*(volatile uint32_t *) 0x480B812C = 0x000603C0;
*(volatile uint32_t *) 0x480B8118 = 0xFFFFFFFF;
*(volatile uint32_t *) 0x480B8134 = 0x00000001;

when i triggrer the SPI transfer by writing MCSPI_TXx (0x480B8138) , i am unable to initiate SPi transmit i do not see any clock generating on SPI CLK Pin. Can you suggest where am i going wrong?