| поискавой системы для электроныых деталей |
|
AM85C30-8PC датащи(PDF) 36 Page - Advanced Micro Devices |
|
|
|||||||||||||||||||||||||||||
AM85C30-8PC датащи(HTML) 36 Page - Advanced Micro Devices |
|
36 / 68 page ![]() AMD 36 Am85C30 Auto Flag Mode On the NMOS Am8530H, if the transmitter is actively mark idling and a frame of data is ready to be transmit- ted, the Mark/Flag Idle bit must be set to 0 before data is written to WR8, otherwise the opening flag will not be sent properly. However, care must be exercised in doing this because the mark idle pattern (eight 1 bits) is trans- mitted 8 bits at a time, and all 8 bits must have trans- ferred out of the Transmit Shift Register before a flag may be loaded and sent. If data is written into the Trans- mit Buffer (WR8) before the flag is loaded into the Trans- mit Shift Register, the data character written to WR8 will supersede flag transmission and the opening flag will not be transmitted. On the CMOS Am85C30, if bit D0 of WR15 is set to 1 and the ESCC is programmed for SDLC operation, an option is provided via bit D0 of WR7 ′ that eliminates this re- quirement. If bit D0 of WR7 ′ is set to 1 and a character is written to the Transmit Buffer while the transmitter is mark idling, the Mark/Flag Idle bit in WR10 need not be reset to 0 in order to have the opening flag sent because the transmitter will automatically send it before com- mencing to send data. In addition, as long as bit D0 of WR15 and bit D1 of WR7 ′ are set to 1, the CRC transmit generator will be auto- matically preset to the initial state programmed by bit D7 of WR10 (so the Reset Tx CRC Generator command is also not necessary), and the Tx Underrun/EOM latch will be reset automatically on every new frame sent. This ensures that an opening flag and proper CRC genera- tion and transmission will always be sent without proc- essor intervention under varying bus latency conditions. Auto Transmit CRC Generator Preset The NMOS Am8530H does not automatically preset the CRC generator prior to frame transmission. This must be done in software, usually during the initialization rou- tine. This is accomplished by issuing the Reset Tx CRC Generator Command via WR0. For proper results, this command must be issued while the transmitter is en- abled and idling and before any data are written to the Transmit Buffer. In addition, if CRC is to be used, the transmit CRC gen- erator must be enabled by setting bit D0 of WR5 to 1. CRC is normally calculated on all characters between opening and closing flags, so this bit should be set to 1 at initialization and never changed. On the CMOS Am85C30, setting bit D0 of WR15 to 1 will cause the transmit CRC generator to be preset auto- matically every time an opening flag is sent, so the Re- set Tx CRC Generator Command is not necessary. Auto Tx Underrun/EOM Latch Reset On the ESCC, the transmission of the CRC check char- acters is controlled by the Transmit CRC Enable bit in WR5 (D0) and the Tx Underrun/EOM bit in RR0 (D6). However, if the Transmit Enable bit is set to 0 when a transmit underrun (i.e., both the Transmit Buffer and Transmit Shift Register become empty) occurs, the CRC check characters will not be sent regardless of the state of the Tx Underrun/EOM bit. If the Transmit Enable bit is set to 1 when an underrun occurs, then the state of the Tx Underrun/EOM bit and the Abort/Flag on Underrun bit in WR10 (D2) determine the action taken by the transmitter. The Abort/Flag on Underrun bit may be set or reset by the processor, whereas the Tx Underrun/EOM bit is set by the transmit- ter and can only be reset by the processor via the Reset Tx Underrun/EOM Command in WR0. If the Tx Underrun/EOM bit is set to 1 when an underrun occurs, the transmitter will close the frame by sending a flag; however, if this bit is set to 0, the frame data will be appended with either the accumulated CRC characters followed by a flag or an abort pattern followed by a flag, depending on the state of the Abort/Flag on Underrun bit in the WR10 (D2). In either case, after the closing flag is sent, the transmitter will idle the transmission line as specified by the Mark/Flag Idle bit D3 in WR10. Hence, if the CRC check characters are to be properly appended to a frame, the Abort/Flag on Underrun bit must be set to 0, and the Reset Tx Underrun/EOM Com- mand must be issued after the first but before the last character is written to the Transmit Buffer. This will en- sure that either an abort or the CRC will be transmitted if an underrun occurs. Normally, the Abort/Flag on Under- run bit in WR10 should be set to 1 around the same time that the Tx Underrun/EOM bit is reset so that an abort will be sent if the transmitter accidentally underruns, and then set to 0 near the end of the frame to allow the cor- rect transmission of CRC. On the Am85C30, if bit D0 of WR15 is set to 1, the option of having the Tx Underrun/EOM bit reset automatically at the start of every frame is provided via bit D1 of WR7 ′. This helps alleviate the software burden of having to re- spond within one character time when high-speed data are being sent. SDLC/HDLC NRZI Transmitter Disabling On the NMOS Am8530H, if NRZI encoding is being used and the transmitter is disabled, the state of the TxD pin will depend on the last bit sent. That is, the TxD pin may either idle in a Low or High state as shown in Figure 18. On the CMOS Am85C30, an option is provided that al- lows setting the TxD pin High when operating in SDLC mode with NRZI encoding enabled. If bit D0 of WR15 is set to 1, then bit D3 of WR7 ′ can be used to set the TxD pin High. Note that the operation of this bit is independ- ent of the Tx Enable bit in WR5. The Tx Enable bit in WR5 is used to disable and enable the transmitter, |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |