2024-03-07 07:09 AM
Hi all,
just found an error preventing the adc from working properly when the driver is generated by STM32Cube FW_G4 V1.5.2 (and 1.5.1).
there are some missing lines like this one:
sConfig.Channel = ADC_CHANNEL_2;
you can compare my 2 attached files to see for yourself.
kind regards,
Yves
Solved! Go to Solution.
2024-03-07 08:00 AM
Unfortunately, I was unable to reproduce the problem with FW_G4 V1.5.2.
Could you please ensure that you have changed the channel name under Rank as bellow:
2024-03-07 07:20 AM
Hello @Yves Bmnt
Thank you for bringing this issue to our attention, I will check it internally and get back to you as soon as possible.
Thx
Souhaib
2024-03-07 07:35 AM
Maybe it can help, I had the ok file generated by STM32CubeMX V6.61 (using STM32Cube FW_G4 V1.5.1), and the ko file generated by STM32CubeMX V6.9.2 (using STM32Cube FW_G4 V1.5.2) so it probably doesn't come from the STM32Cube FW_G4, unlike mentioned in my previous post.
Yves
2024-03-07 08:00 AM
Unfortunately, I was unable to reproduce the problem with FW_G4 V1.5.2.
Could you please ensure that you have changed the channel name under Rank as bellow:
2024-03-07 08:17 AM
Thank you so much, I missed that when migrating the microcontroller!
Yves