| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MPD78CP14KB bảng dữ liệu(PDF) 140 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP14KB bảng dữ liệu(HTML) 140 Page - NEC |
|
140 / 373 page ![]() CHAPTER 7 SERIAL INTERFACE FUNCTIONS 122 In the synchronous mode, as shown in Figure 7-7, the transmit data has a fixed character length of 8 bits with no parity bit, and is transferred LSB-first on the falling edge of the serial clock (SCK). Receive data is input on the rising edge of SCK. Figure 7-7. Synchronous Mode Timing 6 7 01 2 3 45 6 7 0 1 2 LSB MSB LSB MSB 1 data transfer SCK Serial data (1) Data transmission A transmit operation in the synchronous mode is enabled by setting (1) the TxE bit of the serial mode high register (SMH). When data is written to the transmit buffer register by a MOV TXB, A instruction and the previous data transfer is terminated, the transmit buffer register contents are transferred to the serial register, converted into serial data, and transmitted LSB-first from TxD in synchronization with the falling edge of SCK. Serial data is transmitted at the same rate as SCK. When data is transferred from the transmit buffer register to the serial register and the transmit buffer register becomes empty, an interrupt request (INTST) is generated. Serial transmission interrupts are disabled by setting (1) the MKST bit of the interrupt mask register. When the TxE bit is "0" or when the serial register contains not data to be transmitted, the TxD pin assumes the mark status (1). However, when an external clock is used, the mark status is assumed after output of a 1-bit low-level pulse. The maximum data transfer rate in transmission is 625 kbps when an internal clock is used as SCK, and 1.25 Mbps when an external clock is used (at 15 MHz operation). (2) Data reception A receive operation in the synchronous mode is enabled by setting (1) the RxE bit of serial mode high register (SMH). Receive data is input on the rising edge of SCK. Two kinds of receive operations are available in the synchronous mode and can be controlled by the SE bit of the serial mode high register (SMH). When the SE bit is set (1), the search mode is set. Each time one bit is sent to the MSB of the serial register from the RxD pin, the serial register contents are transferred to the receive buffer register and a serial reception interrupt (INTSR) is generated. Since the µPD78C18 is not provided with a circuit for detecting synchronization characters by hardware, it is necessary to detect the synchronization characters by software. When a synchronization character is detected and reception is synchronized, the SE bit is reset (0). Resetting (0) the SE bit sets the character reception mode. Each time 8-bit data is received, the serial register contents are transferred to the receive buffer register and a serial reception interrupt (INTSR) is generated. Serial reception interrupts are disabled by setting (1) the MKSR bit of the interrupt mask register (MKH). The maximum data transfer rate in reception is 625 kbps when an internal clock is used as SCK, and 1.25 Mbps when an external clock is used (at 15 MHz operation). |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |