September 2014
Beginner to intermediate
424 pages
10h 4m
English
This chapter covers RS-232-like serial buses typically used for communication external to a product. The electrical characteristics, byte formats, flow control, and higher level protocol issues are all covered in this chapter. This chapter includes detailed diagrams, schematics, and specific C functions needed for this type of communication. The popular NEMA GPS protocol is used as an example. Software techniques, all in C, are explained for protocols, flow control, UART control, text I/O, and interrupts.
Variations for RS-422 and RS-485 are also a part of this chapter.
Examples and exercises are for the popular PIC® microcontroller manufactured by Microchip.
Keywords
Asynchronous
RS-232
RS-422 ...