logistic_guy
Senior Member
- Joined
- Apr 17, 2024
- Messages
- 1,549
here is the question
Find the UBRR for the following baud rates (in both decimal and hex) if XTAL =16 MHz and U2X =0.
(a) 9600
(b) 19200
(c) 38400
(d) 57600
my attemb
it's easy to find the UBRR because there's formula
UBRR=16×BRXTAL−1=16×960016000000−1=9610000−1
=103.2
how to convert this to hexadecimal and what's the difference between U2X =0 and U2X =1?
it ask me same question with U2X =1
Find the UBRR for the following baud rates (in both decimal and hex) if XTAL =16 MHz and U2X =0.
(a) 9600
(b) 19200
(c) 38400
(d) 57600
my attemb
it's easy to find the UBRR because there's formula
UBRR=16×BRXTAL−1=16×960016000000−1=9610000−1
=103.2
how to convert this to hexadecimal and what's the difference between U2X =0 and U2X =1?
it ask me same question with U2X =1
