| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
NOTES USING ST623XB/ST628XB UART 8-bit Micro Application Team
Top Searches for this datasheetNOTES USING ST623XB/ST628XB UART 8-bit Micro Application Team AVOIDING SPURIOUS INTERRUPT DURING RESET Care must taken during RESET, reception RXD/PD4 line stuck zero. this case, high-to-low transition will latched inside UART cell RESET structure, even real falling edge occured RXD/PD4 line. This active falling edge will acknowledged UART cell valid receive start bit. UART clocks clocks bit) then needed receive burst bits start bit+8 data+1 parity bit+1 stop bit). Receive Interrupt flag RXRDY (bit7 UART Control Register) after bits have been received enabled, Receive interrupt generated. avoid this early UART interrupt, enabling UART receive interrupt should ONLY occur after software delay sequence insterted just after RESET jump instruction. RXRDY flag must also cleared before when enabling UART Receive Interrupt first time. length time delay depends selected operating Baud rate (bit BR2.BR0 UART Control Register). following tables show required timing with respect selected baud rate: 0.00 0.00 0.00 0.00 1.00 1.00 1.00 1.00 0.00 0.00 0.00 0.00 1.00 1.00 1.00 1.00 0.00 0.00 1.00 1.00 0.00 0.00 1.00 1.00 0.00 0.00 1.00 1.00 0.00 0.00 1.00 1.00 0.00 1.00 0.00 1.00 0.00 1.00 0.00 1.00 0.00 1.00 0.00 1.00 0.00 1.00 0.00 1.00 Fosc division 6656 3328 1664 RESERVED Fosc division 6656 3328 1664 RESERVED Fosc=8Mhz 1200 2400 4800 9600 19200 31200 38400 RESERVED Fosc=4Mhz 1200 2400 4800 9600 15600 19200 RESERVED Time Delay Required 9.6ms 4.8ms 2.4ms 1.2ms 600µs 400µs 300µs RESERVED Time Delay Required 19.2ms 9.6ms 4.8ms 2.4ms 1.2ms 740µs 600µs RESERVED AN1016/0398 NOTES USING ST623XB/ST628XB UART following delay loop sequence proposed Reset Uartcr, count, call tempo Uartcr, Select faster Baud rate (Uart control reg.) count 01h, tempo takes approximately 100us. this example, time 300us Fosc 8MHz clear RXRDY flag (bit7) enable UART interrupts Start tempo loop1 loop2 endtemp count endtemp jrnz loop2 count jrnz loop1 total temporisation: 62cyc*count 8cyc 8cyc need 62cyc 100us Fosc 8Mhz .org 0FFEh Reset IMPORTANT NOTES: configuration (BR2=1, BR1=1, BR0=0) faster baud rate should chosen after reset order short time delay. This early UART receive interrupt feature used detect after reset RXD/PD4 line (stuck '0') not. NOTES USING ST623XB/ST628XB UART SOFTWARE INCLUDED THIS NOTE GUIDANCE ONLY. SGS-THOMSON SHALL HELD LIABLE DIRECT, INDIRECT CONSEQUENTIAL DAMAGES WITH RESPECT CLAIMS ARISING FROM SOFTWARE. Information furnished believed accurate reliable. However, SGS-THOMSON Microelectronics assumes responsibility consequences such information infringement patents other rights third parties which result from use. license granted implication otherwise under patent patent rights SGS-THOMSON Microelectronics. Specifications mentioned this publication subject change without notice. This publication supersedes replaces information previously supplied. SGS-THOMSON Microelectronics products authorized critical components life support devices systems without express written approval SGS-THOMSON Microelectronics. ©1998 SGS-THOMSON Microelectronics rights reserved. Purchase Components SGS-THOMSON Microelectronics conveys license under Philips Patent. Rights these components system granted provided that system conforms Standard Specification defined Philips. SGS-THOMSON Microelectronics Group Companies Australia Brazil Canada China France Germany Italy Japan Korea Malaysia Malta Morocco Netherlands Singapore Spain Sweden Switzerland Taiwan Thailand United Kingdom U.S.A. Other recent searchesPC-02-080 - PC-02-080 PC-02-080 Datasheet MO-187 - MO-187 MO-187 Datasheet EE-169 - EE-169 EE-169 Datasheet
Privacy Policy | Disclaimer |