TAILIEUCHUNG - Lecture Microcomputer principles and applications - Chapter 9: Serial communication interface

The universal serial communication interface (USCI) modules support multiple serial communication modes. Different USCI modules support different modes. | 11:56:01 Chapter 9 Serial communication interface 11:56:01 USCI Overview The universal serial communication interface (USCI) modules support multiple serial communication modes. Different USCI modules support different modes. The USCI_Ax modules support: • • • • UART mode. Pulse shaping for Infrared Data Association (IrDA) communications. Automatic baud rate detection for Local Interconnect Network (LIN) communications. Serial Peripheral Interface (SPI) mode. The USCI_Bx modules support: • • Inter-Integrated Circuit (I2C or I2 C) mode. SPI mode. Microcomputer principles and applications 11:56:01 UART Mode UART = Universal asynchronous receiver/transmitter. UART mode (UCSYNC bit=0) features include: • • • • • • • • • • 7- or 8-bit data with odd, even, or non-parity. Independent transmit and receive shift registers. Separate transmit and receive buffer registers. LSB-first or MSB-first data transmit and receive. Built-in idle-line and address-bit communication protocols for multiprocessor systems. Receiver start-edge detection for auto-wake up from LPMx modes. Programmable baud rate with modulation for fractional baud rate support. Status flags for error detection and suppression. Status flags for address detection. Independent interrupt capability for receive and transmit. Microcomputer principles and applications 11:56:01 UART Mode • • • • Start - Part of the serial interface’s job is to frame the bits of each data, using a start bit to indicate the start of the data. The start bit then serves to synchronize the sender and the receiver. Stop - Part of the serial interface’s job is to frame the bits of each data, using a stop bit for the end of the data. Baud rate - The start bit marks the beginning of the sender’s data. From the start bit the receiver can count clock ticks to determine when to read each data bit. The baud rate defines the time each bit exists or the time to wait between reading (or sending) each bit. A parity bit (or .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.