2.2.1 Programming the PGA450-Q1 DEVRAM or OTP Memory
The PGA450Q1EVM-S memory is preprogrammed to operate from OTP memory, meaning that the PGA450-Q1 device is permanently programmed with a set of predefined commands as described in Section 2.3. If the user prefers to customize or modify the firmware for different commands, the PGA450-Q1 device must be replaced with a pristine PGA450-Q1 device, and follow the instructions provided in this section. Go to Section 2.3 if the device will not be replaced. Use the steps that follow to program the device for DEVRAM or OTP memory.
- Connect a 12-V system supply voltage to the EVM at J2-1 (MAIN) and connect the SPI pins of the EVM at J3 to the SPI pins on the TI GER board.
Table 2. TI GER to PGA450Q1EVM-S Connections
Connection |
TI-GER Pin |
EVM Pin |
SPI-MISO |
1 |
J3-1 (SDO) |
SPI-SCLK |
3 |
J3-3 (SCLK) |
SPI-CS |
5 |
J3-4 (CS) |
SPI-MOSI |
7 |
J3-2 (SDI) |
UART-TXD |
10 |
J4-3 (RXD) |
UART-RXD |
20 |
J4-4 (TXD) |
GND |
4 |
J2-4 (GND) |
- Connect the TI GER board to the PC.
- Open the PGA450Q1EVM GUI.
- Click the OFF (Micro Reset) button on the ESFR tab.
- Click the READ ALL button to read all registers on the ESFR tab. Use register B4 (TEMP_SENS) as an indicator to ensure the device is operating and communicating properly through SPI. Proper communication can be verified if the data of the register reads a value other than 0x00 or 0xFF.
- Under the OTP tab, click Check OTP Status button. If the PGA450-Q1 device has not been previously been OTP programmed, the status displays OTP Empty.
- Connect the 8-V supply to the VPROG_OTP pin on the sensor to program the OTP memory, to program the DEVRAM memory for the first time, or if the OTP status displays OTP Empty.
- If programming DEVRAM memory, go to the DEVRAM tab. For a pristine IC that has never been programmed (OTP status displays OTP Empty), check the Program OTP Memory Also box for the GUI. This option programs both the OTP and DEVRAM memory. The OTP memory will be programmed with a long-jump statement to redirect the firmware to load into and be run from the DEVRAM memory. If programming OTP memory for production release or a permanently coded PGA450-Q1 device, go to the OTP tab, click Load .HEX File into GUI, and locate the appropriate OTP-based .HEX file.
- Programming and verification of the device occurs automatically.
- When the device is verified, disconnect the VPROG_OTP supply voltage (if applicable). Do not disconnect system supply voltage if DEVRAM has been programmed, because the DEVRAM memory will clear when the PGA450-Q1 device is power cycled.