2018-07-09 3:32 AM
STM32Cube V1.0 / Version 4.0
It does this:
LL_ADC_REG_SetSequencerRanks(ADC1,
1
, LL_ADC_CHANNEL_TEMPSENSOR);Should be
:
LL_ADC_REG_SetSequencerRanks(ADC1,
LL_ADC_REG_RANK_1
, LL_ADC_CHANNEL_TEMPSENSOR);Fix:
Insert in 'ADC-STM32F1xx_DefMapping.xml'
the following lines at the end of the file before </HALvsLL>:
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_1' Type='RefParameter' Value='1'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_2' Type='RefParameter' Value='2'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_3' Type='RefParameter' Value='3'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_4' Type='RefParameter' Value='4'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_5' Type='RefParameter' Value='5'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_6' Type='RefParameter' Value='6'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_7' Type='RefParameter' Value='7'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_8' Type='RefParameter' Value='8'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_9' Type='RefParameter' Value='9'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_10' Type='RefParameter' Value='10'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_11' Type='RefParameter' Value='11'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_12' Type='RefParameter' Value='12'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_13' Type='RefParameter' Value='13'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_14' Type='RefParameter' Value='14'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_15' Type='RefParameter' Value='15'/>
<Item Name='Rank' NewName='Rank' NewValue='LL_ADC_REG_RANK_16' Type='RefParameter' Value='16'/>
</HALvsLL>
�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?
'ADC-STM32F1xx_DefMapping.xml'
is located:
'Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeMX\db\mcu\config\llConfig\'.
#mx_adcx_init #ll_adc_reg_rank_x #ll_adc_reg_setsequencerranks #adc #stm32f1xx2018-07-10 5:05 AM
Hi
tutralex
,Thanks for your feedback.
This issue will be fixed next release.
Please do not hesitate to contact me for further details.
Thanks and regards,
Mohamed
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.