Skip to main content
Associate
July 21, 2023
Solved

ADC External trigger from GPIO

Hi!

MCU: STM32U575CIT


My goal is to use ADC1 and trigger it from external source. 
In CubeMX I select one regular channel and set Conversion trigger to Regular Conversion trigger.
What happens next is BOTH ADC_EXTI15 and ADC_EXTI11 are activated, and I can choose one of them in external trigger source.

My problem: I don't want to use both EXTI pins. Any way I can activate only one of them(for example EXTI15) and left EXTI11 in reset state?

This topic has been closed for replies.
GwenoleBBest answer
ST Employee
July 21, 2023

Hello  @Next,

This is indeed a bug in our CubeMX generator. I report it internally to fix it.
You can de-init the GPIO you are not interested in is the source code.

Best Regards,

Gwénolé

2 replies

GwenoleBBest answer
ST Employee
July 21, 2023

Hello  @Next,

This is indeed a bug in our CubeMX generator. I report it internally to fix it.
You can de-init the GPIO you are not interested in is the source code.

Best Regards,

Gwénolé

NextAuthor
Associate
July 21, 2023

Thank you. 
Any ETA when it will be fixed?