Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SH79F166AP/044PR Datasheet(PDF) 76 Page - SINOWEALTH Electronic Ltd

Part # SH79F166AP/044PR
Description  Enhanced 8051 Microcontroller with 10bit ADC
PDF  113 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SINOWEALTH [SINOWEALTH Electronic Ltd]
Direct Link  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH79F166AP/044PR Datasheet(HTML) 76 Page - SINOWEALTH Electronic Ltd

Back Button SH79F166AP/044PR Datasheet HTML 72Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 73Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 74Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 75Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 76Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 77Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 78Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 79Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 80Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 76 / 113 page
background image
SH79F166A
76
8.4 EUART
8.4.1 Feature
 The SH79F166A has one enhanced EUART which are compatible with the conventional 8051
 The baud rate can be selected from the divided clock of the system clock, or Timer4/2 overflow rate
 Enhancements over the standard 8051 the EUART include Framing Error detection and automatic address recognition
 The EUART can be operated in four modes
8.4.2 EUART Mode Description
The EUART can be operated in 4 modes. Users must initialize the SCON before any communication can take place. This
involves selection of the Mode and the baud rate. The Timer4/2 should also be initialized if the mode 1 or the mode 3 is used.
In all of the 4 modes, transmission is initiated by any instruction that uses SBUF as a destination register. Reception is initiated
in Mode 0 by the condition RI = 0 and REN = 1. This will generate a clock on the TxD pin and shift in 8 bits on the RxD pin.
Reception is initiated in the other modes by the incoming start bit if RI = 0 and REN = 1. The external transmitter will start the
communication by transmitting the start bit.
EUART Mode Summary
SM0
SM1
Mode
Type
Baud Clock
Frame Size Start Bit Stop Bit
9
th bit
0
0
0
Sych
fSYS/(4 or 12)
8 bits
NO
NO
None
0
1
1
Ansych
Timer 4 or 2 overflow rate/(16 or 32)
10 bits
1
1
None
1
0
2
Ansych
fSYS/(32 or 64)
11 bits
1
1
0, 1
1
1
3
Ansych
Timer 4 or 2 overflow rate/(16 or 32)
11 bits
1
1
0, 1
Mode0: Synchronous Mode, Half duplex
This mode provides synchronous communication with external devices. In this mode serial data is transmitted and received on
the RxD line. TxD is used to output the shift clock. The TxD clock is provided by the SH79F166A whether the device is
transmitting or receiving. This mode is therefore a half duplex mode of serial communication. In this mode, 8 bits are transmitted
or received per frame. The LSB is transmitted/received first.
The baud rate is programmable to either 1/12 or 1/4 of the system clock. This baud rate is determined in the SM2 bit (SCON.5).
When this bit is set to 0, the serial port runs at 1/12 of the system clock. When set to 1, the serial port runs at 1/4 of the system
clock.
The functional block diagram is shown below. Data enters and exits the serial port on the RxD line. The TxD line is used to
output the SHIFT CLOCK. The SHIFT CLOCK is used to shift data into and out of the SH79F166A.
12
4
SERIAL
CONTROLLER
TX CLOCK
TX START
TX SHIFT
TI
RI
SHIFT
CLOCK
RX CLOCK
LOAD SBUF
RX START
RX SHIFT
Transmit Shift Register
RXD
Serial Port Interrupt
TXD
RI
REN
PARIN
LOAD
CLOCK
SOUT
CLOCK
SIN
PAROUT
RXD
SBUF
Read SBUF
Receive Shift Register
Internal
Data Bus
Write to
SBUF
1
0
SBUF
÷
÷
System Clock
SM2



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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