Timeline for UART in my code transmits a character, yet on the oscilloscope I find it gave me another signal
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 2, 2020 at 6:22 | vote | accept | Embedded_Dude | ||
Jul 2, 2020 at 4:18 | comment | added | hobbs | @Forat that's the closest option, it's just that there is no good option with that master clock. | |
Jul 2, 2020 at 3:12 | comment | added | Embedded_Dude |
I am not an expert on Baud Rate calculations, tried measuring the signal with the new baud rate that you gave me, I reduced the time cursor in the oscilloscope to 1/10923 = 92us and and I got the right results. However, I don't understand why I got the wrong baud rate as I used to the recommendation from the User Guide (pg 782). for brclk = 32768 Hz , Baud Rate = 9600 and UCOS16 = 0 they recommended UCBR = 3 and UCBRS = 0x92
|
|
Jul 2, 2020 at 2:38 | history | answered | Justme | CC BY-SA 4.0 |