hi David,
Thanks for your reply.
but I am using eDMA to fill the slave TxFIFO, and the issue is still happen.
the issue can be reproduce as below:
1. master work at 5MHz, and keep clocking SCK of 32 bytes frame, with continuous CS asserted (CS deasserted between frames).
2. slave(MPC5746C) set the eDMA to transfer 10 bytes to DSPI, then set 25 bytes in eDMA completed ISR.
this is to make sure there is a DSPI underflow occured in one 32 bytes reading frame.
3. the certain byte between 32 bytes frame is always missed.
for example,
MPC5746C first transfer:
01 02 03 04 05 06 07 08 09 0A (10 bytes, in first 32 bytes frame of master)
before eDMA start second transfer, underflow happen:
0A 0A 0A (3 bytes, in first 32 bytes frame of master)
MPC5746C response eDMA completed ISR and start second transfer:
0B 0C 0D ~~~~~~ 1D 1F 20 (19 bytes in first 32 bytes frame of master, CS deasserted, 2 bytes in second 32 bytes frame)
the "1E" is missed, which should be the first byte in second 32 bytes frame.
/WX