Skip to main content
Associate III
June 10, 2022
Question

D flip-flop

  • June 10, 2022
  • 2 replies
  • 1126 views

Hi,

I need to normalize the asynchronous transmission to a specific baudrate in real time. I know flip-flop D is fine, but I don't want to add extra elements to the layout. Can I do it with timers or maybe some other solution?

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    June 10, 2022

    TIM can modulate all kinds of signals.

    The STM32 pins have an input synchronize, which is probably a three-stage flip-flop arrangement.

    As I recall that's at the TIMCLK, but has some other filter settings. Perhaps the timer cook-book has some specifics?

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    waclawek.jan
    Super User
    June 11, 2022

    What is the source of asynchronous transmission and what exactly do you mean by "normalize" in this context? A diagram would probably help.

    JW

    PKurz.1Author
    Associate III
    June 11, 2022

    The signal source is the LF antenna connected to the comparator. Then the signal goes to the timer which works in OPM mode. Works as an envelope detector. Duration of high / low depending on signal strength. The baud rate is known and I want the high / low signal to persist according to this speed.