Serial Communication


 

From ARVP

Jump to: navigation, search

Contents

[edit] People

Lewis Gunsch

[edit] Overview

This mini-project involves getting things to talk over serial by use of the UART ports. We currently have 4 devices which are serial based: the IMU, and three roboteq units for managing the motors. The aim of this project is to build drivers to handle serial communication over the UART ports. It should be able to write data onto the UART ports or read off the data from the UART ports and put it in queues for parsing by the next routine such as the IMU parser, or the roboteq command handler.

[edit] Other notes

When you're developing the C/C++ functionality, it would be good to paste relevant snippets of code on the web. IE: what you had to do to open the file handle, set the terminal options for communication, etc.

[edit] Progress

This module is operational and tested. Reading data off the UART ports is handled by an interrupt making it non-blocking, although writing data is not done by an interrupt and thus blocking. Work should be done on this module to make it fully non-blocking and asynchronous.

Personal tools
Personal tools