SNAA348 April 2021 TPL1401
The following shows a pseudo code sequence to program the initial register values to the NVM of the TPL1401. The values given here are for the design choices made in the Design Notes.
//SYNTAX: WRITE <REGISTER NAME (Hex code)>, <MSB DATA>, <LSB DATA>
//Power-up the device, internal reference disabled
WRITE GENERAL_CONFIG(0xD1), 0x01, 0xE0
//Write digipot code 12-bit aligned)
WRITE DPOT_POSITION(0x21), 0x06, 0x60
//Write settings to the NVM
WRITE PROTECT(0xD3), 0x00, 0x10