December 2015
Beginner to intermediate
650 pages
18h 28m
English
This chapter describes the PIC32’s universal asynchronous receiver and transmitter (UART) communication modules. Topics include using the special function registers (SFRs) to set the baud rate, data length, stop bits, parity, and hardware flow control. Sample code in this chapter includes interrupt-based communication with a host computer; streaming data from the PIC32 to the host computer using a circular buffer; sending data for plotting by MATLAB or Python, allowing the PIC32 to act as a data acquisition device while MATLAB or Python is used for signal processing; and connecting to the XBee wireless radio to create a wireless link.
Keywords
Universal asynchronous receiver and transmitter (UART)
Baud
Stop bits
Read now
Unlock full access