TxDMA on STM32F4 hangs
I’m not using Cube but my own HAL. My ethernet module becomes “mute”: DMA transmission stops and I’m unable to recover. I have setup a break point inside the interrupt handler, the portion processing abnormal interrupt or AIS(15) bit in DMASR. The cause of AIS is a fatal bus error status FBES(13), the value of error bits status EBS(25:23) bits is 3. I was unable to find ANY code anywhere to see how to deal with this event.
The test program I’m running is just receives frames with my mac address and echoes the back to sender. No protocols, just raw echo. Wireshark is monitoring.
When incomming traffic is in kHz this event happens. If below - no problem. The working theory is whenever incoming frame is received during TxDMA in progress it gets stopped...forever.
Thanks in advance,