Go to advanced search

by MWpi
Mon Aug 26, 2019 8:21 am
Forum: Troubleshooting
Topic: Rpi4 Uart2 (AMA1) - randomly not working after reboot
Replies: 1
Views: 47

Re: Rpi4 Uart2 (AMA1) - randomly not working after reboot

UPDATE: I have changed to using uart5 and no longer have this problem. I am still trying to work out why the random issue with uart2. SPI/I2C etc are all disabled in /boot/config.txt. Where else can I look to determine if GPIO 0/1 are being taken over by another function? as seen in another post, I ...
by MWpi
Mon Aug 26, 2019 7:08 am
Forum: Troubleshooting
Topic: Rpi4 Uart2 (AMA1) - randomly not working after reboot
Replies: 1
Views: 47

Rpi4 Uart2 (AMA1) - randomly not working after reboot

Hi All, I recently upgraded to a Pi4 from Pi3. I am programming with Freebasic, and am opening /dev/tyAMA1 after adding the appropriate dtoverlay=uart2 in /boot/config.txt. While testing, I was using Putty a lot for debugging, and now that I have everything working correctly, I am noticing an unexpl...
by MWpi
Mon Jul 29, 2019 7:56 pm
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 35
Views: 4589

Re: Pi-4 Activating additional UART ports

Update:

No idea why, but this is now working on AMA1. Must be a combination of me manually using sudo and loading and unloading, as I haven't changed anything in config.txt, or changed pins.

MW
by MWpi
Mon Jul 29, 2019 7:49 pm
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 35
Views: 4589

Re: Pi-4 Activating additional UART ports

Hello, Thanks for the reply. I have installed Buster (full) out of the box, so unless those pins are doing something by default, I don't know. /dev/ttyAMA1 does appear, can be opened, but there is no traffic. Traffic is present when using GPIO14/15 (TX/RX checked) Also, using: ls -l /dev/ttyA* shows...
by MWpi
Mon Jul 29, 2019 10:38 am
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 35
Views: 4589

Re: Pi-4 Activating additional UART ports

Hi All, I have followed the above, but can not figure out how to open an additional UART. I normally use /dev/ttyS0 or serial0, so have tried ttyS2, AMA2, serial2 etc... is there a step I am missing in enabling this, or has the addressing/binding changed with the 4? I have enabled uart2 by adding to...

Go to advanced search