Page 1 of 1

Initial pin/port configuration/status for L series silicon

Posted: Mon Apr 26, 2010 5:30 pm
by Folknology
What is the default configuration and state of a 1 bit port/pin (or others for that matter) after reset.

i.e. what would be the state (and config) of any of the unused 1 bit ports (excluding SPI pins) on the L1-64 when it access the flash. Obviously I am assuming a default SPI boot process in this example.

I couldn't find this in the docs, I assume it is consistent.

Re: Initial pin/port configuration/status for L series silicon

Posted: Mon Apr 26, 2010 5:36 pm
by Woody
Folknology wrote:What is the default configuration and state of a 1 bit port/pin (or others for that matter) after reset.
When none of the ports connected to a pin are enabled, the internal pullups (G4) / pulldowns (L1) are active. Note that these can not be relied upon to drive out of the XCore: if you need a specific external value you should provide an external pullup/down strong enough to overcome the internal ones.

Ports are brought into use by declaring them within XC.