cancel
Showing results for 
Search instead for 
Did you mean: 

Some problems in STM32CubeMX Version 4.25.1

op3 op3
Associate II
Posted on May 24, 2018 at 09:10

Extra line  Rank 1

and the code is generated the same

ADC3 stopped working

How to fix the problem?

#stm32cubemx #adc3 #stm32cubemx-4.25.1
1 ACCEPTED SOLUTION

Accepted Solutions
Houda GHABRI
ST Employee
Posted on May 28, 2018 at 11:21

Hi

Vid.Max

,

Thanks for your feedback.

This issue will be fixed in a next CubeMX release (4.1).

Regards,

Houda

View solution in original post

5 REPLIES 5
op3 op3
Associate II
Posted on May 24, 2018 at 09:22

line ADC3.  in .ioc file

ADC3.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_9

ADC3.Channel-205\#ChannelRegularConversion=ADC_CHANNEL_14

ADC3.Channel-206\#ChannelInjectedConversion=ADC_CHANNEL_4

ADC3.Channel-207\#ChannelInjectedConversion=ADC_CHANNEL_15

ADC3.Channel-208\#ChannelInjectedConversion=ADC_CHANNEL_6

ADC3.Channel-209\#ChannelInjectedConversion=ADC_CHANNEL_7

ADC3.Channel-210\#ChannelRegularConversion=ADC_CHANNEL_4

ADC3.Channel-IN14=ADC_CHANNEL_14

ADC3.Channel-IN15=ADC_CHANNEL_15

ADC3.Channel-IN4=ADC_CHANNEL_4

ADC3.Channel-IN6=ADC_CHANNEL_6

ADC3.Channel-IN7=ADC_CHANNEL_7

ADC3.Channel-IN8=ADC_CHANNEL_8

ADC3.Channel-IN9=ADC_CHANNEL_9

ADC3.ClockPrescaler=ADC_CLOCK_SYNC_PCLK_DIV8

ADC3.ContinuousConvMode=DISABLE

ADC3.DMAContinuousRequests=ENABLE

ADC3.DataAlign=ADC_DATAALIGN_RIGHT

ADC3.DiscontinuousConvMode=DISABLE

ADC3.EOCSelection=ADC_EOC_SEQ_CONV

ADC3.EnableAnalogWatchDog=false

ADC3.ExternalTrigConv=ADC_SOFTWARE_START

ADC3.ExternalTrigConvEdge=ADC_EXTERNALTRIGCONVEDGE_NONE

ADC3.ExternalTrigInjecConv=ADC_INJECTED_SOFTWARE_START

ADC3.ExternalTrigInjecConvEdge=ADC_EXTERNALTRIGINJECCONVEDGE_NONE

ADC3.IPParameters=Channel-IN4,Channel-IN6,Channel-IN7,Channel-IN8,Channel-IN9,Channel-IN14,Channel-IN15,ClockPrescaler,Channel-205\#ChannelRegularConversion,master,NbrOfConversion,NbrOfConversionFlag,Channel-0\#ChannelRegularConversion,Resolution,DataAlign,ScanConvMode,ContinuousConvMode,DiscontinuousConvMode,DMAContinuousRequests,EOCSelection,ExternalTrigConv,ExternalTrigConvEdge,InjNumberOfConversion,EnableAnalogWatchDog,Rank-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,Rank-205\#ChannelRegularConversion,SamplingTime-205\#ChannelRegularConversion,Rank-206\#ChannelInjectedConversion,Channel-206\#ChannelInjectedConversion,SamplingTime-206\#ChannelInjectedConversion,InjectedOffset-206\#ChannelInjectedConversion,Rank-207\#ChannelInjectedConversion,Channel-207\#ChannelInjectedConversion,SamplingTime-207\#ChannelInjectedConversion,InjectedOffset-207\#ChannelInjectedConversion,Rank-208\#ChannelInjectedConversion,Channel-208\#ChannelInjectedConversion,SamplingTime-208\#ChannelInjectedConversion,InjectedOffset-208\#ChannelInjectedConversion,Rank-209\#ChannelInjectedConversion,Channel-209\#ChannelInjectedConversion,SamplingTime-209\#ChannelInjectedConversion,InjectedOffset-209\#ChannelInjectedConversion,Rank-210\#ChannelRegularConversion,Channel-210\#ChannelRegularConversion,SamplingTime-210\#ChannelRegularConversion,ExternalTrigInjecConv,ExternalTrigInjecConvEdge,InjectedConvMode

ADC3.InjNumberOfConversion=4

ADC3.InjectedConvMode=None

ADC3.InjectedOffset-206\#ChannelInjectedConversion=0

ADC3.InjectedOffset-207\#ChannelInjectedConversion=0

ADC3.InjectedOffset-208\#ChannelInjectedConversion=0

ADC3.InjectedOffset-209\#ChannelInjectedConversion=0

ADC3.NbrOfConversion=2

ADC3.NbrOfConversionFlag=1

ADC3.Rank-0\#ChannelRegularConversion=1

ADC3.Rank-205\#ChannelRegularConversion=1

ADC3.Rank-206\#ChannelInjectedConversion=1

ADC3.Rank-207\#ChannelInjectedConversion=2

ADC3.Rank-208\#ChannelInjectedConversion=3

ADC3.Rank-209\#ChannelInjectedConversion=4

ADC3.Rank-210\#ChannelRegularConversion=2

ADC3.Resolution=ADC_RESOLUTION_12B

ADC3.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_480CYCLES

ADC3.SamplingTime-205\#ChannelRegularConversion=ADC_SAMPLETIME_480CYCLES

ADC3.SamplingTime-206\#ChannelInjectedConversion=ADC_SAMPLETIME_480CYCLES

ADC3.SamplingTime-207\#ChannelInjectedConversion=ADC_SAMPLETIME_480CYCLES

ADC3.SamplingTime-208\#ChannelInjectedConversion=ADC_SAMPLETIME_480CYCLES

ADC3.SamplingTime-209\#ChannelInjectedConversion=ADC_SAMPLETIME_480CYCLES

ADC3.SamplingTime-210\#ChannelRegularConversion=ADC_SAMPLETIME_3CYCLES

ADC3.ScanConvMode=ENABLE

ADC3.master=1
Khouloud GARSI
Lead II
Posted on May 24, 2018 at 09:42

Hi

Vid.Max

Could you please precise the device you're using and if possible share your complete ioc file.

Khouloud.

Posted on May 24, 2018 at 10:05

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6u1&d=%2Fa%2F0X0000000bxg%2FPRqzGRYWnMhb9Wb2qD9ehl18t7qBQFKjHokoCwssdH4&asPdf=false
Posted on May 24, 2018 at 11:39

Hello

Vid.Max

‌,

This forwarded to our CubeMX team. One of our experts will answer you ASAP.

Khouloud.

Houda GHABRI
ST Employee
Posted on May 28, 2018 at 11:21

Hi

Vid.Max

,

Thanks for your feedback.

This issue will be fixed in a next CubeMX release (4.1).

Regards,

Houda