nxp-mcuxpresso/mcux-sdk

[BUG] LPSPI EDMA Send actual data length is not correct when sending large data

Opened this issue · 1 comments

Describe the bug

To Reproduce

  • Environment (please complete the following information):
    • Tag/Commit hash: SDK_2.14
    • Board/SoC: MIMXRT1021DAG5A
    • Example: cmsis_lpspi_edma_b2b_transfer_master
  • Steps to reproduce the behavior:
    I changed the LPSPI masterTxData array size , when the size is 31 * 1024, the data is sent correctly, when I change it to 32 * 1024, the data is not sent correctly.

The picture below is the LPSPI configuration
image
image

Expected behavior

Screenshots and console output

image
image

Additional context

Thank you very much for reporting this bug for us. We will fix it in next version. Thanks very much.