Hi,
I have a gps I wish to connect to a pi zero, using the uart.
It works with a pi zero w, but not with a pi zero.
The zero w is permanently wired to a piece of veroboard, while the zero has a connector attached to a pcb. I want to use the pcb.
I am accessing via /dev/serial0, which uses the PL011 on the zero, rather than the mini uart on the zero w.
Uart configuration is identical in both zeros. (according to termios output).
I have an oscilloscope, and if the gps connects to the pi zero, the transmitted serial signal dies. I double checked this by applying a generated signal to both pins 8 and 10 on the interface, which are supposed to be the uart Txd and Rxd respectively.
Pin 10 (Rxd) kills the generated signal, as if it were configured to be an output, while pin 8 (Txd) does not affect the signal at all, while if it were configured to be an output, it should kill the signal..
The zero w appears to have a bit less power, and the generated signal is only half killed on pin 8 (Txd), while the signal on pin 10 (Rxd) is unchanged, as would be expected.
So I conclude that at least one reason my gps is not working is that the gpio for pin 10 is configured as an output on the zero, when it should be an input.
I am using raspbian lite, dated 26 September 2019, but updated with packages.