I want to be able to access the serial console of B, then access the serial console of N from B.
However, for the I am not being able to figure out how to have both the uart functional at the same time such that :
- B.serial0 is active at on B.{GPIO14/GPIO15} and connected to a USB/serial converter.
- N'.serial0 is active on N.{GPIO14/GPIO15} and needs to be connected to some non-SPI and non I2C pins on B.GPIO.
What I am hoping to do is to enable B.serial1 on some non-SPI and non-I2C pins of B.GPIO (GPIO0 and GPIO5 look great for it on https://pinout.xyz/pinout/uart# - Pins 27/29)
How do I go about such a pin assignment, so that I can talk to N.serial0 using B.serial1 ?
I have read https://www.raspberrypi.com/documentati ... ring-uarts end to end, I have also searched the forums, seen the disable-bt overlay (https://github.com/raspberrypi/linux/bl ... verlay.dts) and researched a lot. That has not given me any clear answers.
EDIT: After reading the datasheet for the bcm2835 peripherals I see that what I want is not possible:
- Both the UARTs are wired to the same sets of alternate pins
- The first possible alternate pins are beyond GPIO27, which is the last available GPIO pin on the 40 pin header:
Code: Select all
samveen@zero2w:~ $ pinout |sed 's/\s/\n/g' |grep GPIO |sort -tO -k2n |tail -n1
GPIO27