Category: Development Kit

  • How to Perform Discrete Fourier Transform on N-Point Sequence using STM32L476G

    x(n) = { 0, 1, 0, 1} Here x(n) is a 4 point sequence Now to perform Fourier transform on this sequence. Here X(k) is the DFT of x(n) ‘k’ is the index representing individual frequency component ‘N’ is the Length of the sample sequence ‘n’ is an index of the element of the sequence…

  • How to add CMSIS DSP Library to STM32 Cube IDE Project for stm32l476vg

    To add CMSIS DSP library in you stm32cube project. You can follow the steps written on ST’s website Configuring DSP libraries on STM32CubeIDE I have also made a video. In this video. I have shown steps to add the arm_math.h header file. You need to configure the stm32 cube ide.

  • How to use LCD Driver of STM32L476VGT on STM32L476 Discovery

    To use the internal LCD driver of stm32l476; the best way is to use the LCD driver provided in the BSP. It is located inside the STM32Cube_FW_L4_V1.16.0 repository. Go to the..\STM32Cube\Repository\STM32Cube_FW_L4_V1.16.0\Drivers\BSP\STM32L476G-Discovery Copy the stm32l476g_discovery.c, stm32l476g_discovery.h, stm32l476g_discovery_glass_lcd.c and stm32l476g_discovery_glass_lcd.h Paste the files in your project. Include the header file in your project.#include “stm32l476g_discovery_glass_lcd.h” After this you…

  • How to use printf using serial wire debug on STM32L476 Discovery

    We all use printf statements for debugging purposes at some point in time. To use print statement. You need to do fuse one solder bridge Fuse the solder bridge number SB14. Always be careful since the solder bridges are very small. After you have done fused the solder bridge. You can configure your project in…

  • How to start a project for STM32L476 Discovery in STM32 Cube IDE

    Download the STM32 Cube IDE from https://www.st.com/en/development-tools/stm32cubeide.html Watch this video tutorial. Write a program using STM32L476G-DISCO Step1: Install STM32 Cube IDE Step2: Create a New Workspace A workspace is a directory which will contain all your code and library related to your project. Step 3: click on “Start new STM32 Project” button Step 4: Select…

  • Overview of STM32L476 Discovery Kit

    This development board from STMicroelectronics has different peripherals such as an LCD screen, MEMS sensor, USB OTG, Microphone and a 16 MegaByte memory. It has a cr2032 battery socket on the back. So you can use a 3-volt cr2032 battery to power this board. But for that, you have to change the jumper from 3v3…

  • IDE Supporting STM32L476-Discovery

    An IDE combines a range of different tools which are essential for the development of software. Different IDE from different vendors is available. Here are the IDE that I have used. STM CUBE IDEwebsite: https://www.st.com/en/development-tools/stm32cubeide.htmlIt is distribuited freely by ST. You can use this and it has a good device support and newer devices are…

  • Powering STM32l476-DISCO using CR2032 Battery

    The stm32l476-disco can be powered by a battery. The board has a socket to place the battery on the backside of the board. For using the battery you need to do the following steps. Remove the RST jumper Remove the jumper marked as CN3 The Jumper JP5 should be set to IDD The Jumper JP6…

  • STM32L476vg Discovery Kit Images

    These are two images of the development board. Almost entirely the board is made using SMD components. There are some through-hole components. The back of the development board shows us the different fuses and connections. At the back, there is a battery holder which can be powered using cr2032. The top half of the board…