Skip to content

VojislavM/UART_TLV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UART_TLV

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.

Why 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

Environment setup

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

Hardware

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).

TLV protocol

https://github.com/IRNAS/koruza-driver

About

TLV protocol on STM32 via UART

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages