SPBRG=114 is the correct number.How can u calculate the number 114?Can u teach me?Or is there any simple program that calculates that value?It really works goodu help me soo much i really don't know how to thank u.
SPBRG=114 is the correct number.How can u calculate the number 114?Can u teach me?Or is there any simple program that calculates that value?It really works goodu help me soo much i really don't know how to thank u.
Asking is not a shame but not learning is a SHAME!!!
Great!
The way to calculate the SPBRG is in the datasheet. section 12.1 table 12-1
I set BRGH=1 in the TXSTA value so you use
BaudRate=Fosc/(16(x+1))
few math mods later you get
X=(Fosc/(BaudRate*16))-1
now you can easily do you own VB calculator for that![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks