Category: Mini STM32 V3.0

  • How to use Mini STM32 v3.0 USB Port as Virtual Com Port

    To use USB port of the mini STM32 v3. We need to configure the USB port and for that, we have to look at the schematics. You can view the Full schematic here https://www.exasub.com/development-kit/mini-stm32-v3-0/mini-stm32-v3-0/ From the schematics, we see that there are three pins associated with the USB port.1. PA112. PA123. PD2 The Pins PA11…

  • How to use 2.8 inch LCD driver on Mini Stm32 V3.0 using STM32CubeIDE

    To use the 2.8-inch LCD. I first checked the hardware schematic to find out all the pins attached to the LCD. The LCD has a driver ic on its flex cable. when I read the device code from the IC. The IC is ILI9325 You can check this post here for that Mini STM32 V3.0…

  • How to Blink LED on Mini STM32 v3.0 Discovery Board Using STM32CubeIDE

    Step 2: Configure GPIO Pins In the Project Explorer pane, expand the “Src” folder and open the “main.c” file. Scroll down to the main() function and add the following code to configure the GPIO pins: This code configures pin 2 on GPIOA as a push-pull output pin with no pull-up or pull-down resistors and low…

  • General Timer based on RTC using stm32f103rb

    This timer uses stm32 internal rtc peripheral to display time. The initialization code is generated using CUBEMX which is embedded inside the CUBE IDE. The code uses itoa() function which needs stdlib.h header file. itoa() function in C language converts the integer into ASCII digits which are stored in a buffer. You can choose the…

  • Do not connect microcontroller pins to the VGA monitor directly

    I tried to generate VGA signal on stm32f103 I used two timers, the TIMER 2 generate the horizontal sync and then the second timer TIMER 3 is configured in gated slave mode which generates the vertical sync. Then I used HAL_SPI_TRANSMIT_DMA function inside the timer 2 interrupt handler. I in a hurried manner connected the…

  • Mini STM32 V3.0

    This development board has an STM32F103RB microcontroller. In this development board, Mini STM32 Schematic Diagram 2.8 inch TFT LCD Schematic You can develop a program for this board using Keil, IAR or STM32 Cube IDE You can program the microcontroller by holding the BOOT0 button and then while holding the boot button pressing the RESET…

  • How to redirect printf() to USART in STM32f103RB using STM32Cube IDE

    Printf() function can be redirected to USART and also towards SWO. Here you will see how to redirect printf() to USART in STM32f103RB You need to rewrite this code in your main.c file If you have created your project using STM32CubeMX or STM32 Cube IDE, then you can rewrite it in between USER CODE BEGIN…

  • How to use the ST-LINK/V2-1 in STM32L476G-DISCO Board to program the STM32 on an external application board

    Here is the video showing all the steps. ST-Link V2-1 on STM32L476G-Disco Board To use the ST-LINK/V2-1 to program the STM32 on an external application board (out of the STM32L476VGT6 onboard), remove the two jumpers from CN3 as shown in the above figure in red, and connect the board to the CN4 software debug connector…