Skip to main content
Visitor II
April 8, 2025
Question

STM32G0B0 DMA1 channel 6/7 work but no INT firing, DMA2- channel1 to 7 not work at all

  • April 8, 2025
  • 1 reply
  • 279 views

I tried to use STM32G0B0 DMA1-1/2 for I2C1, DMA1-3/4 for USART1, DMA1-5/6 for I2C2. Channel 1 to 5 work properly. Channel 6 (I2C2-TX) works but TC INT doesn't fire. I tried switch I2C2 -TX from channel 6 to channel 7 or to DMA2- channel1 to 7, none works. Also, I found DMA1-6/7 works without INT firing only, but DMA2 not work at all. It seems STM32G0B0 equipped with STM32G030 which has 5 channels of DMA.

    This topic has been closed for replies.

    1 reply

    ST Employee
    April 16, 2025

    Hello @HankYang-Grerystone

    This is the DMA availability for STM32G0B0: DMA2 has 5 channels: 

    SarraS_0-1744800336191.png

    If switching I2C2-TX from channel 6 to channel 7 or to any channel in DMA2 does not work, and you didn't manage to successfully use DMA2, maybe it's DMA configuration issue