??? 08/03/11 13:11 Read: times |
#183176 - AT89S52 uart calculations with T1 or T2 Responding to: ???'s previous message |
sir, i have to connect finger print module to 89s52 uc.
but. this module is works serialy at 57600 baud rate. so how can we communicate with 89s52 microcontroller.??? UART calculations for classic 8051 as AT89S52 using Timer1 or Timer2 are presented there: http://www.mcu4u.eu/calculators/#calc_8051UART_T1 http://www.mcu4u.eu/calculators/#calc_8052UART_T2 57600 ==> For AT89S52 at 12cycles, a crystal of 11.0592MHz, using Timer1 and SMOD=1 gives TH1reload=0xFF. For AT89S52 at 6cycles, a crystal of 12MHz, using Timer2 for uart gives RCAP2H:RCAP2LReload = 0xFFF3. Also, a discussion (with success result) about fingerprint module is presented here: http://www.8052.com/forum/read/181691 |
Topic | Author | Date |
baud rate | 01/01/70 00:00 | |
57600 baur rate | 01/01/70 00:00 | |
or use Timer2 as baudrate generator | 01/01/70 00:00 | |
AT89S52 uart calculations with T1 or T2 | 01/01/70 00:00 | |
use this | 01/01/70 00:00 |