2022-10-08 05:26 AM
With CubeIDE 1.10.1, CubeMX 6.61 and CubeFW_F0 1.11.3 (but is also true with previous version up to 2 years old), the value you key in into the 'Low threshold value' field of the ADC is not recorded. Thats a GUI issue.
Then In the adc.c file generated by Cube, value is badly specified.
You have to manually edit adc.c to set required value and not forget to do it every time you regenerate the project with cubeMX.
Otherwise, the two threshold are operational.
Solved! Go to Solution.
2022-10-10 06:03 AM
Hi @AIM65,
Reviewing the RM0360, I confirm that value of Low threshold can be between 0x000 and 0xfff.
I let our STM32CubeMX expert @Semer CHERNI do the needed to fix the issue on tool side.
Kaouthar
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.
2022-10-10 06:03 AM
Hi @AIM65,
Reviewing the RM0360, I confirm that value of Low threshold can be between 0x000 and 0xfff.
I let our STM32CubeMX expert @Semer CHERNI do the needed to fix the issue on tool side.
Kaouthar
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.
2022-10-11 06:07 AM
Hi @AIM65 @KDJEM.1
Thank you for your contributions and for your detailed explanations,
I confirm the issue on my side, it has been reported to STM32CubeMX development team.
Internal ticket number: 136494 (This is an internal tracking number and is not accessible or usable by customers).
I will keep you posted with updates.
kind Regards,
Ghofrane