
Explore STM32CubeMX essential training, learn to use its graphical user interface to select a microcontroller or development board, configure settings, and generate C code for popular IDEs.
Download, install, and set up STM32CubeMX, accept the license, register an account, extract files, and create a new project by selecting MCU series, package, and board.
Explore the STM32CubeMX graphical interface, navigate file and project menus, generate code and reports, configure pins and clocks, and review the generated project structure for a blinky example.
See how STM32CubeMX generates code to blink an led by configuring pins 12 to 15, rebuilding the project, and using the API to set pin states.
Learn to update STM32CubeMX by checking for updates, installing and removing libraries, and updating firmware for future boards, without downloading a new STM32CubeMX.
Adjust the clock configuration to view the clock tree and system frequency. See how changes to peripheral clocks reconfigure APB buses to 100 mhz, using pll, rtc, and hsi/hse sources.
Use the configuration tab to graphically arrange peripherals into control groups, and configure system peripherals like the real-time clock and RCC, while enabling middleware and connectivity peripherals.
Learn to generate standout general purpose input/output code with CubeMX, initialize input and output pins, read a wake-up button, and drive an LED on a discovery board.
Configure an input interrupt in stm32cubeMX by mapping a push-button to an external interrupt line and generating code. Customize the interrupt callback with the weak keyword to toggle LEDs.
Learn to create accurate delays with a timer in STM32CubeMX by configuring an internal clock, setting a prescaler for millisecond timing, and using a 1-second period with an interrupt-driven callback.
Demonstrates programming the output compare timer to toggle four channels at precise timestamps, including 15 ms and 100 ms, using hardware interrupts and timer configuration.
Learn to create an input capture timer with STM32CubeMX on a discovery board, timestamp button presses on rising edges, configure channel 1, and use an interrupt callback to count presses.
learn to create a CubeMX project, configure ADC1 channel 0 for single conversion, start the ADC, poll for conversion, and store the result in a global variable for debugging.
Explore configuring ADC continuous conversion in STM32CubeMX, set prescalers and sampling time, enable continuous mode, generate code, and verify real-time ADC data from a single channel.
Use a timer as an external trigger to start ADC conversions for precise sampling. Configure timer 2 as the trigger and implement a conversion complete callback to store results.
Learn to configure STM32CubeMX for multi-channel ADC with DMA scan mode, enabling two channels in continuous mode, selecting DMA transfers to a two-element memory buffer.
Explore STM32CubeMX SPI's three-wire interface and how to configure it. Identify slave selects and validate the connection on a discovery board.
Configure the spi peripheral in stm32cubeMX for a board with accelerometers, setting the clock and mosi lines and enabling the external interrupt, with a baud rate of 3 mbps.
Configure STM32CubeMX to access device registers via SPI, enable and disable the slave, translate register addresses, and use buffers for reading and writing data with accelerometer and gyroscope sensors.
Learn how to read the gyroscope data in STM32CubeMX by enabling and handling the interrupt. Apply the interrupt approach to reading the gyroscope data.
Configure the DAC in STM32CubeMX, enable one output, convert a voltage value to a 12-bit DAC code, and verify on the board.
Learn to configure the UART in STM32CubeMX with asynchronous mode, enable DMA for transmit and receive, set baud rates, generate code, and test simple transmit APIs.
Configure the pwm in STM32CubeMX by selecting the timer, using internal clock, setting prescaler and period to 1 mhz, and applying a 50 percent duty cycle before code generation.
Learn to configure PWM in STM32CubeMX, initialize timer channels, set period and duty cycle, and programmatically adjust duty cycle using capture/compare registers.
STM32CubeMX Essential Training : Saving time on firmware development with CubeMX
This course is an essential training on STM32 CubeMX. It is a practical cookbook for programming peripherals of all STM32 microcontrollers using the CubeMX framework.
If you work with STM32 microcontrollers then you should absolutely get familiar with cubeMX. It is a massive time saver.
Please see the course curriculum for more information.