2020-04-29 01:46 PM
In the ref man RM0432 Rev 6 the ADC_CCR have used bits in the lower half.
In the file stm32l4r5xx.h from stm32cube_fw_l4_v1151 these bits are not defined.
They are defined in the files of MCU of the same familly: stm32l4p5xx.h
Have I damaged my files?
Are the ADCs different between L4R/L4S and L4P ?
Solved! Go to Solution.
2020-04-29 03:09 PM
The bits in lower part of ADC_CCR are all related to dual mode.
As table Main ADC features in ADC implementation subchapter says, ADC2 and thus Dual mode is Available only on STM32L4Q5xx and STM32L4P5xx.
That's why those bits are not implemented in 'L4Rx/L4Sx.
JW
2020-04-29 03:09 PM
The bits in lower part of ADC_CCR are all related to dual mode.
As table Main ADC features in ADC implementation subchapter says, ADC2 and thus Dual mode is Available only on STM32L4Q5xx and STM32L4P5xx.
That's why those bits are not implemented in 'L4Rx/L4Sx.
JW
2020-04-30 02:17 AM
Thank you so much.
As I work on the 2 families, this detail escaped me.
One more #ifdef in the code...