cancel
Showing results for 
Search instead for 
Did you mean: 

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

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.

1 REPLY 1
Sarra.S
ST Employee

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  

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.