I am now going to design a HAT PCB, which will plug into the GPIO pins (2x20 connector).
I will use this for a project where I have used an USB/RS232 converter to implement the RS232 serial connection during prototyping.
But now since I am making the PCB I thought that the built-in serial port would be a better solution since it should be available on the GPIO pins somewhere (GPIO14-15?). It will be used at 38400 or 19200 baud. No extra bulky USB cable needed.
Questions to make sure I have it right:
1) Are the pins to use GPIO14 (TxD) and GPIO15 (RxD)?
It seems so in an old RPi pin chart I have.
2) What is the Linux device name for this serial port? Needed for the software setup.
I have found a no less than 64 /dev/ttyxx where xx is a number 0..63 plus tty, ttyAMA0 and ttyprintk...
Confusing.
3) Do I have to do something special to enable the serial port/disallow other use of it?
For example I have read that Linux uses a serial port for terminal data during startup, is this on the built-in port?
4) Is the signal level 3.3V digital on these pins?
Probably so, right? I plan on using a MAX3232 level converter for RS232. It converts to/from 3.3 V.