2025-02-05 4:54 AM
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
2025-04-02 8:44 AM - edited 2025-04-03 12:03 AM
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
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
2025-04-03 3:06 AM
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.