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.

RM42L432 SPI test

Other Parts Discussed in Thread: RM42L432, HALCOGEN

Hi everyone,

I am testing the SPI performance of RM42L432.  

Complier: IAR.

SPI mode: normal SPI (Not MibSPI).

The detail code is attached below.

As the figure shown below, we found the minimum TX interval of SPI is about 2us. Is it the limitation of the MCU? How can we shorten the TX interval of SPI?

Will the MibSPI be better?

Channel 4: SPI_CLK

Channel 1: SPI_SIMO

Channel 3: SPI_CS

8233.IAR_RM42_test.zip

  • Geng,

    You should be able to go faster.

    Certainly - using the HalCoGen block transfer API for a single transfer carries overhead.

    I don't know if you turned on optimization or not - but that could be a factor.

    But most important, if you use the "MIB" SPI (you do not have the SPI configured for MIB mode)
    then the multibuffer unit will minimize the latency between transfers for you.
    If that is your primary care-about then what I would do is turn on the MIB unit.