![]() |
Exp Header UART for TTL is True Serial Console (very nice) - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32) +---- Forum: Pi2, Euler and Exp GPIO Ports (https://forum.pine64.org/forumdisplay.php?fid=34) +---- Thread: Exp Header UART for TTL is True Serial Console (very nice) (/showthread.php?tid=1452) Pages:
1
2
|
RE: Exp Header UART for TTL is True Serial Console (very nice) - MarkHaysHarris777 - 08-01-2016 hi Peterz, Those RS232 modules are very interesting; actual 9pin shells ! (takes me back a few years) The six uart(s) are as follows (of which you found five... ): uart0: EXP pins pb8 & pb9 duplicated on euler bus pin(29) & pin(30) uart1: wifi|bt pins pg6 & pg7 uart2: pi bus pins pb0 & pb1 uart3: euler bus pd0 & pd1 uart4: euler bus pd2 & pd3 S-uart wifi|bt pl2 & pl3 If you use the serial console, bluetooth, and wifi, then only three uart(s) are available to you for serial comm... uart2-4. I use the wifi and bt module, so S-uart and uart1 are out... i usually use the serial console too... so that leaves me uart3 & uart4 on the euler bus, and uart2 on the pi bus. marcushh777 RE: Exp Header UART for TTL is True Serial Console (very nice) - peterz - 08-01-2016 (08-01-2016, 09:49 AM)MarkHaysHarris777 Wrote: hi Peterz, Hi marcushh777 , yes, I do not plan to use wifi/BT module. I disabled uart0 as well (to have more uarts available). Any idea how to enable S-uart? Somewhere on this forum someone made BT working. So this UART should be usable somehow. Now I experimented with ch341 and FTDI USB to RS232 converters through powered USB HUB. Comparing those small modules with USB to RS232 adapters. Adapters are ugly. ![]() CH341 are cheap but doesn't work with all devices. FTDI works with all devices but costs several times more than ch341. Code: debian@pine64:~$ dmesg |grep tty Here is the picture. If I will combine both options I will have to play with UDEV rules (did that in the past, just have to find config). BR, Peter RE: Exp Header UART for TTL is True Serial Console (very nice) - MarkHaysHarris777 - 08-01-2016 All good questions. I too am interested in using s-uart/ ... at the moment I don't know how, but will be attempting to find out. I'm assuming it will show up in the /dev/ folder as a device (if it has a driver on it). The may take some experimenting. You probably know that you can jumper across the Tx and Rx pins of a uart device to echo characters on either minicom, or 'screen'. ( I often use 'screen' rather than 'minicom' these days ). You can also setup screen to talk on uart3 and listen on uart4 (and visa vera from another screen) to locally test uart ports. I have actually not tried to access S-uart yet (other than bt) so I know it works, just not sure how to access it with minicom ! let me know here what you find, and I'll do the same marcushh777 |