AnsweredAssumed Answered

Bug: tx buffers should be const in fsl_dspi

Question asked by Dave Nadler on Jul 25, 2020
Latest reply on Jul 28, 2020 by Dave Nadler

Using SDK2.8, MCUXpresso 11.2, Kinetis K64F

Lots of applications (like ours) will send SPI data from const structures (ie flash), so...

tx buffer pointers need to be const (and probably volatile is not required).
Please fix:
fsl_dspi.h (typdef/structs dspi_transfer_t, _dspi_master_handle, _dspi_slave_handle)
fsl_dspi.c (function DSPI_MasterTransferBlocking)

Best Regards, Dave


PS: Fixes attached.