stm32

Learning HAL functions for STM32 programming

In the earlier guide on led blink with STM32F401RE Nucleo-64 board we used a HAL function that toggled one of the pin of the board. The program and coding was done using the STM32Cube IDE. The STM32F401RE Nucleo-64 board is a popular development pl…

ee-diary

STM32 DMA with Interrupt | STM32 Programming tutorial

Serial communication with UART or USART is common way to transfer message between MCU and PC or other devices. The UART of the Nucleo-64 board can be configured to either use interrupt or not. If UART is configured with interrupt then the data trans…

ee-diary

STM32 UART Polling vs Interrupts vs DMA - LED control example

The STM32F401RE Nucleo-64’s UART offers three methods—polling, interrupts, and DMA—to handle serial communication, each with trade-offs. The previous stm32 programming tutorial used LED control via a MAX232 and DB9 port from a PC. In brief, polling …

ee-diary

STM32 UART Interrupts LED Control | STM32 Programming Tutorial 5

In the last UART controlled LED STM32 programming tutorial a led connected to STM32 Nucleo-64 board was controlled with message received from PC through the UART. In that tutorial HAL uart function HAL_UART_Transmit() and HAL_UART_Receive() were use…

ee-diary

STM32F401RE Nucleo-64 Clock Sources and Their Functions

The STM32F401RE Nucleo-64 is a versatile development board from STMicroelectronics, powered by the STM32F401RE microcontroller (MCU). This ARM Cortex-M4-based MCU, running at up to 84 MHz, offers multiple clock sources that make it suitable for a wi…

ee-diary
Load More
That is All