Hello today we will configure together your Nucleo-64 board!
Download the softwareThe first is the
- STM32CubeIDE-Win - https://www.st.com/en/development-tools/stm32cubeide.html going down the page you will find some options and you choose the version compatible with your device.
After installing it will download an enZip folder, click to extract it and save it to a location. After extracting, run and install the program.
After installing the program, install the
- STM32CubeG0 - https://www.st.com/en/embedded-software/stm32cubeg0.html#get-software and extract the folder in the same location as the previous item.
Right after we install
- X-CUBE-AZRTOS-G0 - https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-azrtos-g0.html
and the
After installation, open the IDE and click on "File", "Open Projects from File System..." as shown in the image below.
A window will open and you must click on "Archive..." there you select
Then look for the STM32CubeG0
After loading the folder load the project.
To test go to "projects", "Nucle-G071RB", "examples", "GPIO".
Now your LED will be flashing!!
And now let’s configure and run our board with Nucleo-IKS01A3
Nucleo-IKS01A3For those who prefer something visual, follow the steps in this tutorial: Getting Started with X-CUBE-MEMS1
Let's install the MX program (https://www.st.com/en/development-tools/stm32cubemx.html) after installing it go to install/remove
We click on STMicroelectronics and look for the X-Cube-MEMS1 application and click on "Refresh", after loading select the square indicated in the figure below and click on install
After installation click on close and enter "access to board selector"
We will look for our board to configure it
Then go to "Software Packs" --> "Select components"
We look for X-Cube-MEMS1 and dec until we find "device MEMS1- applications", install and enable "IKS01A3 DataLogTerminal". Go to the "I" at the top of the table to open the port configuration pdf.
In the pdf we will go to page 41 and start configuring our ports! Take care to check if it's the configuration of your card, in our case we use the IKS01A3
To configure the ports go to "connectivity", "I2C1" and enable "I2C" change the "I2C speed mode" to "fast mode" then just click on the port that we want to change and make the modification
After changing the ports we minimize "connectivity" and open the "Software Packs" and enable the options and configure them as follows:
After the settings go to "System View", "INVIC" and enable the following options
Then go to "Project Manager" and create a project. Fill in the data change the "Application Structure" to "Basic", the "Toolchain / IDE" to "STM32CubeIDE" and disable the "Generate Under Root". Once that's done, just click on "Generate Code", "Open Project" which will open your IDE with your project, so just put it to run!
ThanksI would like to thank all my team for the support and help they gave me during the project, the answers to doubts, the tips on how to improve and the indications for my project to get better and better.
Comments
Please log in or sign up to comment.