Add STM32F446ZCT6 ARM MCU in component library

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:

Add STM32F446ZCT6 ARM MCU in component library

Post by karthickefy »

Hi Matrix Team,
We need your help to add STM32F446ZCT6 MCU in the component library. It is quite urgent. We already have Flowcode 8 Pro License including STM ARM package license. We need to develop the firmware to test MCU's Internal ADC for one of our project. But Flowcode library doesn't have this STM32F446ZCT6 component. Please support. Thanks for your help in advance.
Attachments
component library.PNG
component library.PNG (34.49 KiB) Viewed 5331 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: Add STM32F446ZCT6 ARM MCU in component library

Post by LeighM »

I will take a look

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

Re: Add STM32F446ZCT6 ARM MCU in component library

Post by karthickefy »

Thank LeighM,
It will be more helpful to us.

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: Add STM32F446ZCT6 ARM MCU in component library

Post by LeighM »

Please try the attached FCD file, drop it into the following directory and restart Flowcode
C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARM

We will get this into the auto update system later.
Attachments
32F446ZC.fcdx
(61.05 KiB) Downloaded 144 times

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

Re: Add STM32F446ZCT6 ARM MCU in component library

Post by karthickefy »

Thanks for your support LeighM. I will test and let you know the result later. :D

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

Re: Add STM32F446ZCT6 ARM MCU in component library

Post by karthickefy »

Hi LeighM,
Today I have start developing the code for analog channels with STM32F446ZCT6 and STM32F303VCT6 components and I found some mismatch in ADC pins in both STM MCU components. Can you please help to check and update it?

Below are the details:
As per datasheet STM32F303VCT6 MCU has 39 channel ADC. But Flowcode component has only 9 Ch ADC.
As per Datasheet STM32F446ZCT6 MCU has 24 Channels ADC. BUt Flowcode component has only 16 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
https://www.st.com/content/ccc/resource ... 141306.pdf

Regards,
Karthick.
Attachments
STM32F446ZCT6 has very less AI pins.PNG
STM32F446ZCT6 has very less AI pins.PNG (44.81 KiB) Viewed 5266 times
STM32F303VCT6 very less ADC.PNG
STM32F303VCT6 very less ADC.PNG (45.06 KiB) Viewed 5266 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: Add STM32F446ZCT6 ARM MCU in component library

Post by LeighM »

OK, thanks, I will look into it

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

Re: Add STM32F446ZCT6 ARM MCU in component library

Post by karthickefy »

Hi LeighM,
Thank you very much for your fast reply. Also, I need another help. How to communicate the ARM MCU's UART port component directly through FDTI TTL UART adaptor (without using MAX232 IC)? I have tried to communicate but FDTI receives wrong Data. If MCU sends string "1" computer received 0A in Hex. Please guide me on how to communicate the MCU directly without any inverter IC(MAX232).

In our product, there is no Max232 inverter IC circuit populated and our product FW directly communicates through UART (TTL) through FDTI chip. For testing the ADC value (I will develop the FW through Flowcode and communicate through FDTI), I need to use the same TTL method in our Functional Tester.

Thanks in advance.



Karthick
Attachments
test uart.fcfx
(10.1 KiB) Downloaded 151 times
uart.PNG
uart.PNG (965.78 KiB) Viewed 5255 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: Add STM32F446ZCT6 ARM MCU in component library

Post by LeighM »

Hi,
Could you move this latest post to a new topic?
We now have three issues in this thread and it could get confusing :D
It would also help other users when searching issues.
Thanks!

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

Re: Add STM32F446ZCT6 ARM MCU in component library

Post by karthickefy »

Hi LeighM,
Done. Thanks. Please help with these 2 topics. :D :D :D

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: Add STM32F446ZCT6 ARM MCU in component library

Post by LeighM »

Please try these ...

32F446ZC.fcdx
C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARM

STARM_CAL_ADC.c
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\STARM
Attachments
STARM_CAL_ADC.c
(32.61 KiB) Downloaded 161 times
32F446ZC.fcdx
(61.12 KiB) Downloaded 130 times

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

Re: Add STM32F446ZCT6 ARM MCU in component library

Post by karthickefy »

Hi LeighM,
Thanks. I downloaded .FCDX file into the specific folder and now I can see all the ADC pins for STM32F446ZCT6 part. I will check ADC tomorrow and update you the result.
Also I verified all STM32F446ZET6 and STM32F446 Nucleo discovery board (Which has STM32F446ZET6 Chip)component and these components also have the same ADC pin count issues. It will be good if you correct all.

Thanks for your support.

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: Add STM32F446ZCT6 ARM MCU in component library

Post by LeighM »

Look forward to the results tomorrow.
Thanks.

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

Re: Add STM32F446ZCT6 ARM MCU in component library

Post by karthickefy »

HI LeighM,
If you update the STM32F446ZET6 parts similar like STM32F446ZCT6, I can test it now in my home and update you on the result immediately.
I have STM32F446 Nucleo board on hand and I can test now. Please check.

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: Add STM32F446ZCT6 ARM MCU in component library

Post by LeighM »

Thanks, here is the 32F446ZE
Attachments
32F446ZE.fcdx
(61.69 KiB) Downloaded 116 times

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

Re: Add STM32F446ZCT6 ARM MCU in component library

Post by karthickefy »

HI LeighM,
Yes. ADC is working fine with STM32F446ZCT6 ARM MCU. I can read the ADC value through UART. You can modify the ADC for other MCU's. Thanks.

Karthick.
Attachments
ADC WORKING WITH STM32F466ZC.PNG
ADC WORKING WITH STM32F466ZC.PNG (9.79 KiB) Viewed 5200 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: Add STM32F446ZCT6 ARM MCU in component library

Post by LeighM »

Good. Thanks

Post Reply