STM32 Configuration
Posted: Mon Apr 13, 2015 9:49 am
I try to port the whole Crazyflie Setup to NuttX (http://www.nuttx.org). To make the NuttX run I need to configure the Pins properly. I came up with the idea of using STM32CubeMX since it should be easier than pure Coding. However I'm not sure what to use for some of the Pins.
Pin 2,3 are used for the MPU. Is this just general Input/Output?
Pin 5,6 I configured as RCC but I'm not sure what tho set in HSE and LSE. {Disable, Crystal/Ceramic Resonator, BYPASS Clock Source}
Pin 20 Is this also just a General Input/Output?
Pin 34,36 are SPI2 but I have no idea what to set in Mode {Full-Duplex, Half-Duplex, Receive Only, Transmit Only}/{Master,Slave}
The 2nd Problem is the Clock Configuration. There are a lot of Options and I'm not sure what to set.

Thx for any help. Maybe you even also used the CubeMX and have some configuration files
Pin 2,3 are used for the MPU. Is this just general Input/Output?
Pin 5,6 I configured as RCC but I'm not sure what tho set in HSE and LSE. {Disable, Crystal/Ceramic Resonator, BYPASS Clock Source}
Pin 20 Is this also just a General Input/Output?
Pin 34,36 are SPI2 but I have no idea what to set in Mode {Full-Duplex, Half-Duplex, Receive Only, Transmit Only}/{Master,Slave}
The 2nd Problem is the Clock Configuration. There are a lot of Options and I'm not sure what to set.

Thx for any help. Maybe you even also used the CubeMX and have some configuration files
