Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
?
EE Times-Asia > Controls/MCUs
?
?
Controls/MCUs??

Implement protocol converters using MQX comm driver

Posted: 20 Oct 2011 ?? ?Print Version ?Bookmark and Share

Keywords:I2C? USB? UART? SPI?

Here is a brief introduction to existing MQX drivers for common communications protocols such as SPI, I2C, USB, UART, and Ethernet. This document also shows how to use these drivers to make the job of implementing a protocol converter easier.

Many user applications need to use communications modules on an MCU to interface with external devices. Some examples:
? Using I2C or SPI to read sampled data from a sensor
? Storing a data log regularly to a USB stick
? Transferring data via Ethernet
? Displaying real-time sensor values in a web server

Sometimes there is even a requirement that data be relayed from one communications interface to another, such as from I2C to SPI, serial to Ethernet, etc.

There are different ways to implement a protocol converter. The user can do it using only hardware by using the CPLD or FPGA to implement the required conversion logic. Alternatively the implementation can be through software alone, using an MCU equipped with communications modules such as UART, I2C, SPI, etc., and then writing the appropriate software drivers.

View the PDF document for more information.

Originally published by Freescale Semiconductor at www.freescale.com as "Using MQX Communications Drivers to Implement Protocol Converters".





Article Comments - Implement protocol converters using ...
Comments:??
*? You can enter [0] more charecters.
*Verify code:
?
?
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

?
?
Back to Top