STM32F405 I2S3 problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-02-17 8:58 AM
Posted on February 17, 2016 at 17:58
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-dma
Labels:
- Labels:
-
I2S
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-02-17 10:45 AM
Posted on February 17, 2016 at 19:45
Found the error, wrong buffer size for the DMA receive. That caused all the problems.
SorryFernando