cancel
Showing results for 
Search instead for 
Did you mean: 

SPI with Very Strong Drive on SPC572L64

Larsa
Associate III

We used to have that working but now can only used weak or medium drive on the SPI pins (SCK & SOUT).

Pin mapper or manual editing of the board.c file only gives us weak (0) or medium drive(1)

{(int16_t)MSCR_IO_INDEX(PORT_D, SCK_4), PAL_LOW, (iomode_t)PAL_SPC5_SSS(2) | PAL_SPC5_OERC(3) | PAL_SPC5_SMC | PAL_SPC5_ODC(2) | PAL_SPC5_ILS(0) | PAL_SPC5_IBE},

 

Any tips on how to fix this

2 REPLIES 2
Larsa
Associate III

Do we have any updates on this subject..

We are still having the problem of the SPI bus only working in medium drive configuration and hence limits us to < 2Mbit/s

SPI SCK very strong drive.png

SPI SCK very strong drive RLA.png

As can be seen in picture above, we have the Output set to Very Strong Drive, but still only get a medium drive output waveform

Larsa
Associate III

And to explain it a bit more:

If we select weak             (OERC 0) drive we get weak drive (slow rise/fall time)  

If we select Medium        (OERC 1) drive we get medium drive (medium rise/fall time)  

If we select Strong          (OERC 2) drive we get weak drive (slow rise/fall time)  

If we select Very Strong  (OERC 3) drive we get medium drive (medium rise/fall time)  

This was not a issue a couple of years ago, something must be lost in translation.

DSPI is working but we are limited to < 2 Mbit due to the slow riis/fall times on SCK + MOSI and we realy need to get this working at full speed ASAP.