| 数据搜索系统,热门电子元器件搜索 |
|
PC16550DN 数据表(PDF) 16 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC16550DN 数据表(HTML) 16 Page - National Semiconductor (TI) |
|
16 / 22 page ![]() 80 Registers (Continued) Bit 7 This bit is the Divisor Latch Access Bit (DLAB) It must be set high (logic 1) to access the Divisor Latches of the Baud Generator during a Read or Write operation It must be set low (logic 0) to access the Receiver Buffer the Transmitter Holding Register or the Interrupt Enable Regis- ter 82 TYPICAL CLOCK CIRCUITS TLC8652 – 19 TLC8652 – 20 Typical Crystal Oscillator Network (Note) CRYSTAL RP RX2 C1 C2 31 MHz 1 MX 15k 10-30 pF 40-60 pF 18 MHz 1 MX 15k 10-30 pF 40-60 pF Note These R and C values are approximate and may vary 2x depending on the crystal characteristics All crystal circuits should be designed specifically for the system 83 PROGRAMMABLE BAUD GENERATOR The UART contains a programmable Baud Generator that is capable of taking any clock input from DC to 24 MHz and dividing it by any divisor from 2 to 216b1 The output fre- quency of the Baud Generator is 16 c the Baud divisor e (frequency input) d (baud rate c 16) Two 8-bit latches store the divisor in a 16-bit binary format These Divisor Latches must be loaded during initialization to ensure prop- er operation of the Baud Generator Upon loading either of the Divisor Latches a 16-bit Baud counter is immediately loaded Table III provides decimal divisors to use with crystal fre- quencies of 18432 MHz 3072 MHz and 18432 MHz re- spectively For baud rates of 38400 and below the error obtained is minimal The accuracy of the desired baud rate is dependent on the crystal frequency chosen Using a divi- sor of zero is not recommended 84 LINE STATUS REGISTER This register provides status information to the CPU con- cerning the data transfer Table II shows the contents of the Line Status Register Details on each bit follow Bit 0 This bit is the receiver Data Ready (DR) indicator Bit 0 is set to a logic 1 whenever a complete incoming charac- ter has been received and transferred into the Receiver Buffer Register or the FIFO Bit 0 is reset to a logic 0 by reading all of the data in the Receiver Buffer Register or the FIFO Bit 1 This bit is the Overrun Error (OE) indicator Bit 1 indi- cates that data in the Receiver Buffer Register was not read by the CPU before the next character was transferred into the Receiver Buffer Register thereby destroying the previ- ous character The OE indicator is set to a logic 1 upon detection of an overrun condition and reset whenever the CPU reads the contents of the Line Status Register If the FIFO mode data continues to fill the FIFO beyond the trig- ger level an overrun error will occur only after the FIFO is full and the next character has been completely received in the shift register OE is indicated to the CPU as soon as it happens The character in the shift register is overwritten but it is not transferred to the FIFO Bit 2 This bit is the Parity Error (PE) indicator Bit 2 indi- cates that the received data character does not have the correct even or odd parity as selected by the even-parity- select bit The PE bit is set to a logic 1 upon detection of a parity error and is reset to a logic 0 whenever the CPU reads the contents of the Line Status Register In the FIFO mode this error is associated with the particular character in the FIFO it applies to This error is revealed to the CPU when its associated character is at the top of the FIFO Bit 3 This bit is the Framing Error (FE) indicator Bit 3 indi- cates that the received character did not have a valid Stop bit Bit 3 is set to a logic 1 whenever the Stop bit following the last data bit or parity bit is detected as a logic 0 bit (Spacing level) The FE indicator is reset whenever the CPU reads the contents of the Line Status Register In the FIFO mode this error is associated with the particular character in the FIFO it applies to This error is revealed to the CPU when its associated character is at the top of the FIFO The UART will try to resynchronize after a framing error To do this it assumes that the framing error was due to the next start bit so it samples this ‘‘start’’ bit twice and then takes in the ‘‘data’’ Bit 4 This bit is the Break Interrupt (BI) indicator Bit 4 is set to a logic 1 whenever the received data input is held in the Spacing (logic 0) state for longer than a full word transmis- sion time (that is the total time of Start bit a data bits a Parity a Stop bits) The BI indicator is reset whenever the CPU reads the contents of the Line Status Register In the FIFO mode this error is associated with the particular char- acter in the FIFO it applies to This error is revealed to the CPU when its associated character is at the top of the FIFO When break occurs only one zero character is loaded into the FIFO The next character transfer is enabled after SIN goes to the marking state and receives the next valid start bit Note Bits 1 through 4 are the error conditions that produce a Receiver Line Status interrupt whenever any of the corresponding conditions are detected and the interrupt is enabled 16 |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |