Serial port cable
#15
It's common for chips to have reset strapping on some of their pins.  Low strength pull-ups or pull-downs are used to set the pin high or low on reset and this is used to configured the chip in some way.  Usually there are several for booting, e.g. which device(s) to try or what voltage the eMMC chip should use, etc.  Then in normal use the pins are driven with enough power to counter the weak pulls from the reset strapping resistors.

So it could be the uart pin shouldn't be held the way the serial cable is holding it on reset, and this is misconfiguring the SoC.

Also the 3.0 V line that powers the IO pins in the uart block is probably not up instantly.  There is usually a complex process with a PMIC that brings all the different power rails up on some order.  So maybe uart RX is held at 3.3V externally and the Vcc supply for that pin is still at 0V.  Bad things can happen in this case.  That block might try to draw power through the RX IO pin since it's at a higher voltage than the supply pin.

I would have designed the board with a built in RS232-USB chip.  The USB side is powered via the USB bus, so it does not disappear/reappear on the host device every time the PBP reboots or resets.  This is really annoying.  Minicom on Linux handles it admirably, and automatically re-connects quickly when the USB serial device reappears.  Windows hyperterm is horrible and needs to be restarted.  So you can never see the console from just after reset.

The RS-232 side of the chip is powered from the same 3.0V rail that powers the IO block in the RK3399 with the UART.  That way the voltage is exactly correct!  And it means the 232-USB chip will not power the IO pins before the RK3399 has power to those pins' block.

And then you could get the serial console with a simple micro usb cable.  Wouldn't that be nice!
  Reply


Messages In This Thread
Serial port cable - by bsammon - 03-06-2020, 04:11 PM
RE: Serial port cable - by tllim - 03-09-2020, 06:00 PM
RE: Serial port cable - by z4v4l - 03-09-2020, 07:06 PM
RE: Serial port cable - by danielt - 03-10-2020, 02:16 AM
RE: Serial port cable - by zaius - 03-10-2020, 11:56 AM
RE: Serial port cable - by danielt - 03-11-2020, 08:53 AM
RE: Serial port cable - by zaius - 03-11-2020, 01:00 PM
RE: Serial port cable - by danielt - 03-11-2020, 02:41 PM
RE: Serial port cable - by zaius - 03-13-2020, 12:37 PM
RE: Serial port cable - by danielt - 03-16-2020, 08:18 AM
RE: Serial port cable - by zaius - 03-16-2020, 12:44 PM
RE: Serial port cable - by vrabac - 03-10-2020, 12:25 AM
RE: Serial port cable - by z4v4l - 03-11-2020, 03:37 PM
RE: Serial port cable - by danielt - 03-12-2020, 04:48 AM
RE: Serial port cable - by xyzzy - 11-18-2020, 09:59 PM
RE: Serial port cable - by mattpenn - 03-03-2021, 08:32 AM
RE: Serial port cable - by tllim - 03-04-2021, 12:49 AM
RE: Serial port cable - by mattpenn - 03-04-2021, 10:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  serial cable 2023 thread bsammon 2 1,715 07-20-2023, 10:13 AM
Last Post: bsammon
  How are people finding the type-A USB 3.0 port? chris88233 1 1,250 10-01-2022, 01:04 AM
Last Post: LivingLinux
  Fried the charger port and USB leapylee 1 1,899 01-12-2022, 03:32 AM
Last Post: Danct12
  Pinebook Pro - Display cable broken? snokis 0 1,768 08-17-2021, 11:30 AM
Last Post: snokis
  [SOLVED] Red light flashes next to barrel-port Carl 31 47,501 01-18-2021, 09:34 AM
Last Post: dsimic
  Serial console accessible from outside as400 4 5,841 10-23-2020, 11:21 AM
Last Post: as400
  Pinebook Pro doesn't boot most of the time unless connected via USB-serial! nib0 16 15,326 09-29-2020, 10:24 PM
Last Post: wdt
  Charging via USB-C Port tyha 15 22,033 07-22-2020, 08:15 PM
Last Post: iscmob
  Save your sanity: If you buy a PBP, buy a serial adapter and USB to eMMC adapter. Syonyk 11 14,291 06-30-2020, 10:28 AM
Last Post: manawyrm
Photo Looking for a PBP NVMe/SSD cable ab1jx 13 16,016 06-07-2020, 01:24 PM
Last Post: ab1jx

Forum Jump:


Users browsing this thread: 1 Guest(s)