| Electronic Components Datasheet Search |
|
MAX1021 Datasheet(PDF) 29 Page - Maxim Integrated Products |
|
|
|||||||||||||||||||||||||||||
MAX1021 Datasheet(HTML) 29 Page - Maxim Integrated Products |
|
29 / 47 page ![]() 10-Bit, Multichannel ADCs/DACs with FIFO, Temperature Sensing, and GPIO Ports ______________________________________________________________________________________ 29 Table 9 details the four scan modes available in the ADC conversion register. All four scan modes allow averaging as long as the AVGON bit, bit 4 in the averaging register, is set to 1. Select scan mode 10 to scan the same channel multiple times. Clock mode 11 disables averaging. For example, if AVGON = 1, NAVG[1:0] = 00, NSCAN [1:0] = 11 and SCAN [1:0] = 10, 16 results are written to the FIFO, with each result being the average of four conversions of channel N. DAC Select Register Write a command byte 0001XXXX to the DAC select register (as shown in Table 9) to set up the DAC inter- face and indicate that another word will follow. The last 4 bits of the DAC select register are don’t-care bits. The word that follows the DAC select-register command byte controls the DAC serial interface. See Table 20 and the DAC Serial Interface section. Reset Register Write to the reset register (as shown in Table 11) to clear the FIFO or to reset all registers to their default states. Set the RESET bit to one to reset the FIFO. Set the RESET bit to zero to return the MAX1020–MAX1023/ MAX1057/MAX1058 to their default power-up state. All registers power up in state 00000000, except for the setup register that powers up in clock mode 10 (CKSEL1 = 1). Set the SLOW bit to one to add a 15ns delay in the DOUT signal path to provide a longer hold time. Writing a one to the SLOW bit also clears the con- tents of the FIFO. Set the FBGON bit to one to force the bias block and bandgap reference to power up regard- less of the state of the DAC and activity of the ADC block. Setting the FBGON bit high also removes the programmed wake-up delay between conversions in clock modes 01 and 11. Setting the FBGON bit high also clears the FIFO. GPIO Command Write a command byte to the GPIO command register to configure, write, or read the GPIOs, as detailed in Table 12. Write the command byte 00000011 to configure the GPIOs. The eight SCLK cycles following the command byte load data from DIN to the GPIO configuration reg- ister in the MAX1020/MAX1021. The 16 SCLK cycles Table 10. DAC Select Register BIT NAME BIT FUNCTION —7 (MSB) Set to zero to select DAC select register. —6 Set to zero to select DAC select register. —5 Set to zero to select DAC select register. —4 Set to one to select DAC select register. X3 Don’t care. X2 Don’t care. X1 Don’t care. X0 Don’t care. Table 11. Reset Register BIT NAME BIT FUNCTION —7 (MSB) Set to zero to select ADC reset register. —6 Set to zero to select ADC reset register. —5 Set to zero to select ADC reset register. —4 Set to zero to select ADC reset register. —3 Set to one to select ADC reset register. RESET 2 Set to zero to clear the FIFO only. Set to one to set the device in its power-on condition. SLOW 1 Set to one to turn on slow mode. FBGON 0 (LSB) Set to one to force internal bias block and bandgap reference to be always powered up. Table 12. GPIO Command Register BIT NAME BIT FUNCTION —7 (MSB) Set to zero to select GPIO register. —6 Set to zero to select GPIO register. —5 Set to zero to select GPIO register. —4 Set to zero to select GPIO register. —3 Set to zero to select GPIO register. —2 Set to zero to select GPIO register. GPIOSEL1 1 GPIO configuration bit. GPIOSEL2 0 (LSB) GPIO write bit. GPIOSEL1 GPIOSEL2 FUNCTION 11 GPIO configuration; written data is entered in the GPIO configuration register. 10 GPIO write; written data is entered in the GPIO write register. 01 GPIO read; the next 8/16 SCLK cycles transfer the state of all GPIO drivers into DOUT. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |