2017-01-11 04:57 PM
Upgrading from 4.17 to 4.18 has silently removed the selection of external triggers from ADC2 on an F303RE. Not only are the selections missing from the generated code, the option in the UI is missing as well.
Manually patching the generated 'main.c' file fixes the problem but it means that each time I regenerate the code I have to remember to hack it.
I would also question the operation of the EOCSelection field as the UI allows 'ADC_EOC_SINGLE_SEQ_CONV' to be chosen but the HAL code itself says '/*!< reserved for future use */'
#cubemx #adcSolved! Go to Solution.
2017-02-09 08:09 AM
Hello
Gilks.Robin
,
The issue you highlighted willl be fixed in the next release (CubeMX4.20).
BR. Eric
2017-01-13 06:14 AM
Hello
Gilks.Robin
,Your issue is reported internally to our CubeMx team for checking & come back to you.
Thank you for your feedback.
Regards
ImenD
2017-01-17 12:51 AM
Hello
Gilks.Robin
,Thanks for your post.
Regarding your first point towards the external triggers, you are right, this issue will be normally delivered in the next CubeMX release. It was a mistake.
For your second point regarding
ADC_EOC_SINGLE_SEQ_CONV, it is a feature possible on HW side but, since a couple of years, we did not findany use case in SW in the HAL driver. We use eitherADC_EOC_SINGLE_CONV orADC_EOC_SEQ_CONV. With your post, as this variable is not use, we decided to delete this variable. It will be as well available in the nextCubeMX release.
BR. Eric
2017-02-09 08:09 AM
Hello
Gilks.Robin
,
The issue you highlighted willl be fixed in the next release (CubeMX4.20).
BR. Eric