Posts: 7
Threads: 3
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jul 2023
Reputation:
0 I would like to program a newly purchased flight controller using stm32cube ide. The issue I have is that I cannot find a documentation for the flight controller, so I don't know which each MCU pin is connected to which component, If I want to make the LEDs blink, I need at least to know to which MCU pin it is connected to. My FC is an F4 1S 12A AIO brushless flight controller 2022
• Posts: 4,073
Threads: 75
Likes Received: 2,549 in 1,858 posts
Likes Given: 3,949
Joined: May 2021
Reputation:
121 01-Jul-2023, 09:22 PM (This post was last modified: 01-Jul-2023, 09:24 PM by Lemonyleprosy.) Unless you’re doing something very non-standard, I think you’re over complicating this. We usually just use something like Betaflight Configurator to configure the firmware.
If you need the mcu pinout to do some sort of custom programming, you’ll need to look at the top of the mcu to determine if it’s an stm32F411 or an stm32F405. Datasheets and pinouts for both are widely available online.
Dangerous operations.
Disclaimer: I don’t know wtf I’m talking about.
I wish I could get the smell of burnt electronics out of my nose.
• Posts: 4,073
Threads: 75
Likes Received: 2,549 in 1,858 posts
Likes Given: 3,949
Joined: May 2021
Reputation:
121 It sounds like what your looking for is a wiring diagram for the flight controller.
We need to know its brand name and model. If you’re unsure, post clear, well lit, up close photos of the flight controller.
I’m still unsure of why you want to use stm32cube ide to program it. What is your end goal? What are you trying to do?
Dangerous operations.
Disclaimer: I don’t know wtf I’m talking about.
I wish I could get the smell of burnt electronics out of my nose.
• Posts: 4,073
Threads: 75
Likes Received: 2,549 in 1,858 posts
Likes Given: 3,949
Joined: May 2021
Reputation:
121 08-Jul-2023, 08:52 PM (This post was last modified: 08-Jul-2023, 09:04 PM by Lemonyleprosy.) Wiring diagram:
It has an STM32F411CEU6 mcu.
Datasheet:
https://www.st.com/resource/en/datasheet...f411ce.pdf Pinout:
You might find this video useful as well:
Dangerous operations.
Disclaimer: I don’t know wtf I’m talking about.
I wish I could get the smell of burnt electronics out of my nose.
• Posts: 4,073
Threads: 75
Likes Received: 2,549 in 1,858 posts
Likes Given: 3,949
Joined: May 2021
Reputation:
121 I think that’s about all the help I can offer? Feel free to ask more questions, I’ll do my best- but I am not a coder, and designing/coding your own firmware from scratch is definitely well beyond my abilities and knowledge.
Dangerous operations.
Disclaimer: I don’t know wtf I’m talking about.
I wish I could get the smell of burnt electronics out of my nose.
•