| ??? 12/02/07 13:31 Modified: 12/02/07 13:35 Read: times |
#147713 - correct, but there is s small problem Responding to: ???'s previous message |
When the poster do not state that his device differs from the 'standard' the poster should expect answers based on 'the standard'
Thus, unless advised, I usually do not look at datasheets for devices I do not use, but I got suspicious (after all you have chosen an Atmel) and was waiting for a lenghty process to complete so I decided to take a look. For 14,745 MHz I get RCAP2H = 0FFH and RCAP2L = 0FCH, I assume those are the reload values for Timer 2. correct, but there is s small problem from the datasheet "The AT89LP2052/LP4052 has two 16-bit Timer/Counter registers: Timer 0 and Timer 1." the device you have chosen do not have a timer 2. Now, all may not be lost, it is not my job to read a datasheet for you, but there is some language about "enhanced T0 and T1" and without verifying it I think with this particular device you can do it with T1. Try sticking some reload values (I would start with 4 (100h-0fch) into the formula shown in the UART section of the datasheet. Erik |
| Topic | Author | Date |
| master slave 8052 configuration | 01/01/70 00:00 | |
| Options | 01/01/70 00:00 | |
| Wait a minute - Bidirectional...? | 01/01/70 00:00 | |
| MOSI TO MOSI | 01/01/70 00:00 | |
| Eh?? | 01/01/70 00:00 | |
| page 40 | 01/01/70 00:00 | |
| Out of date? | 01/01/70 00:00 | |
| Not bidirectional | 01/01/70 00:00 | |
| use RS485 transmitters and receivers | 01/01/70 00:00 | |
| That is not how it works | 01/01/70 00:00 | |
| just clearing it up | 01/01/70 00:00 | |
| UART tied up - EZ-LCD rate question | 01/01/70 00:00 | |
| crystal frequencies and timer 1 reload values | 01/01/70 00:00 | |
| A common crystal | 01/01/70 00:00 | |
| what is confusing? | 01/01/70 00:00 | |
| Synonyms | 01/01/70 00:00 | |
| crystal chosen | 01/01/70 00:00 | |
| read, READ, read the thread | 01/01/70 00:00 | |
| read-ed | 01/01/70 00:00 | |
| Kiel calculator revisit | 01/01/70 00:00 | |
| correct, but there is s small problem | 01/01/70 00:00 | |
| yes device differs | 01/01/70 00:00 | |
| unless you have a very fast micro ... | 01/01/70 00:00 | |
ATMEL Baud rate calculator | 01/01/70 00:00 |



