| Author |
Message |
nscpl
Joined: 06 Nov 2006 Posts: 13
|
10 May 2007 9:30 Can I use timer for duel purpose |
|
|
|
|
Dear all,
A single Question,
In 8052 architecture,
can I use a timer pin (T0,T1,T2) as baudrate generator as well as a GPIO pin simulteneously.
THNX,
Nikhilesh
|
|
| Back to top |
|
 |
IanP
Joined: 05 Oct 2004 Posts: 6490 Helped: 1542 Location: West Coast
|
10 May 2007 10:02 Re: Can I use timer for duel purpose |
|
|
|
|
T-Pins have nothing to do with baud rate generation ..
So, for example, you can employ, TIMER1 as baud rate generator and pin T1 (or P3.5) as general purpose I/O .. same with the others ..
Regards,
IanP
|
|
| Back to top |
|
 |
Google AdSense

|
10 May 2007 10:02 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
firmware
Joined: 10 Apr 2007 Posts: 68 Helped: 3
|
11 May 2007 4:03 Re: Can I use timer for duel purpose |
|
|
|
|
| As i ever use the timer to generated the buadrate, if your application have many task some time it not stable, you have to beware at this point, if you can find the MCU that have some feature to generated the carrier frequency output or pluse output is better.
|
|
| Back to top |
|
 |