I2C DMA slave receiving arbitrary sized packets without using timer/polling?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-09 2:27 AM
I'm working with the STM32F405 microcontroller and I want to receive packets over slave I2C using DMA, but I don't know on beforehand how big the next packet is. Is this not possible to achieve this without using a timer/polling mechanism that keeps investigating the received data and DMAx_Streamy->NDTR to determine when the reception is finished? I was thinking that I could use the stop condition interrupt from the I2C-peripheral, but it doesn't seem to work in conjunction with DMA. Does anybody know of a solution?
Labels:
- Labels:
-
DMA
-
I2C
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
