This repo represents the configuration of TLV protocol over UART with RX interrupt for STM32F411RET6 MCU. This MCU is located on the STM NUCLEO board.
Reasons for choosing open Nucleo environment are:
- it is cheaper then Arduino UNO
- better ARM MCU, a possibility for new features
- open SDK and IDE
Programing environment is based on System Workbench for STM32. The System Workbench toolchain, called SW4STM32, is a free multi-OS software development environment based on Eclipse, which supports the full range of STM32 microcontrollers and associated boards. The SW4STM32 toolchain may be obtained from the website www.openstm32.org, which includes forums, blogs, and trainings for technical support. Once registered to this site, users will get installation instructions at the Documentation > System Workbench page to proceed with the download of the free toolchain.
After sucesful instalation of toolchain, you nead to download git repository:
$ git clone https://github.com/IRNAS/grbl_stm32.git
Import project to IDE and compile.
Information on importing project, compiling, and downloading code to the board, can be found here www.openstm32.org
Two UART ports are initalize in software. UART1 and UART2.
- UART1 is on port A, pins PA9 (USART1_TX) and PA10 (USART1_RX).
- UART2 is on port A, pins PA2 (USART2_TX) and PA3 (USART2_RX).