2024-07-09 06:24 AM
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:
After generating code, ADC file shows:
When I was investigating, found this comment in stm32u5xx_hal_adc.h file, ADC_AnalogWDGConfTypeDef structure definition:
After applying what is mentioned in the comment, watchdog works on both channels.
Please fix this configuration bug. Thanks.
2024-07-09 08:09 AM
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 :
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
2024-07-09 11:06 PM
Hi,
My OS is Windows 10 and I used update option.
2024-07-10 12:20 AM
2024-07-10 12:26 AM
It is shown here:
2024-07-10 12:32 AM
I checked and this happens without migration too.
2024-07-11 07:26 AM
Hi Ghofrane,
Can you please try this with ADC4.
2024-07-11 08:23 AM
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