CMT2380F17
Rev0.1 | 202/347
www.cmostek.com
Figure 18-4. Mode 0 Transmission Waveform
Figure 18-5. Mode 0 Reception Waveform
18.2
Serial Port 0 Mode 1
10 bits are transmitted through TXD0, or received through RXD0: a start bit (0), 8 data bits (LSB first),
and a stop bit (1). On receive, the stop bit goes into RB80 in S0CON. The baud rate is determined by the
Timer 1 or Timer 2 overflow rate. Figure 18
–1 shows the data frame in Mode 1 and Figure 18–6 shows a
simplified functional diagram of the serial port in Mode 1.
Transmission is initiated by any instruction that uses S0BUF as a destination register. The “write to
S0BUF” signal requests the UART0 engine to start the transmission. After receiving a transmission request,
the UART0 engine would start the transmission at the raising edge of TX Clock. The data in the S0BUF would
be serial output on the TXD0 pin with the data frame as shown in Figure 18
–1 and data width depend on TX
Clock. After the end of 8th data transmission, TI0 would be asserted by hardware to indicate the end of data
transmission and its interrupt vector can be switched to System Flag interrupt by BTI and UTIE gated.
Reception is initiated when Serial Port 0 Controller detected 1-to-0 transition at RXD0 sampled by RCK.
The data on the RXD0 pin would be sampled by Bit Detector in Serial Port 0 Controller. After the end of
STOP-bit reception, RI0 would be asserted by hardware to indicate the end of data reception and load
STOP-bit into RB80 in S0CON register.
Содержание CMT2380F17
Страница 27: ...CMT2380F17 Rev0 1 27 347 www cmostek com 1 25 Phase Noise...
Страница 111: ...CMT2380F17 Rev0 1 111 347 www cmostek com INT2IS 1 0 Selected Port Pin of nINT2 00 P4 4 01 P3 0 10 P1 1 11 P1 6...
Страница 131: ...CMT2380F17 Rev0 1 131 347 www cmostek com Figure 16 1 Timer 0 Mode 0 Structure Figure15 2 Timer 1 Mode 0 Structure...
Страница 161: ...CMT2380F17 Rev0 1 161 347 www cmostek com Figure 16 32 Split Timer 3 Mode 1 Structure AR with Ex INT...
Страница 177: ...CMT2380F17 Rev0 1 177 347 www cmostek com Figure 17 3 PCA Interrupt System...
Страница 239: ...CMT2380F17 Rev0 1 239 347 www cmostek com Figure 19 5 8 bit Timer Mode Configuration for S1BRG S1TME 1...
Страница 246: ...CMT2380F17 Rev0 1 246 347 www cmostek com SnMIPS S0MI S1MI 1 P3 3 P4 7...
Страница 289: ...CMT2380F17 Rev0 1 289 347 www cmostek com...