Skip to main content
Explorer
July 13, 2020
Question

Can I output the uart tx clock without synchronous mode?

  • July 13, 2020
  • 0 replies
  • 1158 views

I need a clock signal for my hardware that occurs in the middle of each uart tx bit. But I don't want the synchronous mode behavior where receives are based on transmits. I want receives to start when start bits are received on the uart rx pin, which may be in the middle of a transmit byte.

I don't see how to set this up since there is a control bit for the tx clock but I don't see a separate control bit for sync mode.

If this isn't possible then I will set up a timer pwm with a period equal to a bit width and reset the counter when I start a transmission. This will be dependent on clearing the counter at precisely the right time in sw, which may be hard to do.

Any ideas?

    This topic has been closed for replies.