| Electronic Components Datasheet Search |
|
MCP3460R Datasheet(PDF) 61 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP3460R Datasheet(HTML) 61 Page - Microchip Technology |
|
61 / 103 page ![]() 2025 Microchip Technology Inc. and its subsidiaries DS20006975A page 61 MCP3460R The ADC Standby mode command (command address: ‘1011’) overwrites the ADC_MODE[1:0] bits to ‘10’ and places the ADC in Standby mode. The ADC Shutdown mode command (command address: ‘1100’) overwrites the ADC_MODE[1:0] bits to ‘00’ and places the ADC in ADC Shutdown mode. The Full Shutdown mode command (command address: ‘1101’) overwrites the CONFIG0 register to 0x00 and places the device in Full Shutdown mode (see Section 5.10 “Low-Power Shutdown Modes” for a full description of this mode). The Full Reset command (command address: ‘1110’) resets the device and places the entire register map into its default state condition, including the non- writable registers. The only difference with a POR event is that the POR_STATUS bit in the IRQ register is set to ‘1’ after a Full Reset and is reset to ‘0’ after a POR event. The user can only clear the ADC Data Output register to its default value by using the Full Reset command. 6.2.6 DEVICE ADDRESS AND STATUS BYTE DURING CONTROL BYTE During the COMMAND byte clocking on the SDI pin, the SDO pin displays a STATUS byte to help the user retrieve quick interrupt status information. The STATUS byte allows fast polling of the different interrupts without having to read the IRQ register. How- ever, it requires an MCU that can communicate in Full-Duplex mode (SDI and SDO are clocked at the same time). For MCUs that are only half-duplex, and for devices that do not incorporate a separate IRQ pin, or for applications that do not connect the existing IRQ pin, the polling of the IRQ status can still be done by reading the IRQ register continuously. The STATUS byte structure is described in Figure 6-1. FIGURE 6-1: STATUS Byte. The first two bits are always equal to ‘0’ and SDO toggles to ‘0’ as soon as a CS pin falling edge is per- formed. This allows having an application with multiple devices, with different device addresses, sharing one common SPI bus and avoiding bus contention during STATUS byte clocking. The next three bits of the STATUS byte give a confirmation (Acknowledge) of the hard-coded device address. If the device address of the COMMAND byte and the internal device address of the chip match, these three bits will be transmitted and they are equal to: • STAT[5:4] = DEV_ADDR[1:0] • STAT[3] = DEV_ADDR[0] The STAT[3] bit allows the user to distinguish the SDO output from a High-Impedance state (device address not matched), as the bits STAT[4] and STAT[3] are complementary and will induce a deterministic toggle on the SDO output. If the two device address bits are not matched with the internally hard-coded device address bits, SDO is maintained in a High-Impedance state during the rest of the communication and the command is ignored. This behavior avoids potential bus contention errors if multiple devices with different device addresses share the same SPI bus. After the transmission of the first two bits, only one device responds to the command (all other devices with non-matching device addresses keep the SDO in high-impedance). In this case, the user needs to abort the communication (CS rising edge) in order to perform another command. The three LSbs of the STATUS byte are the three Interrupt Status bits: • STAT[2] = DR_STATUS (ADC data ready interrupt status) • STAT[1] = CRCCFG_STATUS (CRC checksum error on the register map interrupt status) • STAT[0] = POR_STATUS (POR interrupt status) These three Interrupt Status bits are independent of the two other interrupt mechanisms (IRQ pin and IRQ register) and are cleared each time the STATUS byte is fully clocked. This enables the polling on the STATUS byte as a possible interrupt management solution with- out requiring to connect the IRQ pin in the system. All Status bit values are latched together just after the device address has been correctly recognized by the chip. Any interrupt happening after the two first Status bits have been clocked out will appear in the STATUS byte of the subsequent communication sequence. Figure 6-2 represents the beginning of each communication with both COMMAND and STATUS bytes depicted. After the STATUS byte is propagated, the SDO pin will be placed in high-impedance for Fast commands or Write commands and will transfer data bytes for Read commands as long as the CS pin stays logic low. STAT[7] 0 STAT[6] STAT[5] STAT[4] STAT[3] STAT[2] STAT[1] STAT[0] 0 DEV_ADDR [1] DEV_ADDR [0] DEV_ADDR [0] DR_ST ATUS CRCCFG_ ST ATUS POR_ST ATUS Device Address Acknowledge bits Interrupt Status bits |
|
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 |