ECPI Power
Connecting the two boards together can fry the power circuitry. This page describes what to do, and what not to do.
There are three types of pins in the RPI Zero 40 pin header.
- Ground. The ground pins should always be connected.
- Power. The simple solution is to never connect power pins. Clip them.
- Signal. This one is trickiest.
Power
The simplet solution is to always cut the power pins, but leave the ground pins in place. Then power up the IcePi Zero first, then the Raspberry Pi. Power down the Raspberry Pi, then the IcePi Zero. The reason is that the ICEPi is receiving signals, and the RPI zero has pull up down resistors, so everything should be stable on start up.
Signals
The default state for all RPi Zero Bank 0 pins will be inputs with either a pull up or pull down. The default pull state can be found in the BCM2835 peripherals specificaion section 6.2 table 6-31 (see the "Pull" column). It will require positive software configuration to change the state of these pins.
If they have pull up or pull down resistors, there is no metastability, there is no problem.
The one exception to this rule is ID_SC and ID_SD. GPIO0 (ID_SD) and GPIO1 (ID_SC) will be switched to ALT0 (I2C-0) mode and probed for an EEPROM at boot time. These pins will revert to inputs once the probe sequence has completed.
The one problem is on pins that are used for eeprom configuration. They expect a signal, We need to set a weak pull up or pull down resiston on the FPGA. Which one? And then disable it once the system starts operating it. This command partially solves this problem.
force_eeprom_read=0
Then the two EEPROM pins start off in their default state. But GPIO1, pin 28 in default state does not have a pull up nor down resistor, so best to set it as pull up or pull down until there is a lock on the PLL.
Thank you very much for the people on Discord who raised this topic.
Built with the Forest WIki.
User contributed content is licensed under a
Creative Commons CC By 4.0 License.