cancel
Showing results for 
Search instead for 
Did you mean: 

Analog watchdog configuration bug

S-E
Associate II

Hi,

I have a project on Nucleo board with STM32U575ZIT6Q. I'm using STM32CubeIDE version 1.16.0 and CubeMX version 6.12.0. My .c and .h files are generated separately per peripheral.

I was faced with an issue that watchdog works only with one channel.

My analog watchdog settings:

aw.PNG

After generating code, ADC file shows:

conf.PNG

When I was investigating, found this comment in stm32u5xx_hal_adc.h file, ADC_AnalogWDGConfTypeDef structure definition:

ch.PNG

After applying what is mentioned in the comment, watchdog works on both channels.

Please fix this configuration bug. Thanks.

 

7 REPLIES 7
Ghofrane GSOURI
ST Employee

Hello @S-E 

First let me thank you for posting.

After using CubeMX 6.12.0 and try to reproduce the issue mentioned above , this is what I got  after generating the code :

GhofraneGSOURI_0-1720537268785.png

GhofraneGSOURI_1-1720537353330.png

I am sharing with you my IOC 

Would you mind sharing your OS and indicating if you have installed CubeMX 6.12.0 from the ST official site or used the update option?

THX

Ghofrane

 
 
 
 

 

 

Hi,

My OS is Windows 10 and I used update option.

Hello @S-E 

What was the previous version that you updated?

THX

Ghofrane

It is shown here:

migration.PNG

 

 

S-E
Associate II

I checked and this happens without migration too.

Hi Ghofrane,

Can you please try this with ADC4. 

Hello @S-E 

Yes, the problem has been reproduced with ADC4.

Internal ticket number: 186382(This is an internal tracking number and is not accessible or usable by customers).

I will keep you posted with updates.

THX

Ghofrane