"STM32 Mini F401" STM32F401CCU6
Posted: Fri Jun 11, 2021 7:02 pm
Hello,
I am new to STM32, and this is my first posting here.
I purchased a "green" STM32F401 board on Amazon. This particular board looks just like the green boards with "HW-848" printed on them, but no "HW-848" is present.
This board is identified correctly here: https://stm32-base.org/boards/STM32F401 ... -Mini-F401
I can power up the board and was able upload a "blink" program using USB C. Cool!
My question is, how do I learn more about this board? I see pinouts for the blue/black pill boards like this:
https://docs.zephyrproject.org/2.5.0/bo ... index.html
As a Teeny/Arduino user, this pinout tells me a lot about which pins are optimized for different purposes: GPIO, SPI, I2C, PWM, ADC, etc.
I am looking for an equivalent map for this STM32F401CCU6-based board.
I read the pin and variant C files for the STM32F104 boards in stmduino. They seem very generic. The only thing I see defined is PA0-PA9 for analog inputs.
I tried various pinModes on my board, and so far they all just work like magic. I understand these may be quite generic, but I also know things like SPI and PWM require dedicated timers and I'm assuming somewhere maybe there are constants for setting these up.
In summary,
Are there pin mappings I need to know about for this board?
Are there predefined constants for dedicated pins, and does it matter if I use a black pill board definition vs a generic STM32F401xxxx definition?
Thanks!
Ben
I am new to STM32, and this is my first posting here.
I purchased a "green" STM32F401 board on Amazon. This particular board looks just like the green boards with "HW-848" printed on them, but no "HW-848" is present.
This board is identified correctly here: https://stm32-base.org/boards/STM32F401 ... -Mini-F401
I can power up the board and was able upload a "blink" program using USB C. Cool!
My question is, how do I learn more about this board? I see pinouts for the blue/black pill boards like this:
https://docs.zephyrproject.org/2.5.0/bo ... index.html
As a Teeny/Arduino user, this pinout tells me a lot about which pins are optimized for different purposes: GPIO, SPI, I2C, PWM, ADC, etc.
I am looking for an equivalent map for this STM32F401CCU6-based board.
I read the pin and variant C files for the STM32F104 boards in stmduino. They seem very generic. The only thing I see defined is PA0-PA9 for analog inputs.
I tried various pinModes on my board, and so far they all just work like magic. I understand these may be quite generic, but I also know things like SPI and PWM require dedicated timers and I'm assuming somewhere maybe there are constants for setting these up.
In summary,
Are there pin mappings I need to know about for this board?
Are there predefined constants for dedicated pins, and does it matter if I use a black pill board definition vs a generic STM32F401xxxx definition?
Thanks!
Ben