![]() ![]() ![]() ![]() We will configure TapNLink to handle two variables: IoTize Studio generates a default configuration file with a single Main Bundle and loads the Project.elf application debug symbols as displayed in the Resource View. Step2: Select variables to be read from ADC_TemperatureSensor application Use the Firmware field in the New Project dialog box to browse for the generated application so that IoTize Studio can load the debug symbols directly from the elf file. \Projects\NUCLEO-L476RG\Examples_LL\ADC\ADC_TemperatureSensor\MDK-ARM\STM32L476RG_NUCLEO\Project.elf Launch Ride7 IDE, select Keil µVision project Filter from File|Open Project command, browse directories and open the Keil µVision project located in : This sample project describes how to use an ADC peripheral to perform a single ADC conversion of the internal temperature sensor and to calculate the temperature in degrees Celsius. Step1: Build ADC_TemperatureSensor application If your PC does not have a BLE device integrated you can also use Ride7 with an ST-Link. Please note that to program TapNLink Primer you need a BLE enabled Windows 10 (version 1803 or above). You may use any programming tool for this purpose, but in this tutorial we use Ride7 and TapNLink Primer. If you already know how to program your Nucleo board you can skip this step and go directly to step 2. The first step is to build ADC_TemperatureSensor sample application and program the Nucleo board microcontroller with this program. Part1: Program NUCLEO-L476RG board with ADC_TemperatureSensor application Tap Manager is available on Google Play for Android smartphones and App Store for iPhones. Tap Manager could also be used as the 'End User' monitoring App with TapNLinks. 'Tap Manager' app on a mobile phone: TapNLink companion App, helping configure Taps in developer mode. In this tutorial we use Raisonance Tools that you can download and use for free (up to 64 KBytes of code) but you can use any other STM32 development toolchain to build and program the sample project. STM32 Software Development tools: You will need an integrated development environment (IDE) with C compiler and debugger as well as the embedded software libraries required to configure and initialize the MCU with the project samples. For this tutorial we will use the ADC_TemperatureSensor sample project. STM32CubeL4 MCU Firmware Package: A software platform for the STM32L4 series. See additional information on ST website. NUCLEO-L476RG board: Affordable and flexible platform that eases prototyping using a STM32L476RG microcontroller. You can download and install the software from. IoTize Studio: The PC-based configuration software that we use to configure TapNLink Primer. You can purchase a TapNLink Primer Evaluation Kit from Digikey. TapNLink Primer Evaluation Kit: Evaluation kit that allows iot designers to test all the advantages of IoTize TapNLink products for building a connected electronic system. In this tutorial we will program our Nucleo-L476RG with a project that uses an ADC peripheral to perform a single ADC conversion of the internal temperature sensor, then connects it to a TapNLink Primer to send the temperature data by BLE to a mobile phone. STM32 Nucleo boards can easily be extended with wireless capabilities using a TapNLink module. The STM32 Nucleo board allows developers to try out new ideas and quickly create prototypes with STM32 MCUs. E.g.Connecting the STM32 Nucleo board to your smartphone Introduction.You can right-click on a function or variable in the code and select “Show on Code Map” to explore its role in your source code (requires VisualGDB 5.0+):.Press F10 to step over HAL_GPIO_WritePin() and verify that the LED turns on:.Verify that the green LED on the board is off:.Set a breakpoint on the HAL_GPIO_WritePin() call and press F5 to begin debugging:.You can build it by pressing Ctrl-Shift-B: If VisualGDB suggests installing the WinUSB driver, proceed with it: On the next page select OpenOCD as the debug method, connect your board, press “detect” and “test selected OpenOCD settings”.On the next page proceed with the default LEDBlink sample and specify the LED port according to the STM32-Nucleo-F411RE schematics:.If it is not available, click “download support for more devices”: Select the STM32F411RE device from the device list.If it is not present, VisualGDB will download it automatically: On then next page select the ARM toolchain.Proceed with the default “binary” settings on the first page:.Select File->New->Project and select the Embedded Project Wizard from the VisualGDB wizards. We will create a simple ‘blinking LED’ project, build it, step through it in debugger and use the Code Map to visualize the structure of the HAL library. You will need the following hardware and software to follow this tutorial: This tutorial shows how to create a simple project for the STM32-Nucleo-F411RE board with Visual Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |