Repurpose debug UART as GPIO
#3
(04-11-2023, 06:26 PM)KC9UDX Wrote: Without revisiting the schematics, I'll say "no" until someone confirms it.

But converting RS232 to as much GPIO as you care to multiplex is do-able, even with off-the-shelf controllers.  However I'm not aware of any that are cheap (think obscure industrial automation) nor any that would work at the PBPs baud rate.  But if you're savvy you could make your own controller with a BASIC Stamp, Arduino, or even RockPro64.

What's even easier and much cheaper, is USB GPIO.  You can even hide this inside the case (I've already thought about doing this).

I was planning on rolling my own solution for UART <--> GPIO conversion with an AVR if I needed to. But USB GPIO might be easier - Are there any USB pads outside the shielding (I'm 100% not removing it if not necessary)?

Additionally, is it straightforward to disable the debug console on the serial port? So that it doesn't interfere with the GPIO conversion. Is it simply the same steps as it might be on a Raspberry Pi board?
  Reply


Messages In This Thread
Repurpose debug UART as GPIO - by wishindo - 04-11-2023, 02:27 AM
RE: Repurpose debug UART as GPIO - by KC9UDX - 04-11-2023, 06:26 PM
RE: Repurpose debug UART as GPIO - by wishindo - 04-12-2023, 10:40 PM
RE: Repurpose debug UART as GPIO - by KC9UDX - 04-13-2023, 07:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using UART VoxUnius 13 16,211 11-22-2019, 05:01 AM
Last Post: Arwen

Forum Jump:


Users browsing this thread: 1 Guest(s)