STM32F303VCT6 component ADC Pin's issue

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
karthickefy
Posts: 74
Joined: Thu Nov 30, 2017 3:21 am
Has thanked: 4 times
Been thanked: 9 times
Contact:

STM32F303VCT6 component ADC Pin's issue

Post by karthickefy »

Hi LeighM,
Today I have started developing the code for analog channels with STM32F303VCT6 components and I found some mismatch in ADC pins. Please help to check.
Below are the details:
As per datasheet STM32F303VCT6 MCU has 39 channel ADC. But Flowcode component has only 9 Ch ADC.
In our project, we used all the ADC AI pins in both Chip. So please help to resolve these issues. Thanks.

Below is the datasheet link.
https://www.st.com/resource/en/datashee ... f303vc.pdf


Regards,
Karthick.
Attachments
STM32F303VCT6 very less ADC.PNG
STM32F303VCT6 very less ADC.PNG (45.06 KiB) Viewed 3397 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: STM32F303VCT6 component ADC Pin's issue

Post by LeighM »

Please let me know how you get on with the 32F446ZC ADC updates,
if they are OK I will see if 32F303VC can be updated in a similar way.
Thanks

karthickefy
Posts: 74
Joined: Thu Nov 30, 2017 3:21 am
Has thanked: 4 times
Been thanked: 9 times
Contact:

Re: STM32F303VCT6 component ADC Pin's issue

Post by karthickefy »

HI LeighM,
Can you please update the ADC ports for STM32F303VCT6 component too? I will check with our product and update you on the test result. Thanks.

Karthick.

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: STM32F303VCT6 component ADC Pin's issue

Post by LeighM »

Please try these ...
Attachments
32F303VC.fcdx
(52.99 KiB) Downloaded 147 times
STARM_CAL_ADC.c
(35.98 KiB) Downloaded 155 times

karthickefy
Posts: 74
Joined: Thu Nov 30, 2017 3:21 am
Has thanked: 4 times
Been thanked: 9 times
Contact:

Re: STM32F303VCT6 component ADC Pin's issue

Post by karthickefy »

Hi LeighM,
Today I have tried to develop the ADC for STM32F303VCT6 MCU and I found that, all ADC pin's are not enabled. Because STM32F303VCT6 has 39 ADC channels. but our Flowcode shows only 9 ports. Can you please help to modify the same?

https://www.st.com/resource/en/datashee ... f303cb.pdf


Karthick,
Attachments
stm32f303vc adc.PNG
stm32f303vc adc.PNG (202.35 KiB) Viewed 3296 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: STM32F303VCT6 component ADC Pin's issue

Post by LeighM »

Hi,
You need to download and use the files I posted earlier ...

STARM_CAL_ADC.c goes into directory C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\STARM

32F303VC.fcdx goes into directory C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARM

If you subsequently do an update these files will be marked as not genuine, untick the box to ensure they don't get over-written.

Once you have confirmed that these changes are OK for you, I will get these updated files into our auto-update system.

Hope that makes sense.
Leigh

karthickefy
Posts: 74
Joined: Thu Nov 30, 2017 3:21 am
Has thanked: 4 times
Been thanked: 9 times
Contact:

Re: STM32F303VCT6 component ADC Pin's issue

Post by karthickefy »

Hi LeighM,
Thanks.I followed your instruction and now I can see all the ADC pin's.

Thanks.
Attachments
ADC.PNG
ADC.PNG (62.99 KiB) Viewed 3280 times

karthickefy
Posts: 74
Joined: Thu Nov 30, 2017 3:21 am
Has thanked: 4 times
Been thanked: 9 times
Contact:

Re: STM32F303VCT6 component ADC Pin's issue

Post by karthickefy »

Hi Leighm,
Can you please help to update STARM_CAL_ADC.c files to auto update system? I have tested and it is working fine. Thanks.

LeighM wrote:
Fri Jul 31, 2020 8:33 am
Hi,
You need to download and use the files I posted earlier ...

STARM_CAL_ADC.c goes into directory C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\STARM

32F303VC.fcdx goes into directory C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARM

If you subsequently do an update these files will be marked as not genuine, untick the box to ensure they don't get over-written.

Once you have confirmed that these changes are OK for you, I will get these updated files into our auto-update system.

Hope that makes sense.
Leigh

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: STM32F303VCT6 component ADC Pin's issue

Post by LeighM »

Hi,
Thanks for confirming.
I've updated these already :)
So you can run the full update.
Thanks
Leigh

Post Reply