EP2132877A2 - Read and write interface communications protocol for digital-to-analog signal converter with non-volatile memory - Google Patents

Read and write interface communications protocol for digital-to-analog signal converter with non-volatile memory

Info

Publication number
EP2132877A2
EP2132877A2 EP08745516A EP08745516A EP2132877A2 EP 2132877 A2 EP2132877 A2 EP 2132877A2 EP 08745516 A EP08745516 A EP 08745516A EP 08745516 A EP08745516 A EP 08745516A EP 2132877 A2 EP2132877 A2 EP 2132877A2
Authority
EP
European Patent Office
Prior art keywords
digital
selection
code
command
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
EP08745516A
Other languages
German (de)
French (fr)
Other versions
EP2132877B1 (en
Inventor
Thomas Youbok Lee
Jonathan Jackson
John Austin
Andrew Swaneck
Yann Johner
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microchip Technology Inc
Original Assignee
Microchip Technology Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Microchip Technology Inc filed Critical Microchip Technology Inc
Publication of EP2132877A2 publication Critical patent/EP2132877A2/en
Application granted granted Critical
Publication of EP2132877B1 publication Critical patent/EP2132877B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/66Digital/analogue converters

Definitions

  • the present disclosure relates to digital-to-analog converters (DACs), and, more particularly to, communications protocols used for DACs that store configuration information and input data in non- volatile memory.
  • DACs digital-to-analog converters
  • BACKGROUND Present technology DAC devices store configuration information and input data in volatile memory.
  • the configuration information and input data stored in the volatile memory are lost when operating power is removed from the DAC device and the associated volatile memory.
  • a DAC device may be used to output a programmable analog voltage.
  • the programming bits, e.g., digital representation of the analog voltage are stored in a DAC register which is volatile, thereby loosing its contents when powered down.
  • the DAC register Upon an initial power-up of the DAC device, the DAC register is either cleared or its contents are not predictable until the DAC register is programmed again. Thus the DAC register must be reprogrammed each time the DAC device is powered up.
  • DAC devices support operation of other devices in a system.
  • the DAC device may provide a reference voltage to other devices for proper operation thereof. Since the DAC register has to be reprogrammed, all other devices dependent upon the DAC device must wait (prevented from operating) until the DAC register contains the correct data.
  • the DAC device outputs a preprogrammed output by itself immediately when it turns-on, then the overall system application reduces several initialization and calibration steps, and can thereby initialize the system with the same conditions all the time, even when there are power interruptions thereto. This will increase system operating efficiency and the useful range of applications.
  • a DAC device may have both volatile and non-volatile internal memory blocks.
  • the non-volatile memory may be used to the store configuration information and digital voltage values, e.g., data, for the DAC device.
  • the non- volatile memory may be for example, but is not limited to, electrically erasable and programmable read only memory (EEPROM), FLASH memory and the like. This data may be written into the internal non-volatile memory block at any time and the stored configuration information and digital voltage values may thereby be protected from being lost during a power outage.
  • EEPROM electrically erasable and programmable read only memory
  • DAC/non-volatile memory device may thereby provide a preprogrammed output voltage whenever it is powered-up.
  • DAC devices with the non-volatile memory may need special interface communication protocols for effective operation of the DAC device.
  • the system master controller unit MCU
  • the non- volatile memory in the DAC device requires effective interface communication protocols with the MCU so that the MCU may access the DAC device's memories (both non-volatile and volatile memories) effectively.
  • the interface communication protocols for communicating with the volatile and non- volatile memories of the DAC device may operate without violating the specifications of the existing serial communications protocols.
  • a serial data interface communication protocol may be used to operate the DAC device and the internal non- volatile memory over a serial data bus, e.g., I C, SPI, USB, SCIO, etc.
  • a serial data bus e.g., I C, SPI, USB, SCIO, etc.
  • I C serial data bus
  • SPI serial peripheral interface
  • SCIO serial interface peripheral interface
  • Using an interface communication protocol solves the following problems: (a) A user may read and/or write the configuration and data information into non-volatile or volatile memories with a simple command(s). This also reduces the interface communication time, (b) A simple and yet effective command structure reduces the complexity of device interface circuits.
  • a device for digital- to-analog conversion and having non-volatile memory for storage of configuration information and digital values for conversion to analog values comprises: a serial input- output port adapted for coupling to a serial bus; a serial interface and logic, the serial interface coupled to the serial input-output port; one or more input registers coupled to the serial interface and logic; one or more digital-to-analog converter registers coupled to respective ones of the one or more input registers; one or more digital-to-analog converters coupled to respective ones of the one or more digital-to-analog converter registers; and at least one non-volatile memory coupled to the one or more input registers.
  • Figure 1 illustrates a schematic block diagram of a device having a single channel digital-to-analog conversion (DAC) capability and non-volatile memory, according to a specific example embodiment of this disclosure;
  • DAC digital-to-analog conversion
  • Figure 2 illustrates a schematic block diagram of a device having multiple channels of digital-to-analog conversion (DAC) capabilities and non-volatile memories, according to another specific example embodiment of this disclosure
  • Figure 3 illustrates a table of write commands used for address, command and data protocol structures, according to specific example embodiments of this disclosure
  • Figure 4 illustrates a schematic diagram of an address, command and data protocol structure for fast writing only to the DAC input registers (volatile) shown in Figures 1 and 2;
  • Figure 5 illustrates a schematic diagram of an address, command and data protocol structure for writing to the DAC input registers and the non-volatile memories shown in Figures 1 and 2;
  • Figure 6 illustrates a schematic diagram of an address, command and data protocol structure for writing to Vref select bits in the DAC input registers shown in Figures 1 and 2;
  • Figure 7 illustrates a schematic diagram of an address, command and data protocol structure for writing to power-down select bits in the DAC input registers shown in Figures 1 and 2;
  • Figure 8 illustrates a schematic diagram of an address, command and data protocol structure for writing to trim and address bits in the non- volatile memories of the DAC devices shown in Figures 1 and 2;
  • Figure 9 illustrates a schematic diagram of an address, command and data protocol structure for writing to a lock bit in the non- volatile memories of the DAC devices shown in Figures 1 and 2;
  • Figures 10a- 1Od illustrate a schematic diagram of an address, command and data protocol structure for reading in normal mode the DAC input registers and non-volatile memories of the DAC devices shown in Figures 1 and 2;
  • Figures 1 Ia-I Id illustrate a schematic diagram of an address, command and data protocol structure for reading in test mode the DAC input registers and non-volatile memories of the DAC devices shown in Figures 1 and 2;
  • Figures 12(a), 12(b), 12(c) and 12(d) illustrate schematic block and bus signal diagrams of various types of serial interfaces that may be used with the devices shown Figures 1 and 2, according to specific example embodiments of this disclosure.
  • Figure 13 illustrates schematic plan views of two of many integrated circuit packages that may be used with the devices shown Figures 1 and 2, according to specific example embodiments of this disclosure. While the present disclosure is susceptible to various modifications and alternative forms, specific example embodiments thereof have been shown in the drawings and are herein described in detail. It should be understood, however, that the description herein of specific example embodiments is not intended to limit the disclosure to the particular forms disclosed herein, but on the contrary, this disclosure is to cover all modifications and equivalents as defined by the appended claims.
  • FIG. 1 depicted is a schematic block diagram of a device having a single digital-to-analog conversion (DAC) capability and non-volatile memory, according to a specific example embodiment of this disclosure.
  • the device generally represented by the numeral 100, may comprise a serial interface and logic 102, an input register 104, a DAC register 106, a digital-to-analog converter (DAC) 108, power-down control 110, an analog amplifier 112, a non- volatile memory 114, a charge pump 116, and a power-on-reset (POR) circuit 118.
  • DAC digital-to-analog converter
  • the non- volatile memory 114 may be, but is not limited to, an electrically erasable and programmable read only memory (EEPROM), FLASH memory, etc.
  • EEPROM electrically erasable and programmable read only memory
  • FLASH memory etc.
  • a 14 bit EEPROM may be used to store configuration register bits ⁇ e.g., 2 bits) and DAC input data ⁇ e.g., 12 bits of a digital representation of the analog voltage the DAC 108 is supposed to produce).
  • the charge pump 116 may be used for writing to the non- volatile memory 114.
  • Power may be supplied to the device 100 at voltage terminals VDD and VSS.
  • the input register 104 may have an address select line at node AO for selection from a number of devices.
  • the DAC register 106 may be loaded from the input register 104. Also the contents of the non- volatile memory 114 may be transferred to the input register 104.
  • the device may comprise a serial interface and logic 102, a plurality of input registers 104, a plurality of DAC registers 106, a plurality of digital-to-analog converters (DAC) 108, a plurality of analog amplifiers 112, a non- volatile memory 114, and a charge pump 116.
  • DAC digital-to-analog converters
  • Power-on-reset (POR) circuit 118 Figure 1
  • power-down control 110 Figure 1
  • an internal voltage reference and voltage reference value selection circuit are not shown but may also be part of the devices 100 and/or 200.
  • Four ADC channels are shown but it is contemplated and within the scope of this disclosure that any number of ADC channels may be utilized in combination with the teachings of this disclosure.
  • the non- volatile memory 114 may be, but is not limited to, electrically erasable and programmable read only memory (EEPROM), FLASH memory, etc.
  • EEPROM electrically erasable and programmable read only memory
  • an EEPROM organized in 14 bit words may be used to store configuration register bits (e.g., 2 bits) and DAC input data (e.g., 12 bits of a digital representation of the analog voltage of the respective DAC 108 is supposed to produce).
  • the charge pump 116 may be used for writing to the non- volatile memory 114. Power may be supplied to the device 100 at voltage terminals VDD and VSS.
  • the serial interface and logic 102 may have an input (/LDAC) for transferring DAC settings from serial input latches to output latches, e.g., DAC registers 106.
  • Configuration and data values may be written to or read from the non- volatile memory 114 and/or the input registers 104.
  • the DAC registers 106 may be loaded from the respective input registers 104. Also the contents of the non- volatile memory 114 may be transferred to the respective input registers 104.
  • FIG. 3 depicted is a table of write commands used for address, command and data protocol structures, according to specific example embodiments of this disclosure.
  • the write commands may be used to write the configuration bits, non-volatile memory, and/or input registers.
  • the write command types may be defined by using three write command bits (C2, Cl, CO), as more fully described hereinafter.
  • FIG 4 depicted is a schematic diagram of an address, command and data protocol structure for fast writing only to the input registers) (volatile) shown in Figures 1 and 2.
  • the devices 100 and 200 may support, for example but are not limited to, 7-bit slave addressing.
  • the slave address may contain a device code 404 comprising four fixed identification bits (e.g., 1100b) and three address 406 bits (A2, Al, AO) used to select one of a plurality of devices 100 or 200.
  • the device code 404 may be preprogrammed during manufacture, and address 406 may have the A2 and Al bits hard wired during manufacture and the binary value of the AO bit determined by the logic level at the AO package connection ( Figure 13).
  • the fast write command is used to sequentially update the input register(s) 104.
  • the power down selection bits (PDl, PDO) 414 and the 12 bits of DAC input data (Dl 1-DO) 416 and 418 are sequentially updated for each DAC channel (bytes for three DAC channels are shown in Figure 4). Data in the nonvolatile memory 114 is not affected by the fast write command.
  • the devices 100 and 200 may support, for example but are not limited to, 7-bit slave addressing.
  • the slave address may contain a device code 404 comprising four fixed identification bits (e.g., 1100b) and three address bits 406 (A2, Al, AO) used to select one of a plurality of devices 100 or 200.
  • the device code 404 may be preprogrammed during manufacture, and address 406 may have the A2 and Al bits hard wired during manufacture and the binary value of the AO bit determined by the logic level at the AO package connection ( Figure 13).
  • the write command protocol shown in Figure 5 begins with a start bit 402, followed by a plurality of bytes (8 bits each), each byte followed by a device (slave) acknowledge 410, and terminates with a stop bit 420.
  • a first byte comprises a device code 404, a device address 406 (A2, Al, AO) and a read/write bit 408 set to zero.
  • a third byte comprises a DAC gain selection bit 540a (/GxI / Gx2) and the most significant data bits 522a (Dl 1 :D5).
  • the information contained in the second, third and fourth bytes described above may be repeated for each DAC channel.
  • Write command protocols for two instances of DAC channels are shown, however, write protocols for any number of DAC channels are contemplated herein (e.g., Figure 2) and/or repeated for each one of the DAC channels until the stop bit 420 terminates the write command protocol.
  • FIG. 6 depicted is a schematic diagram of an address, command and data protocol structure for writing to Vref select bits in the DAC input registers shown in Figures 1 and 2.
  • the Vref select bits are used to select the voltage reference source used by each of the DACs 108.
  • a first byte comprises device code 404, address bits 406, and read/write bit 608 as described hereinabove.
  • a single Vref select bit 630 per DAC 108 allows for two reference voltage sources, e.g., an internally generated reference voltage or a power supply voltage, Vdd.
  • This write command terminates with a stop bit 420.
  • FIG 7 depicted is a schematic diagram of an address, command and data protocol structure for writing to power-down select bits in the DAC input registers shown in Figures 1 and 2. This write command is used to select either a normal or power down mode for each of the DACs 108.
  • Two power-down bits 714 (PDl, PDO) are used for each of the DACs 108. When a normal mode is selected for a DAC 108, that DAC 108 will output an analog voltage.
  • a first byte comprises device code 404, address bits 706, and read/write bit 408 as described hereinabove.
  • FIG. 8 depicted is a schematic diagram of an address, command and data protocol structure for writing to trim and address bits in the non- volatile memories of the DAC devices shown in Figures 1 and 2.
  • this command is used when the device 100 is in a test mode.
  • a first byte comprises device code 404 and read/write bit 408 as described hereinabove.
  • the third byte comprises voltage reference trim bits 836 used to adjust the internal voltage reference (not shown).
  • the fourth byte comprises DAC selection bits 828, a DAC gain selection bit 840 for the selected DAC from the selection bits 828, and trim bits 842 for trimming the operational amplifier 112 of the selected DAC 108.
  • Fifth, sixth and seventh bytes may repeat the configuration of the fourth byte, one for each DAC 108 selected, e.g., selection of four DACs with four bytes, (byte five shown in Figure 8 for a second selected DAC 108.
  • This test mode write command terminates with a stop bit 420.
  • FIG. 9 depicted is a schematic diagram of an address, command and data protocol structure for writing to a lock bit in the non-volatile memories of the DAC devices shown in Figures 1 and 2.
  • this command is used when the device 100 is in a test mode.
  • a first byte comprises device code 404 and read/write bit 408 as described hereinabove.
  • the lock bit prevents unauthorized modification of the contents of the nonvolatile memories 114 of the DAC devices 100 and 200.
  • a write command in test mode is only executed when the lock bit 944 is cleared (logic 0). This test mode write command terminates with a stop bit 420.
  • the read command in normal mode begins with a start bit 402 followed by a first byte sent by the I 2 C bus master, e.g., a digital processor (not shown), wherein the first byte comprises a device code 404, address bits 1006, and a read/write bit 408 (set to logic 1 indicating a read operation).
  • the I 2 C bus master e.g., a digital processor (not shown)
  • the first byte comprises a device code 404, address bits 1006, and a read/write bit 408 (set to logic 1 indicating a read operation).
  • this byte comprises a ready/busy bit 1046a that indicates the completion status of a write to the nonvolatile memory 114 (e.g., logic 1 indicates write complete, logic 0 indicates otherwise); and the indicated DAC channel 1028a (i.e., DACl, DACO) present status of its power-on-reset bit 1048a, DAC selection bits 1028a (indicates for which DAC 108 the information is being read), reference voltage selection bit 1026a, power down selection bits 1014a (PDl, PDO), and a DAC gain selection bit 1040a (/GxI / Gx2).
  • DAC channel 1028a i.e., DACl, DACO
  • the bus master After the second byte has been read by the I 2 C bus master, the bus master sends a master acknowledge 1010. A third byte is then sent by the slave device, the third byte comprises the eight (8) most significant bits of data 1022a contained in the DAC register 106 associated with the DAC selection bits 1028a. After the third byte has been read by the I C bus master, the bus master sends another master acknowledge 1010. A fourth byte is then sent by the slave device, the fourth byte comprises the least significant 4 bits of data contained in the DAC register 106 associated with the DAC indicated in the selection bits 1028a. After the fourth byte has been read by the I 2 C bus master, the bus master sends another master acknowledge 1010.
  • the addressed slave device e.g., device 100 or 200
  • this byte comprises a reference voltage selection bit 1076a, power down selection bits 1064a (PDl, PDO), a DAC gain selection bit 1090a (/GxI / Gx2), and the four (4) most significant bits of data 1072a contained in the non- volatile memory 114 associated with the DAC selection bits 1028a.
  • the bus master After the fifth byte has been read by the I C bus master, the bus master sends a master acknowledge 1010.
  • a sixth byte is then sent by the slave device, the sixth byte comprises the least significant eight (8) bits of data 1074a contained in the non- volatile memory 114 associated with the DAC selection bits 1028a.
  • the bus master sends another master acknowledge 1010.
  • Figure 10b shows bytes seven (7) through eleven (11) that may be used to supply all of the previously mentioned respective status and data for the next DAC channel B ( Figure 2).
  • Figure 10c shows bytes twelve (12) through sixteen (16) that may be used to supply all of the previously mentioned respective status and data for the next DAC channel C ( Figure 2).
  • Figure 1Od shows bytes seventeen (17) through twenty-one (21) that may be used to supply all of the previously mentioned respective status and data for the next DAC channel D ( Figure 2). This reading in normal mode command will terminate with a stop bit 420.
  • FIG. 11 a- Hd depicted is a schematic diagram of an address, command and data protocol structure for reading in test mode the DAC input registers and non- volatile memories of the DAC devices shown in Figures 1 and 2.
  • a high voltage may be applied to the /LDAC pin of device 200 ( Figure 2) before and during execution of the test mode read command.
  • the read command in test mode begins with a start bit 402 followed by a first byte sent by the I 2 C bus master, e.g., a digital processor (not shown), wherein the first byte comprises a device code 404, and a read/write bit 408 (set to logic 1 indicating a read operation).
  • a slave acknowledge 410 is asserted by the slave device under test.
  • the second byte is sent by the slave device under test, wherein the second byte comprises a ready/busy bit 1146a that indicates the completion status of a write to the nonvolatile memory 114 (e.g., logic 1 indicates write complete, logic 0 indicates otherwise), the address 1106a of the slave device under test (A2, Al, AO), the DAC channel selected indicated by the DAC selection bits 1128a (DACl, DACO), and the status of the power down selection bits 1014a (PDl, PDO) of the selected DAC channel.
  • the bus master sends a master acknowledge 1010.
  • a third byte is then sent by the slave device under test, wherein the third byte comprises the status of the voltage reference trim bits 1166a (V3, V2, Vl, VO), and the status of the gain trim bits 1168a ((G3, G2, Gl, GO) of the selected DAC channel, e.g., channel A ( Figure 2).
  • the bus master sends a master acknowledge 1010.
  • a fourth byte is then sent by the slave device under test, wherein the fourth byte comprises the status of the reference voltage selection bit 1026a and the status of the lock bit 1144a of the selected DAC channel.
  • the bus master sends a master acknowledge 1010.
  • Figure 1 Ib shows bytes five (5) through seven (7) that may be used to supply all of the previously mentioned status information for the next DAC channel B ( Figure 2).
  • Figure l ie shows bytes eight (8) through ten (10) that may be used to supply all of the previously mentioned status information for the next DAC channel C ( Figure 2).
  • Figure 1 Id shows bytes eleven (11) through thirteen (13) that may be used to supply all of the previously mentioned status information for the next DAC channel D ( Figure 2).
  • This reading in test mode command will terminate with a stop bit 420.
  • FIGS 12(a), 12(b), 12(c) and 12(d) depicted are schematic block and bus signal diagrams of various types of serial interfaces that may be used with the device shown Figures 1 and 2, according to specific example embodiments of this disclosure.
  • an I 2 C interface and logic 102a has a serial clock line, SCL, and a serial data line, SDA.
  • the I 2 C interface specification is available from Phillips Semiconductors and is hereby incorporated herein for all purposes.
  • a serial peripheral interface (SPI) and logic 102b has a serial clock, SCK, a data out line, SI, a data in line, SO, and a chip select, CS.
  • the SPI interface specification is available from Motorola, Inc., or from any device manufacture incorporating the SPI interface in their products.
  • the SPI interface specification is hereby incorporated herein for all purposes.
  • a Universal Serial Bus (USB) and logic 102c has self clocking data lines D+ and D-.
  • the USB interface specification is available at www.usb.org, or from any device manufacture incorporating the USB interface in their products.
  • the USB interface specification is hereby incorporated herein for all purposes.
  • a Serial Clock Input-Output (SCIO) and logic 102d has a single self clocking data line SCIO.
  • the SCIO interface may use Manchester coding so that the clock and data are conveyed on a single bit line.
  • Other serial interface standards are known to those skilled in digital electronics design and may also be effectively used with the teachings of this disclosure.
  • FIG. 13 depicted are schematic plan views of two of many integrated circuit packages that may be used with the devices shown Figures 1 and 2, according to specific example embodiments of this disclosure.
  • the I 2 C interface is shown, but it is contemplated and within the scope of this disclosure that any integrated circuit package may be used with any serial interface bus and number of analog outputs, device select nodes, AO, load register synchronization /LDCA, etc. It is contemplated and within the scope of this disclosure that the device select (e.g., enable) may also be done with programmable device select addressing in the serial data.
  • a serial bus protocol that supports slave addressing may be used to control, and read/write configuration and data from/to the devices 100 and 200. Some of these address bits may be programmed into the devices 100 and or 200 during fabrication at the factory and/or programmed during systems integration or even in the field.

Abstract

A mixed signal device, e.g., digital-to-analog converter (DAC) device has a serial interface communication protocol that accesses volatile and/or nonvolatile memory and allows a preprogrammed output voltage whenever the mixed signal device is powered-up. However, unlike conventional DAC devices, DAC devices with non-volatile memory may need special interface communication protocols for effective operation of the DAC device and communications between a system master controller unit (MCU). Interface communications protocols that do not violate standard serial bus communications protocols are provided for communicating between the volatile and non- volatile memories of the DAC device so that the MCU may access the DAC device's memories (non-volatile and/or volatile memories).

Description

READ AND WRITE INTERFACE COMMUNICATIONS PROTOCOL
FOR DIGITAL-TO-ANALOG SIGNAL CONVERTER
WITH NON-VOLATILE MEMORY
RELATED PATENT APPLICATION This application claims priority to commonly owned United States Provisional Patent
Application Serial Number 60/911,287; filed April 12, 2007; entitled "Read and Write Interface Communications Protocol for Digital-to-Analog Signal Converter with Non- Volatile Memory," by Thomas Youbok Lee, Jonathan Jackson, John Austin, Andrew Swaneck and Yann Johner; which is hereby incorporated by reference herein for all purposes.
TECHNICAL FIELD
The present disclosure relates to digital-to-analog converters (DACs), and, more particularly to, communications protocols used for DACs that store configuration information and input data in non- volatile memory.
BACKGROUND Present technology DAC devices store configuration information and input data in volatile memory. The configuration information and input data stored in the volatile memory are lost when operating power is removed from the DAC device and the associated volatile memory. For example, a DAC device may be used to output a programmable analog voltage. The programming bits, e.g., digital representation of the analog voltage, are stored in a DAC register which is volatile, thereby loosing its contents when powered down. Upon an initial power-up of the DAC device, the DAC register is either cleared or its contents are not predictable until the DAC register is programmed again. Thus the DAC register must be reprogrammed each time the DAC device is powered up. This necessitates additional program cycles of a master controller program so as to reprogram the DAC register. In many applications, DAC devices support operation of other devices in a system. For example, the DAC device may provide a reference voltage to other devices for proper operation thereof. Since the DAC register has to be reprogrammed, all other devices dependent upon the DAC device must wait (prevented from operating) until the DAC register contains the correct data. SUMMARY
Therefore there is a need to prevent loss of the DAC device configuration information and input data during a power down or power loss condition. If the DAC device outputs a preprogrammed output by itself immediately when it turns-on, then the overall system application reduces several initialization and calibration steps, and can thereby initialize the system with the same conditions all the time, even when there are power interruptions thereto. This will increase system operating efficiency and the useful range of applications.
A DAC device may have both volatile and non-volatile internal memory blocks. The non-volatile memory may be used to the store configuration information and digital voltage values, e.g., data, for the DAC device. The non- volatile memory may be for example, but is not limited to, electrically erasable and programmable read only memory (EEPROM), FLASH memory and the like. This data may be written into the internal non-volatile memory block at any time and the stored configuration information and digital voltage values may thereby be protected from being lost during a power outage. According to the teachings of this disclosure, a non- volatile memory, e.g. EEPROM,
FLASH, etc., may be part of the DAC device. The DAC/non-volatile memory device may thereby provide a preprogrammed output voltage whenever it is powered-up. However, unlike the conventional DAC devices, DAC devices with the non-volatile memory may need special interface communication protocols for effective operation of the DAC device. For example, the system master controller unit (MCU) requires a way to access the volatile memory (DAC register) and/or the non- volatile memory (e.g., EEPROM). Therefore, the non- volatile memory in the DAC device requires effective interface communication protocols with the MCU so that the MCU may access the DAC device's memories (both non-volatile and volatile memories) effectively. Since most of the mixed signal devices such as DAC, analog-to-digital (ADC), and digital potentiometer are operated by using a standard serial interface, e.g., I C, SPI, USB, SCIO, etc., the interface communication protocols for communicating with the volatile and non- volatile memories of the DAC device may operate without violating the specifications of the existing serial communications protocols.
According to teachings of this disclosure, a serial data interface communication protocol may be used to operate the DAC device and the internal non- volatile memory over a serial data bus, e.g., I C, SPI, USB, SCIO, etc. For example, but not limited to, one, two, three or four channel 12 bit DAC devices with non- volatile memory, wherein these DAC devices may incorporate the same non-volatile interface communication protocol. Using an interface communication protocol solves the following problems: (a) A user may read and/or write the configuration and data information into non-volatile or volatile memories with a simple command(s). This also reduces the interface communication time, (b) A simple and yet effective command structure reduces the complexity of device interface circuits. And (c) the same command structure may be used for reading from and writing to device test registers using the same integrated circuit package pin-out connections, thus eliminating the need for extra test interfaces. According to a specific example embodiment of this disclosure, a device for digital- to-analog conversion and having non-volatile memory for storage of configuration information and digital values for conversion to analog values comprises: a serial input- output port adapted for coupling to a serial bus; a serial interface and logic, the serial interface coupled to the serial input-output port; one or more input registers coupled to the serial interface and logic; one or more digital-to-analog converter registers coupled to respective ones of the one or more input registers; one or more digital-to-analog converters coupled to respective ones of the one or more digital-to-analog converter registers; and at least one non-volatile memory coupled to the one or more input registers.
BRIEF DESCRIPTION OF THE DRAWINGS A more complete understanding of the present disclosure may be acquired by referring to the following description taken in conjunction with the accompanying drawings wherein:
Figure 1 illustrates a schematic block diagram of a device having a single channel digital-to-analog conversion (DAC) capability and non-volatile memory, according to a specific example embodiment of this disclosure;
Figure 2 illustrates a schematic block diagram of a device having multiple channels of digital-to-analog conversion (DAC) capabilities and non-volatile memories, according to another specific example embodiment of this disclosure;
Figure 3 illustrates a table of write commands used for address, command and data protocol structures, according to specific example embodiments of this disclosure; Figure 4 illustrates a schematic diagram of an address, command and data protocol structure for fast writing only to the DAC input registers (volatile) shown in Figures 1 and 2;
Figure 5 illustrates a schematic diagram of an address, command and data protocol structure for writing to the DAC input registers and the non-volatile memories shown in Figures 1 and 2;
Figure 6 illustrates a schematic diagram of an address, command and data protocol structure for writing to Vref select bits in the DAC input registers shown in Figures 1 and 2;
Figure 7 illustrates a schematic diagram of an address, command and data protocol structure for writing to power-down select bits in the DAC input registers shown in Figures 1 and 2;
Figure 8 illustrates a schematic diagram of an address, command and data protocol structure for writing to trim and address bits in the non- volatile memories of the DAC devices shown in Figures 1 and 2;
Figure 9 illustrates a schematic diagram of an address, command and data protocol structure for writing to a lock bit in the non- volatile memories of the DAC devices shown in Figures 1 and 2;
Figures 10a- 1Od illustrate a schematic diagram of an address, command and data protocol structure for reading in normal mode the DAC input registers and non-volatile memories of the DAC devices shown in Figures 1 and 2; Figures 1 Ia-I Id illustrate a schematic diagram of an address, command and data protocol structure for reading in test mode the DAC input registers and non-volatile memories of the DAC devices shown in Figures 1 and 2;
Figures 12(a), 12(b), 12(c) and 12(d) illustrate schematic block and bus signal diagrams of various types of serial interfaces that may be used with the devices shown Figures 1 and 2, according to specific example embodiments of this disclosure; and
Figure 13 illustrates schematic plan views of two of many integrated circuit packages that may be used with the devices shown Figures 1 and 2, according to specific example embodiments of this disclosure. While the present disclosure is susceptible to various modifications and alternative forms, specific example embodiments thereof have been shown in the drawings and are herein described in detail. It should be understood, however, that the description herein of specific example embodiments is not intended to limit the disclosure to the particular forms disclosed herein, but on the contrary, this disclosure is to cover all modifications and equivalents as defined by the appended claims.
DETAILED DESCRIPTION
Referring now to the drawings, the details of specific example embodiments are schematically illustrated. Like elements in the drawings will be represented by like numbers, and similar elements will be represented by like numbers with a different lower case letter suffix.
Referring to Figure 1 , depicted is a schematic block diagram of a device having a single digital-to-analog conversion (DAC) capability and non-volatile memory, according to a specific example embodiment of this disclosure. The device, generally represented by the numeral 100, may comprise a serial interface and logic 102, an input register 104, a DAC register 106, a digital-to-analog converter (DAC) 108, power-down control 110, an analog amplifier 112, a non- volatile memory 114, a charge pump 116, and a power-on-reset (POR) circuit 118.
The non- volatile memory 114 may be, but is not limited to, an electrically erasable and programmable read only memory (EEPROM), FLASH memory, etc. For example, a 14 bit EEPROM may be used to store configuration register bits {e.g., 2 bits) and DAC input data {e.g., 12 bits of a digital representation of the analog voltage the DAC 108 is supposed to produce). The charge pump 116 may be used for writing to the non- volatile memory 114.
Power may be supplied to the device 100 at voltage terminals VDD and VSS. The input register 104 may have an address select line at node AO for selection from a number of devices. The serial interface and logic 102 is coupled to a serial data bus of n-bit width, e.g., n = 1, 2, 3, etc. Configuration and data values may be written to or read from the non- volatile memory 114 and/or the input register 104. The DAC register 106 may be loaded from the input register 104. Also the contents of the non- volatile memory 114 may be transferred to the input register 104. Referring to Figure 2, depicted is a schematic block diagram of a device having multiple channels of digital-to-analog conversion capabilities and non-volatile memories, according to another specific example embodiment of this disclosure. The device, generally represented by the numeral 200, may comprise a serial interface and logic 102, a plurality of input registers 104, a plurality of DAC registers 106, a plurality of digital-to-analog converters (DAC) 108, a plurality of analog amplifiers 112, a non- volatile memory 114, and a charge pump 116. Power-on-reset (POR) circuit 118 (Figure 1), power-down control 110 (Figure 1), an internal voltage reference and voltage reference value selection circuit are not shown but may also be part of the devices 100 and/or 200. Four ADC channels are shown but it is contemplated and within the scope of this disclosure that any number of ADC channels may be utilized in combination with the teachings of this disclosure.
The non- volatile memory 114 may be, but is not limited to, electrically erasable and programmable read only memory (EEPROM), FLASH memory, etc. For example, an EEPROM organized in 14 bit words may be used to store configuration register bits (e.g., 2 bits) and DAC input data (e.g., 12 bits of a digital representation of the analog voltage of the respective DAC 108 is supposed to produce). The charge pump 116 may be used for writing to the non- volatile memory 114. Power may be supplied to the device 100 at voltage terminals VDD and VSS. The serial interface and logic 102 may have an input (/LDAC) for transferring DAC settings from serial input latches to output latches, e.g., DAC registers 106. The serial interface and logic 102 is coupled to a serial data bus of n-bit width, e.g., n = 1, 2, 3, etc. Configuration and data values may be written to or read from the non- volatile memory 114 and/or the input registers 104. The DAC registers 106 may be loaded from the respective input registers 104. Also the contents of the non- volatile memory 114 may be transferred to the respective input registers 104. Referring to Figure 3, depicted is a table of write commands used for address, command and data protocol structures, according to specific example embodiments of this disclosure. The write commands may be used to write the configuration bits, non-volatile memory, and/or input registers. As summarized in the table shown in Figure 3, the write command types may be defined by using three write command bits (C2, Cl, CO), as more fully described hereinafter. Referring to Figure 4, depicted is a schematic diagram of an address, command and data protocol structure for fast writing only to the input registers) (volatile) shown in Figures 1 and 2. The devices 100 and 200 may support, for example but are not limited to, 7-bit slave addressing. The slave address may contain a device code 404 comprising four fixed identification bits (e.g., 1100b) and three address 406 bits (A2, Al, AO) used to select one of a plurality of devices 100 or 200. The device code 404 may be preprogrammed during manufacture, and address 406 may have the A2 and Al bits hard wired during manufacture and the binary value of the AO bit determined by the logic level at the AO package connection (Figure 13). The fast write command shown in Figure 4 begins with a start bit 402 followed by a plurality of bytes (8 bits each), each byte followed by a device (slave) acknowledge 410, and terminates with a stop bit 420. Only the write command bits 412 (C2 = 0 and Cl = 0) are used, the CO bit is ignored CO= X (where X is a don't care). The fast write command is used to sequentially update the input register(s) 104. The power down selection bits (PDl, PDO) 414 and the 12 bits of DAC input data (Dl 1-DO) 416 and 418 are sequentially updated for each DAC channel (bytes for three DAC channels are shown in Figure 4). Data in the nonvolatile memory 114 is not affected by the fast write command.
Referring to Figure 5, depicted is a schematic diagram of an address, command and data protocol structure for writing to the DAC input registers and the non-volatile memories shown in Figures 1 and 2. The devices 100 and 200 may support, for example but are not limited to, 7-bit slave addressing. The slave address may contain a device code 404 comprising four fixed identification bits (e.g., 1100b) and three address bits 406 (A2, Al, AO) used to select one of a plurality of devices 100 or 200. The device code 404 may be preprogrammed during manufacture, and address 406 may have the A2 and Al bits hard wired during manufacture and the binary value of the AO bit determined by the logic level at the AO package connection (Figure 13).
The write command protocol shown in Figure 5 begins with a start bit 402, followed by a plurality of bytes (8 bits each), each byte followed by a device (slave) acknowledge 410, and terminates with a stop bit 420. A first byte comprises a device code 404, a device address 406 (A2, Al, AO) and a read/write bit 408 set to zero. A second byte comprises the three write command bits 512a (C2=0, Cl=I, CO=O), DAC selection 528a (DACl, DACO), reference voltage selection bit 526a, and power down selection bits 514a (PDl, PDO). A third byte comprises a DAC gain selection bit 540a (/GxI / Gx2) and the most significant data bits 522a (Dl 1 :D5). A fourth byte comprises the least significant data bits 524a (D4:D0) with the least significant three bits of the fourth byte ignored as don't cares = X. The information contained in the second, third and fourth bytes described above may be repeated for each DAC channel. Write command protocols for two instances of DAC channels are shown, however, write protocols for any number of DAC channels are contemplated herein (e.g., Figure 2) and/or repeated for each one of the DAC channels until the stop bit 420 terminates the write command protocol. Referring to Figure 6, depicted is a schematic diagram of an address, command and data protocol structure for writing to Vref select bits in the DAC input registers shown in Figures 1 and 2. The Vref select bits are used to select the voltage reference source used by each of the DACs 108. A first byte comprises device code 404, address bits 406, and read/write bit 608 as described hereinabove. A second byte comprises three write command bits 612 (CZ=I, Cl=O, CO=O), and Vref select bits 630 for respective ones of the DACs 108 (Vref select bits 630a, 630b, 630c and 63Od are shown in Figure 6 for four DACs). A single Vref select bit 630 per DAC 108 allows for two reference voltage sources, e.g., an internally generated reference voltage or a power supply voltage, Vdd. This write command terminates with a stop bit 420. Referring to Figure 7, depicted is a schematic diagram of an address, command and data protocol structure for writing to power-down select bits in the DAC input registers shown in Figures 1 and 2. This write command is used to select either a normal or power down mode for each of the DACs 108. Two power-down bits 714 (PDl, PDO) are used for each of the DACs 108. When a normal mode is selected for a DAC 108, that DAC 108 will output an analog voltage. When a power down mode is selected, there will be no analog voltage output from the associated DAC 108, instead a fixed resistance value to ground or common will be substituted depending upon the logic values of the two power-down bits 714 (PDl, PDO). A first byte comprises device code 404, address bits 706, and read/write bit 408 as described hereinabove. A second byte comprises three write command bits 712 (C2=l, Cl=O, CO=I), and power-down bit pairs 714 for respective ones of the DACs 108 (four pairs of power-down bits 714a, 714b, 714c and 714c for four DACs 108 are shown in Figure 7). This write command terminates with a stop bit 420.
Referring to Figure 8, depicted is a schematic diagram of an address, command and data protocol structure for writing to trim and address bits in the non- volatile memories of the DAC devices shown in Figures 1 and 2. Typically this command is used when the device 100 is in a test mode. A first byte comprises device code 404 and read/write bit 408 as described hereinabove. A second byte comprises three write command bits 812 (C2=l, Cl=O, CO=I), and address bits 806. The third byte comprises voltage reference trim bits 836 used to adjust the internal voltage reference (not shown). The fourth byte comprises DAC selection bits 828, a DAC gain selection bit 840 for the selected DAC from the selection bits 828, and trim bits 842 for trimming the operational amplifier 112 of the selected DAC 108. Fifth, sixth and seventh bytes may repeat the configuration of the fourth byte, one for each DAC 108 selected, e.g., selection of four DACs with four bytes, (byte five shown in Figure 8 for a second selected DAC 108. This test mode write command terminates with a stop bit 420.
Referring to Figure 9, depicted is a schematic diagram of an address, command and data protocol structure for writing to a lock bit in the non-volatile memories of the DAC devices shown in Figures 1 and 2. Typically this command is used when the device 100 is in a test mode. A first byte comprises device code 404 and read/write bit 408 as described hereinabove. A second byte comprises three write command bits 912 (C2=l, Cl=I, CO=O), and lock bit 944. The lock bit prevents unauthorized modification of the contents of the nonvolatile memories 114 of the DAC devices 100 and 200. A write command in test mode is only executed when the lock bit 944 is cleared (logic 0). This test mode write command terminates with a stop bit 420. Referring to Figures 10a- 1Od, depicted is a schematic diagram of an address, command and data protocol structure for reading in normal mode the DAC input registers and non- volatile memories of the DAC devices shown in Figures 1 and 2. Referring now to Figure 10a, the read command in normal mode begins with a start bit 402 followed by a first byte sent by the I2C bus master, e.g., a digital processor (not shown), wherein the first byte comprises a device code 404, address bits 1006, and a read/write bit 408 (set to logic 1 indicating a read operation). Once the first byte of this read command from the I C bus master is finished, a slave acknowledge 410 is asserted.
Then the addressed slave device, e.g., device 100 or 200, sends a second byte comprising the present status of the data contents contained in the DAC register 106 of DAC channel A (Figure 2), this byte comprises a ready/busy bit 1046a that indicates the completion status of a write to the nonvolatile memory 114 (e.g., logic 1 indicates write complete, logic 0 indicates otherwise); and the indicated DAC channel 1028a (i.e., DACl, DACO) present status of its power-on-reset bit 1048a, DAC selection bits 1028a (indicates for which DAC 108 the information is being read), reference voltage selection bit 1026a, power down selection bits 1014a (PDl, PDO), and a DAC gain selection bit 1040a (/GxI / Gx2). After the second byte has been read by the I2C bus master, the bus master sends a master acknowledge 1010. A third byte is then sent by the slave device, the third byte comprises the eight (8) most significant bits of data 1022a contained in the DAC register 106 associated with the DAC selection bits 1028a. After the third byte has been read by the I C bus master, the bus master sends another master acknowledge 1010. A fourth byte is then sent by the slave device, the fourth byte comprises the least significant 4 bits of data contained in the DAC register 106 associated with the DAC indicated in the selection bits 1028a. After the fourth byte has been read by the I2C bus master, the bus master sends another master acknowledge 1010. Then the addressed slave device, e.g., device 100 or 200, sends a fifth byte comprising the present status of the data contents contained in the non- volatile memory 114, this byte comprises a reference voltage selection bit 1076a, power down selection bits 1064a (PDl, PDO), a DAC gain selection bit 1090a (/GxI / Gx2), and the four (4) most significant bits of data 1072a contained in the non- volatile memory 114 associated with the DAC selection bits 1028a. After the fifth byte has been read by the I C bus master, the bus master sends a master acknowledge 1010. A sixth byte is then sent by the slave device, the sixth byte comprises the least significant eight (8) bits of data 1074a contained in the non- volatile memory 114 associated with the DAC selection bits 1028a. After the sixth byte has been read by the I C bus master, the bus master sends another master acknowledge 1010. Figure 10b shows bytes seven (7) through eleven (11) that may be used to supply all of the previously mentioned respective status and data for the next DAC channel B (Figure 2). Figure 10c shows bytes twelve (12) through sixteen (16) that may be used to supply all of the previously mentioned respective status and data for the next DAC channel C (Figure 2). Figure 1Od shows bytes seventeen (17) through twenty-one (21) that may be used to supply all of the previously mentioned respective status and data for the next DAC channel D (Figure 2). This reading in normal mode command will terminate with a stop bit 420.
Referring to Figures 11 a- Hd, depicted is a schematic diagram of an address, command and data protocol structure for reading in test mode the DAC input registers and non- volatile memories of the DAC devices shown in Figures 1 and 2. A high voltage may be applied to the /LDAC pin of device 200 (Figure 2) before and during execution of the test mode read command. Referring now to Figure 11a, the read command in test mode begins with a start bit 402 followed by a first byte sent by the I2C bus master, e.g., a digital processor (not shown), wherein the first byte comprises a device code 404, and a read/write bit 408 (set to logic 1 indicating a read operation). Once the first byte of this read command from the I2C bus master is finished, a slave acknowledge 410 is asserted by the slave device under test. Then the second byte is sent by the slave device under test, wherein the second byte comprises a ready/busy bit 1146a that indicates the completion status of a write to the nonvolatile memory 114 (e.g., logic 1 indicates write complete, logic 0 indicates otherwise), the address 1106a of the slave device under test (A2, Al, AO), the DAC channel selected indicated by the DAC selection bits 1128a (DACl, DACO), and the status of the power down selection bits 1014a (PDl, PDO) of the selected DAC channel. After the second byte has been read by the bus master, the bus master sends a master acknowledge 1010.
A third byte is then sent by the slave device under test, wherein the third byte comprises the status of the voltage reference trim bits 1166a (V3, V2, Vl, VO), and the status of the gain trim bits 1168a ((G3, G2, Gl, GO) of the selected DAC channel, e.g., channel A (Figure 2). After the third byte has been read by the bus master, the bus master sends a master acknowledge 1010.
A fourth byte is then sent by the slave device under test, wherein the fourth byte comprises the status of the reference voltage selection bit 1026a and the status of the lock bit 1144a of the selected DAC channel. After the fourth byte has been read by the bus master, the bus master sends a master acknowledge 1010. Figure 1 Ib shows bytes five (5) through seven (7) that may be used to supply all of the previously mentioned status information for the next DAC channel B (Figure 2). Figure l ie shows bytes eight (8) through ten (10) that may be used to supply all of the previously mentioned status information for the next DAC channel C (Figure 2). Figure 1 Id shows bytes eleven (11) through thirteen (13) that may be used to supply all of the previously mentioned status information for the next DAC channel D (Figure 2). This reading in test mode command will terminate with a stop bit 420.
Referring to Figures 12(a), 12(b), 12(c) and 12(d), depicted are schematic block and bus signal diagrams of various types of serial interfaces that may be used with the device shown Figures 1 and 2, according to specific example embodiments of this disclosure. As shown in Figure 2(a), an I2C interface and logic 102a has a serial clock line, SCL, and a serial data line, SDA. The I2C interface specification is available from Phillips Semiconductors and is hereby incorporated herein for all purposes. As shown in Figure 2(b), a serial peripheral interface (SPI) and logic 102b has a serial clock, SCK, a data out line, SI, a data in line, SO, and a chip select, CS. The SPI interface specification is available from Motorola, Inc., or from any device manufacture incorporating the SPI interface in their products. The SPI interface specification is hereby incorporated herein for all purposes. As shown in Figure 2(c), a Universal Serial Bus (USB) and logic 102c has self clocking data lines D+ and D-. The USB interface specification is available at www.usb.org, or from any device manufacture incorporating the USB interface in their products. The USB interface specification is hereby incorporated herein for all purposes. As shown in Figure 2(d), a Serial Clock Input-Output (SCIO) and logic 102d has a single self clocking data line SCIO. The SCIO interface may use Manchester coding so that the clock and data are conveyed on a single bit line. Other serial interface standards are known to those skilled in digital electronics design and may also be effectively used with the teachings of this disclosure.
Referring to Figure 13, depicted are schematic plan views of two of many integrated circuit packages that may be used with the devices shown Figures 1 and 2, according to specific example embodiments of this disclosure. The I2C interface is shown, but it is contemplated and within the scope of this disclosure that any integrated circuit package may be used with any serial interface bus and number of analog outputs, device select nodes, AO, load register synchronization /LDCA, etc. It is contemplated and within the scope of this disclosure that the device select (e.g., enable) may also be done with programmable device select addressing in the serial data.
A serial bus protocol that supports slave addressing may be used to control, and read/write configuration and data from/to the devices 100 and 200. Some of these address bits may be programmed into the devices 100 and or 200 during fabrication at the factory and/or programmed during systems integration or even in the field.
While embodiments of this disclosure have been depicted, described, and are defined by reference to example embodiments of the disclosure, such references do not imply a limitation on the disclosure, and no such limitation is to be inferred. The subject matter disclosed is capable of considerable modification, alteration, and equivalents in form and function, as will occur to those ordinarily skilled in the pertinent art and having the benefit of this disclosure. The depicted and described embodiments of this disclosure are examples only, and are not exhaustive of the scope of the disclosure.

Claims

CLAIMSWhat is claimed is:
1. A device for digital-to-analog conversion and having non- volatile memory for storage of configuration information and digital values for conversion to analog values, said device comprising: a serial input-output port adapted for coupling to a serial bus; a serial interface and logic, the serial interface coupled to the serial input- output port; one or more input registers coupled to the serial interface and logic; one or more digital-to-analog converter registers coupled to respective ones of the one or more input registers; one or more digital-to-analog converters coupled to respective ones of the one or more digital-to-analog converter registers; and at least one non-volatile memory coupled to the one or more input registers.
2. The device according to claim 1, further comprising a charge pump for writing to the at least one non- volatile memory.
3. The device according to claim 1, further comprising power down control logic for controlling the one or more digital-to-analog converters.
4. The device according to claim 1, further comprising one or more analog amplifiers coupled to an analog output of respective ones of the one or more digital-to-analog converters.
5. The device according to claim 4, further comprising power down control logic for controlling the one or more analog amplifiers.
6. The device according to claim 1, further comprising a power-on-reset circuit for resetting the device upon loss of power thereto.
7. The device according to claim 1, further comprising an address select input coupled to the serial interface and logic for selection of an address for the device.
8. The device according to claim 1, wherein each of the one or more digital-to- analog converters is 12 bits.
9. The device according to claim 1, wherein at least one non- volatile memory is electrically erasable and programmable read only memory (EEPROM)
10. The device according to claim 1 , wherein at least one non- volatile memory is
FLASH memory.
11. The device according to claim 1, wherein commands to the serial input-output port are coupled to the serial interface and logic and are used for controlling operation, reading and writing data and reading status of the device.
12. The device according to claim 11, wherein a fast write command is used for writing configuration information and data to the one or more input registers, the fast write command comprises: a device code and an address for selection of the device; a read/write selection bit indicating a write operation; a fast write command code; a power down code; and digital input data for the each of one or more input registers.
13. The device according to claim 11, wherein a write command is used for writing configuration information and data to the one or more input registers and the one or more non-volatile memories, the write command comprises: a device code and an address for selection of the device; a read/write selection bit indicating a write operation; a write command code; a selection code for each of the one or more digital-to-analog converters; a voltage reference selection code for each of the one or more digital-to-analog converters; a power down code for each of the one or more digital-to-analog converters; a gain selection code for each of the one or more digital-to-analog converters; and digital input data for each of the one or more digital-to-analog converters.
14. The device according to claim 11, wherein a voltage reference selection command is used for selecting a voltage reference source for the one or more digital-to- analog converters, the voltage reference selection command comprises: a device code and an address for selection of the device; a read/write selection bit indicating a write operation; a voltage reference selection command code; and a voltage reference code for each of the one or more digital-to-analog converters.
15. The device according to claim 11, wherein a power-down selection command is used for selecting either a normal or power-down mode for each of the one or more digital- to-analog converters, the power-down selection command comprises: a device code and an address for selection of the device; a read/write selection bit indicating a write operation; a power-down selection command code; and a power-down code for each of the one or more digital-to-analog converters.
16. The device according to claim 11, wherein a first test mode command is used for writing trim bits for a voltage reference and trim bits for an operational amplifier associated with each of the one or more digital-to-analog converters, the first test mode command comprises: a device code and an address for selection of the device; a read/write selection bit indicating a write operation; a trim command code; voltage reference trim bits; selection bits for each of the one or more digital-to-analog converters; a gain selection bit for each of the one or more digital-to-analog converters; and trim bits for trimming each of the one or more digital-to-analog converters.
17. The device according to claim 11, wherein a second test command is used for locking unauthorized modification of the at least one non-volatile memory, the second test command comprises: a device code for selection of the device; a read/write selection bit indicating a write operation; a lock command code; and a lock bit for preventing unauthorized modification of the at least one nonvolatile memory.
18. The device according to claim 11 , wherein a read command is used for reading configuration information and data in the one or more input registers and the at least one nonvolatile memory, the read command comprises: a device code and an address for selection of the device; a read/write selection bit indicating a read operation; a ready/busy bit indicating completion status of a write operation to the at least one non- volatile memory associated with each of the one or more digital-to-analog converters; a power-on-reset bit indicating the power-on-reset status for each of the one or more digital-to-analog converters; identification of each of the one or more digital-to-analog converters so as to indicate their respective operating parameters stored in the respective one or more digital-to-analog converter registers for voltage reference selection, power-down selection, gain selection, and a data word value used for determining an analog output thereof; and to indicate their respective operating parameters stored in the at least one nonvolatile memory for voltage reference selection, power-down selection, gain selection, and a data word value used for determining an analog output thereof.
19. The device according to claim 11, wherein a third test command is used for reading configuration information for each of the one or more digital-to-analog converters, the third test command comprises: a device code and an address for selection of the device; a read/write selection bit indicating a read operation; a ready/busy bit indicating completion status of a write operation to the at least one non-volatile memory associated with each of the one or more digital-to-analog converters; identification of the device under test; identification of each of the one or more digital-to-analog converters so as to indicate their respective configuration information for power-down selection, voltage reference trim values, gain trim values, voltage reference selection, and lock bit status.
EP08745516.8A 2007-04-12 2008-04-10 Read and write interface communications protocol for digital-to-analog signal converter with non-volatile memory Active EP2132877B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US91128707P 2007-04-12 2007-04-12
US12/017,582 US7589652B2 (en) 2007-04-12 2008-01-22 Read and write interface communications protocol for digital-to-analog signal converter with non-volatile memory
PCT/US2008/059918 WO2008127988A2 (en) 2007-04-12 2008-04-10 Read and write interface communications protocol for digital-to-analog signal converter with non-volatile memory

Publications (2)

Publication Number Publication Date
EP2132877A2 true EP2132877A2 (en) 2009-12-16
EP2132877B1 EP2132877B1 (en) 2016-07-13

Family

ID=39853223

Family Applications (1)

Application Number Title Priority Date Filing Date
EP08745516.8A Active EP2132877B1 (en) 2007-04-12 2008-04-10 Read and write interface communications protocol for digital-to-analog signal converter with non-volatile memory

Country Status (6)

Country Link
US (1) US7589652B2 (en)
EP (1) EP2132877B1 (en)
KR (1) KR20100015700A (en)
CN (1) CN101657971B (en)
TW (1) TWI424689B (en)
WO (1) WO2008127988A2 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7788430B2 (en) * 2007-09-14 2010-08-31 Microchip Technology Incorporated Enhanced single-node protocol for data, address and control operations
FR2966946B1 (en) * 2010-10-27 2012-11-30 Oberthur Technologies METHOD FOR CONFIGURING AN ELECTRONIC ENTITY
US8607089B2 (en) * 2011-05-19 2013-12-10 Intel Corporation Interface for storage device access over memory bus
US9257182B2 (en) 2012-12-21 2016-02-09 Micron Technology, Inc. Memory devices and their operation having trim registers associated with access operation commands
US9007867B2 (en) * 2013-02-28 2015-04-14 Micron Technology, Inc. Loading trim address and trim data pairs
US20150019775A1 (en) * 2013-03-14 2015-01-15 Microchip Technology Incorporated Single Wire Programming and Debugging Interface
US10409735B2 (en) * 2015-08-31 2019-09-10 Macronix International Co., Ltd. Electronic device and data exchange method including protocol indicative of modes of operation
CN106227682B (en) * 2015-08-31 2020-08-18 旺宏电子股份有限公司 Electronic device, memory device and data exchange method thereof
US10649656B2 (en) 2017-12-28 2020-05-12 Micron Technology, Inc. Techniques to update a trim parameter in non-volatile memory
CN112148365B (en) * 2019-06-26 2024-04-05 珠海零边界集成电路有限公司 Control module, method and microcontroller chip
CN110851180A (en) * 2019-11-15 2020-02-28 广州健飞通信有限公司 Deposit module integration system
CN110865949A (en) * 2019-11-15 2020-03-06 广州健飞通信有限公司 Selectable mode serial port interface integrated output system
CN110825684A (en) * 2019-11-15 2020-02-21 广州健飞通信有限公司 Serial port interface integrated output system
CN113312217A (en) * 2020-02-26 2021-08-27 瑞昱半导体股份有限公司 Method for testing slave device of internal integrated circuit bus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6765954B1 (en) * 1999-08-16 2004-07-20 Globespanvirata, Inc. System and method for implementing a delta-sigma modulator integrity supervisor
US6466149B2 (en) * 2000-12-29 2002-10-15 Summit Microelectronics Inc. Apparatus and method for digital to analog conversion
US6823416B1 (en) * 2001-04-18 2004-11-23 Analog Devices, Inc. Method and apparatus for device interface
WO2004054113A1 (en) * 2002-12-09 2004-06-24 Analog Devices Inc. An integraded circuit comprising a dac with provision for setting the dac to a clear condition, and a method for setting a dac to a clear condition
US7339834B2 (en) * 2005-06-03 2008-03-04 Sandisk Corporation Starting program voltage shift with cycling of non-volatile memory

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO2008127988A2 *

Also Published As

Publication number Publication date
TW200908566A (en) 2009-02-16
US7589652B2 (en) 2009-09-15
US20080252505A1 (en) 2008-10-16
EP2132877B1 (en) 2016-07-13
CN101657971B (en) 2014-09-17
TWI424689B (en) 2014-01-21
WO2008127988A2 (en) 2008-10-23
WO2008127988A3 (en) 2008-12-04
KR20100015700A (en) 2010-02-12
CN101657971A (en) 2010-02-24

Similar Documents

Publication Publication Date Title
EP2132877B1 (en) Read and write interface communications protocol for digital-to-analog signal converter with non-volatile memory
US7755527B2 (en) Read and write interface communications protocol for digital-to-analog signal converter with non-volatile memory
US7962662B2 (en) Configuring multi-bit slave addressing on a serial bus using a single external connection
CA2231362C (en) A data maximizing serial to parallel bus interface in a data processing system and method therefor
US9477634B2 (en) I2C address translation
TWI828543B (en) Method for providing digital output code to represent analog input value and analog-to-digital converter
US9966961B1 (en) Pin allocation circuit
US9148147B2 (en) Programmable mixed-signal input/output (IO)
US11127468B2 (en) Method for addressing a non-volatile memory on I2C bus and corresponding memory device
KR100787054B1 (en) Control System for Same Address Device Using I2C Protocol
CN114967570A (en) I2C slave address programmable control circuit structure and control method
EP1949221B1 (en) A slave and a master device, a system incorporating the devices and a method of operating the slave device
US6985100B2 (en) Integrated circuit comprising a DAC with provision for setting the DAC to a clear condition, and a method for setting a DAC to a clear condition
CN114826269A (en) Analog-to-digital conversion circuit and operation method thereof
US20050120155A1 (en) Multi-bus I2C system
CN102479553A (en) Application-specific integrated circuit with multiple analog circuits requiring to be trimmed
CN100492537C (en) Increasing/ reducing, chip selection and selectable wirting-in for non-volatile memory
US7289591B2 (en) Counter circuit for controlling off-chip driver
JP4317725B2 (en) DA converter
KR100404232B1 (en) micro controller unit
JP4073321B2 (en) Data processing device
KR20220168729A (en) Analog-digital converter
WO2005096507A1 (en) Non integer bit system
JP2002164787A (en) D/a output port
Katupitiya et al. Parallel Port Basics and Interfacing

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20091001

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MT NL NO PL PT RO SE SI SK TR

17Q First examination report despatched

Effective date: 20100217

RIN1 Information on inventor provided before grant (corrected)

Inventor name: AUSTIN, JOHN

Inventor name: JACKSON, JONATHAN

Inventor name: JOHNER, YANN

Inventor name: LEE, THOMAS YOUBOK

Inventor name: SWANECK, ANDREW

DAX Request for extension of the european patent (deleted)
GRAP Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOSNIGR1

INTG Intention to grant announced

Effective date: 20160302

GRAS Grant fee paid

Free format text: ORIGINAL CODE: EPIDOSNIGR3

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MT NL NO PL PT RO SE SI SK TR

REG Reference to a national code

Ref country code: GB

Ref legal event code: FG4D

REG Reference to a national code

Ref country code: AT

Ref legal event code: REF

Ref document number: 813023

Country of ref document: AT

Kind code of ref document: T

Effective date: 20160715

Ref country code: CH

Ref legal event code: EP

REG Reference to a national code

Ref country code: IE

Ref legal event code: FG4D

REG Reference to a national code

Ref country code: DE

Ref legal event code: R096

Ref document number: 602008045087

Country of ref document: DE

REG Reference to a national code

Ref country code: NL

Ref legal event code: FP

REG Reference to a national code

Ref country code: LT

Ref legal event code: MG4D

REG Reference to a national code

Ref country code: AT

Ref legal event code: MK05

Ref document number: 813023

Country of ref document: AT

Kind code of ref document: T

Effective date: 20160713

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: IS

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20161113

Ref country code: LT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: IT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: FI

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: NO

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20161013

Ref country code: HR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: BE

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: LV

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: PL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: ES

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: AT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: GR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20161014

Ref country code: PT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20161114

Ref country code: SE

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

REG Reference to a national code

Ref country code: DE

Ref legal event code: R097

Ref document number: 602008045087

Country of ref document: DE

REG Reference to a national code

Ref country code: FR

Ref legal event code: PLFP

Year of fee payment: 10

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: RO

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: EE

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: SK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: BG

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20161013

Ref country code: DK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

Ref country code: CZ

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

26N No opposition filed

Effective date: 20170418

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: SI

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

REG Reference to a national code

Ref country code: CH

Ref legal event code: PL

REG Reference to a national code

Ref country code: IE

Ref legal event code: MM4A

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: MC

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: CH

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20170430

Ref country code: LI

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20170430

Ref country code: LU

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20170410

REG Reference to a national code

Ref country code: FR

Ref legal event code: PLFP

Year of fee payment: 11

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: IE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20170410

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: MT

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20170410

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: HU

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT; INVALID AB INITIO

Effective date: 20080410

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: CY

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20160713

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: TR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20160713

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: FR

Payment date: 20230321

Year of fee payment: 16

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20230321

Year of fee payment: 16

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: NL

Payment date: 20230321

Year of fee payment: 16

P01 Opt-out of the competence of the unified patent court (upc) registered

Effective date: 20230528

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: DE

Payment date: 20230321

Year of fee payment: 16