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.

PROCESSOR-SDK-AM437X: SPI issue with pinmux

Part Number: PROCESSOR-SDK-AM437X

Hi experts,

for a custom board I want to enable SPI1 on AM437x platform using pins A16, D16, B14 and B13 (mode 2).
The HW used for this was already running on SPI0 at idkam437x, but I have problems to get the SPI1 interface activated.
SPI instance is enabled, mode 2 is assigned and SPI config settings of SPI0 and SPI1 (communication parameters) are identical.

Concerning the SPI1 it looks like there is some clocking or enabling missing to configure the pins in the right way.

I have already used the "on-the-fly" pin muxing by code without problems until now.

My (very basic) board init is like this:

    Board_initCfg boardCfg = BOARD_INIT_MODULE_CLOCK | BOARD_INIT_PINMUX_CONFIG | BOARD_INIT_UART_STDIO;

    /* board specific setup */
    Board_init(boardCfg);
 
    GPIO_init();

    SPI_init();
 
 ....
 
I know the pins I need to use are dedicated for MII/RMII "default" use, so I wonder if I need to enable there?
But if so, how?

Regards, Thomas