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.

AM2432: MCSPI

Part Number: AM2432

Hi Team,

My customer has a question as below about MCSPI.

The MCSPI master mode has a Single-data-pin interface mode.
The manual says that this mode can be set to Receive/Transmit mode by 1/2/3[13-12]TRM.
Is it possible to dynamically change the setting and switch between Receive and Transmit?
We are thinking of using a single-data-pin interface mode to dynamically switch between Receive and Transmit modes.

Also, we are thinking of using the AM243x MCU+SDK MCSPI driver (mcspi_v0.c) to achieve this operation.
The manual says that MCSPI_transfer() in the MCSPI driver API always performs full-duplex communication, but is it possible to configure it to perform half-duplex communication?

Best regards,
Mari Tsunoda

  • Hi Mari,

    According to 12.1.4.2.4 MCSPI in Master Mode and 12.1.4.2.5 MCSPI in Slave Mode in TRM The MCSPI master single mode is receive only and the MCSPI slave single mode is transmit only. If you want to do the half duplex and switch between the RX/TX dynamically, you will have to switch between the master and slave mode dynamically. I do not think it is efficient way to use MCSPI.

    Best regards,

    Ming