Skip to main content

Part of the book series: Computer Communications and Networks ((CCN))

  • 1978 Accesses

Abstract

The majority of medium- and long-range digital communication involves serial data streams.

This chapter discusses both synchronous and asynchronous protocols; including SPI and IIC, with reference to the Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) and Master Synchronous Serial Port (MSSP) modules. Also covered are networking and electrical characteristics.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    All data outputs are simultaneously available and thus the 74HCT164 is best described as a serial-in parallel-out (SIPO) register as well as a SISO shift register.

  2. 2.

    I have used this name as we shall see, there is a built-in function called spi_write().

  3. 3.

    See Fig. 11.12 in my The Quintessential PIC ® Microcontroller.

  4. 4.

    SPI is a trademark of Motorola/Freescale, Inc.

  5. 5.

    Microwire is a trademark of National Semiconductor Corporation.

  6. 6.

    Some of which are in the Status register due to lack of space!

  7. 7.

    I2C is a trademark of the Philips/NXP Corporation.

  8. 8.

    www.nxp.com/acrobat/literature/9398/39340011.pdf.

  9. 9.

    By the I2C-bus committee.

  10. 10.

    In older PIC18 devices, and also the PIC18F1X20, BF is cleared in this event and it is not necessary to read the SSPBUF to clear it. See App. Note AN734B for further details.

  11. 11.

    In older PIC18 devices \(\mathsf{R}/\overline{\mathsf{W}}\) was cleared.

  12. 12.

    Literally a “typewriter from afar”; Greek, tele = far.

  13. 13.

    Strictly speaking the baud rate is a measure of information flow. For a simple baseband system this is equal to the bit rate. However, this equality is not always true. For instance, a telephone modem can use a di-bit modulation scheme where groups of bits two at a time give a carrier tone phase shift of 0°, 90°, 180°and 270°for the patterns 00, 01, 10, 11, respectively. In this case the baud rate is twice the bit rate.

  14. 14.

    Actually the first documented binary coded alphanumeric code was devised by Francis Bacon in around 1600. It too was a 5-bit code.

  15. 15.

    Newer versions of the assembler use 32-bit arithmetic for label arithmetic.

  16. 16.

    Sometimes known as the asynchronous communication interface adapter, or ACIA.

  17. 17.

    See The Quintessential PIC ® Microcontroller, Chap. 12, by the author for more details.

  18. 18.

    Exceptionally, the 18-pin footprint devices, such as the PIC18F1X20, use RB1 and RB4 for TX and RX respectively.

  19. 19.

    See http://www.lin-subbus.org for more details.

  20. 20.

    Or sometimes ignorance!

  21. 21.

    Defined in the United States of America as the Electronics Industries Association EIA 232-E standard and in Europe as the V24 interface, by the CCITT.

  22. 22.

    1-Wire® is a registered trademark of Maxim Integrated Products Inc.

  23. 23.

    For more details, see Microchip’s application note AN1199 1-wire ® Communication with PIC ® Microcontroller.

  24. 24.

    See http://www.roundsolutions.com/techdocs/index.php for more details.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sid Katzen .

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag London Limited

About this chapter

Cite this chapter

Katzen, S. (2010). One Bit at a Time. In: The Essential PIC18® Microcontroller. Computer Communications and Networks. Springer, London. https://doi.org/10.1007/978-1-84996-229-2_12

Download citation

  • DOI: https://doi.org/10.1007/978-1-84996-229-2_12

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-84996-228-5

  • Online ISBN: 978-1-84996-229-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics