Jump to content

Recommended Posts

Posted

Hi guys,

 

Since I'm out of GPIOs I would like to reuse the Debug UART0 RX/TX in "release" if no serial module is attached.

I'm using a nanopi Duo2 but that question applies to the general strategy.

 

The NanoPi UART0 RX can be used as PA5, PWM output.

 

I did already play successfully with overlay files for other purposes so I know a little how that works.

 

Can I create a overlay with shared usage, and depending on the loaded module (tty*) the RS232 is

operating, or when this is stopped i can use the PWM out? 

Is this "Shared overlay" in general the right approach? If yes could someone point me to some hints

how to craft such a sharing overlay?

 

Sure I need to figure out in general how to setup PWM but thats a different story i think.

 

 

      Thilo

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines