2024-03-07 7: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 8: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:
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.
2024-03-07 7: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
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.
2024-03-07 7: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 8: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:
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.
2024-03-07 8:17 AM
Thank you so much, I missed that when migrating the microcontroller!
Yves