This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Modulating uart output

Hi

I would like to modulate the positive output of the UART using PWM

I know i can feed the UART and a PWM putput into a AND gate no problem, but im wondering if there is a wway to use PPI or something internally to do the same, for example if i can link the state of the uart TX ouput pin to the PWM enable?

Many thanks

Billy

Parents Reply
  • FormerMember
    0 FormerMember in reply to billywalton

    If you want an event for every bit, I would think a "hack" is needed: Split the outgoing UART signal so that one line go to a GPIO. GIPOTE can then be used to trigger on rising edge/falling edge or both. That may be a little closer to what you want to do. Perhaps it is possible to combine it with some logic as well, if needed. 

Children
No Data
Related