![]() |
Having trouble with serial communication?
1 Attachment(s)
If you ever do, check the datasheet, check the USART block diagrams, etc., your microcontroller may not be sending out the shifted data as you expect...
[ATTACH]16156[/ATTACH] |
Multiple CR1 and CR2 registers. No pin for receive or transmit. No output on the receiver clock. No output from the interrupt control. It all looks fine to me.
Oh wait now I see the real problem, the formatting of the SCLK pin is overlapped upon itself. Yeah, that could cause some difficulty. |
[QUOTE=LaurV;459968]If you ever do, check the datasheet, check the USART block diagrams, etc., your microcontroller may not be sending out the shifted data as you expect...
[ATTACH]16156[/ATTACH][/QUOTE] Excellent! I've always suspected such things, but never looked close enough I guess. Norm |
[QUOTE=Spherical Cow;460059]Excellent! I've always suspected such things, but never looked close enough I guess.
Norm[/QUOTE]IOW, RTFM, HTH. HAND. |
| All times are UTC. The time now is 16:48. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.