Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/24/04 06:20
Read: times


 
#81800 - UART problem with silicon lab chips
I am using two chips from silicon laboratories, namely, C8051f120 and C8051f320. I wanted to use UART of these chips for communicating with a PC.
With my f320 chip I had following problem:-
I initialised the clock first in my program. Then as per formula in the book I calculated reload value for Timer1.
I tried with different baud rates namely 9600 and 115200.(I want to use the latter.)
Then in polling mode i am writing some data which adc updates to uart.
I am able to see some data on tx pin but I do not receive anything on the PC. with simple printf in other programs chip doesn't give any problem but doesn't work like this.
on oscilloscope i get the data. in debug mode also i am able to see the interrupt.
On f120 communication happens but my formula fails miserably at lower clock frequencies.
How can this baud rate problem be solved?


List of 3 messages in thread
TopicAuthorDate
UART problem with silicon lab chips            01/01/70 00:00      
   Code please            01/01/70 00:00      
   Config2 from SiLabs            01/01/70 00:00      

Back to Subject List