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)
Thanks!
Best Regards, Dave
PS: Fixes attached.