JAJSI90A November 2019 – April 2020 DAC60502 , DAC70502 , DAC80502
PRODUCTION DATA.
The DACx0502 requires a simple software initialization process based on the interface, power supply, and reference selection. The initialization steps are as follows:
The following text shows the pseudocode to get started with the DACx0502:
//SPI Settings
//Mode: Mode-1 (CPOL: 0, CPHA: 1)
//CS Type: Active Low, Per Packet
//Frame length: 24
//SYNTAX: <WRITE REGISTER (HEX ADDRESS)>, <HEX DATA>
//Disable internal reference (only in case of external reference)
WRITE CONFIG (0x03), 0x0100
//Select REFDIV=1 (reference divided by 2) and GAIN=1 (gain at both the DAC outputs is 2)
WRITE GAIN (0x04), 0x0103
//Write mid-code to DACA
WRITE DAC-A (0x08), 0x7FFF
//Write Full-code to DACB
WRITE DAC-B (0x09), 0xFFFF