cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX generates call for HAL_ADCEx_MultiModeConfigChannel for slave channels

alexander2399
Associate II
Posted on October 07, 2014 at 17:38

Hello,

Basically everything is said in the title. I have the latest version of CubeMX and program STM32F3-Discovery with STM32F303VC. CubeMX generates this block

  multimode.Mode = ADC_DUALMODE_REGSIMULT;

  multimode.DMAAccessMode = ADC_DMAACCESSMODE_12_10_BITS;

  multimode.TwoSamplingDelay = ADC_TWOSAMPLINGDELAY_1CYCLE;

  HAL_ADCEx_MultiModeConfigChannel(&hadc2, &multimode);

for ADC2 and ADC4 and then fails assert.

Thanks.

#stm32cubemx-stm32f303vc
2 REPLIES 2
stm32cube-t
Senior III
Posted on October 14, 2014 at 17:02

Hello,

Could you please provide STM32CubeMX .ioc file for your configuration.

Thank you

alexander2399
Associate II
Posted on October 27, 2014 at 14:30

Please see attached...

Another thing - ''Continuous Conversion Mode'' is disabled for ADC masters (ADC1 and ADC3), and so should be disabled for slaves as well, but CubeMX has only ''Enabled'' choice for slaves.

Thanks.

________________

Attachments :

CubeMX_NEW.ioc : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzN3&d=%2Fa%2F0X0000000bN7%2F.9CZEKxs4jXVTcf9EvtePkLfJ0aEMJrG189ZZOeVO04&asPdf=false