2016-02-17 08:58 AM
Hello,
I'm having a problem after enabling I2S3 in master receive mode, for aquiring data from a mems mic.After calling HAL_I2S_Receive_DMA(), all other DMAs go to RESET state (all of them were READY).I tracked down the problem, and this happens after: /* Enable Rx DMA Request */ hi2s->Instance->CR2 |= SPI_CR2_RXDMAEN;is executed (in HAL_I2S_Receive_DMA() function).Anyone knows why this happens, or what am I doing wrong?Thank you to all.Regards. #stm32-i2s-dma2016-02-17 10:45 AM
Found the error, wrong buffer size for the DMA receive. That caused all the problems.
SorryFernando