Solved
Bug in LL_ADC_REG_SetSequencerRanks() at stm32h7xx_ll_adc.h
For Channel=5 and Rank=1 the result is ADC_SQR1=0xA (incorrect).
Should be 0x140.
For Channel=5 and Rank=1 the result is ADC_SQR1=0xA (incorrect).
Should be 0x140.
Dear Kaouthar,
Thank you for your support.
The issue was on my side.
Of course, I modified the structure element (in main.c) by hand and did not realize that the Rank=1 corresponds to:
sConfig.Rank = ADC_REGULAR_RANK_1;
but not:
sConfig.Rank = 1;
Best regards,
Fedor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.