Don't Connect Anything to GPIO Pins 27 and 28

Forum for discussion about the Langstone Microwave Transceiver that shares some features with the Portsdown. Wiki: https://wiki.microwavers.org.uk/Langstone_Project
Post Reply
G8GKQ
Site Admin
Posts: 2814
Joined: Sun Mar 22, 2009 1:21 pm

Don't Connect Anything to GPIO Pins 27 and 28

Post by G8GKQ » Fri Sep 11, 2020 3:58 pm

One of the Band switching outputs available on the Langstone is GPIO Pin 28. On the Raspberry Pi 4, GPIO pins 27 and 28 are reserved for the EEPROM associated with Raspberry Pi "HATs".

I have found that if some switching modules are connected to pin 28, newly-imaged Raspios SD cards will not boot and will freeze at the Rainbow screen.

The Pin allocation table for the Portsdown 4 will be modified to avoid these pins. More news to come.

Dave, G8GKQ

g4eml
Posts: 691
Joined: Thu Apr 26, 2018 9:36 am

Re: Don't Connect Anything to GPIO Pins 27 and 28

Post by g4eml » Fri Sep 11, 2020 4:22 pm

Thanks Dave,

When you decide which pin you are using for Portsdown I will change Langstone to be the same.

Colin.

g0mjw
Posts: 2353
Joined: Sat Sep 20, 2014 9:15 am

Re: Don't Connect Anything to GPIO Pins 27 and 28

Post by g0mjw » Fri Sep 11, 2020 5:42 pm

G8GKQ wrote:
Fri Sep 11, 2020 3:58 pm
One of the Band switching outputs available on the Langstone is GPIO Pin 28. On the Raspberry Pi 4, GPIO pins 27 and 28 are reserved for the EEPROM associated with Raspberry Pi "HATs".

I have found that if some switching modules are connected to pin 28, newly-imaged Raspios SD cards will not boot and will freeze at the Rainbow screen.

The Pin allocation table for the Portsdown 4 will be modified to avoid these pins. More news to come.

Dave, G8GKQ
Oh dear. I think I already have...

G4FKK
Posts: 140
Joined: Sun May 05, 2019 12:15 pm

Re: Don't Connect Anything to GPIO Pins 27 and 28

Post by G4FKK » Sat Sep 12, 2020 12:25 am

I have an Arduino monitoring pin 28 but have had no boot-up issues with that - unless it's causing that strange IP effect Dave?

73, Martin - G4FKK

g0mjw
Posts: 2353
Joined: Sat Sep 20, 2014 9:15 am

Re: Don't Connect Anything to GPIO Pins 27 and 28

Post by g0mjw » Sat Sep 12, 2020 8:36 am

Probably just a firmware boot from EPROM option someone over at the developers unilaterally decided to change one day. to test their widget without telling everyone else or forgetting to change it back... hopefully it can be disabled. PIN28 has relay 1 on it in the Langstone. It's worked fine up to now so hopefully it will work again.

Mike

g4eml
Posts: 691
Joined: Thu Apr 26, 2018 9:36 am

Re: Don't Connect Anything to GPIO Pins 27 and 28

Post by g4eml » Sat Sep 12, 2020 9:40 am

To retain compatibility with existing systems I will probably just duplicate those two pins with two new ones. If existing systems work OK then they will continue to do so. If people have boot hangups they can use the two new pins instead.

G8GKQ
Site Admin
Posts: 2814
Joined: Sun Mar 22, 2009 1:21 pm

Re: Don't Connect Anything to GPIO Pins 27 and 28

Post by G8GKQ » Sat Sep 12, 2020 3:42 pm

In the next Portsdown 4 software update, I will move Band D0, which was on GPIO physical pin 28, to be output on GPIO pin 32. It would make sense to move the Langstone Band D7 output to the same pin - thanks Colin.

This change will leave GPIO pins 27 and 28 with no connection as recommended by the Raspberry Pi foundation.

The issue appeared to be that these pins are used for i2c signalling (with a potential Raspberry Pi HAT) during the early stages of the boot process of a brand new SD Card, and the boot would hang if the load on one of the pins was too high to enable it to reach the Logic high threshold within the i2c signalling specification.

SD Cards that had already been built as Portsdown or Langstone cards seemed to skip this step and were not affected by the issue.

Dave, G8GKQ

Post Reply

Return to “The Langstone Microwave Transceiver”