The Non-Volatile Memory (NVM) holds all configuration bits of the PAK device. The NVM is broken into four banks where the first three can be Locked, preventing subsequent reads or writes of the chip’s NVM sequence.
The memory space is divided into four banks, each of which has 512bits (64bytes). There is the option that allows the user to define rules for reading and writing bits in each of these banks via I2C.
Read protection: if the system provides any read commands to the addresses in locked banks, the device will respond with ‘FFH’ in data field.
Write protection: if the system provides any write commands to the addresses in locked banks, the device will acknowledge these commands, but will not do internal writes to the register space.
• Unlocked: no read or write protection;
• Locked for read bits <1535:0>: Bank 0/1/2 is locked for read;
• Locked for write bits <1535:0>: Bank 0/1/2 is locked for write;
• Locked for write all bits: Bank 0/1/2/3 is locked for write;
• Locked for read and write bits <1535:0>: Bank 0/1/2 is locked for read and write;
• Locked for read bits <1535:0> and write of all bits: Bank 0/1/2 is locked for read and Bank 0/1/2/3 is locked for write;
An 16-bit NVM location used to differentiate the NVM code programmed onto the chip. The Pattern ID is the only information accessible from a NVM locked chip.
General Power, Analog and Quick Charge Options can be configured here.
The bandgap must be on for analog components to function correctly. Typically, the bandgap is powered on and off dynamically based on usage in the system to save power; however, the bandgap can be forced on all the time to improve turn on response time of analog components.
There is a selectable delay that is added after the bandgap voltage has become valid. This gives analog blocks time to start up before valid data is acquired.
• Auto-Delay: Default
• 100us
• 550us: select if charge pump is used. See Parameter ‘Power Supply Control mode’ below.
Analog components require a VDD greater than 2.7. For VDDs less than 2.7V, an internal Charge Pump is used to boost the voltage. Let the GreenPAK dynamically turn on and off the charge pump, or keep it always on, always off, or source directly from VDD without the charge pump.
During the POR sequence, a 2kΩ resistor is connected in parallel to any configured pull-up/down resistors. The 10K, 100K and 1M GPIO Pull-Up/Pull-Down resistors are not enabled until POR so the quick-charge option can help inputs get to the right voltage faster, especially if there is significant capacitance.