analogdevicesinc / msdk

Software Development Kit for Analog Device's MAX-series microcontrollers
Apache License 2.0
60 stars 75 forks source link

MAX32690 / ME18 - SPI DMA Bug (SPI2, 3, 4) #935

Closed BrentK-ADI closed 4 months ago

BrentK-ADI commented 4 months ago

There is a bug in the MXC_SPI_MasterTransactionDMA function for ME18 (spi_me18.c) where the RX DMA request ID is assigned to the Tx selection. This looks to be a copy and paste error, and present for SPI2, SPI3 and SPI4 only.

https://github.com/analogdevicesinc/msdk/blob/47ac9e535d29921286969f6e486b673ee6ff9d56/Libraries/PeriphDrivers/Source/SPI/spi_me18.c#L418