2025-04-08 6:17 AM
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.
2025-04-16 3:56 AM
Hello @HankYang-Grerystone,
This is the DMA availability for STM32G0B0: DMA2 has 5 channels:
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.