| Electronic Components Datasheet Search |
|
X40231 Datasheet(PDF) 13 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
X40231 Datasheet(HTML) 13 Page - Renesas Technology Corp |
|
13 / 36 page ![]() X40231, X40233, X40235, X40237, X40239 FN8115 Rev 0.00 Page 13 of 36 April 11, 2005 DCP Write Operation A write to DCPx (x=0,1,2) can be performed using the three byte command sequence shown in Figure 9. In order to perform a write operation on a particular DCP, the Write Enable Latch (WEL) bit of the CR Regis- ter must first be set (See “BL1, BL0: Block Lock protec- tion bits - (Nonvolatile)” on page 18.) The Slave Address Byte 10101110 specifies that a Write to a DCP is to be conducted. An ACKNOWLEDGE is returned by the X4023x after the Slave Address, if it has been received correctly. Next, an Instruction Byte is issued on SDA. Bits P1 and P0 of the Instruction Byte determine which WCR is to be written, while the WT bit determines if the Write is to be volatile or nonvolatile. If the Instruction Byte format is valid, another ACKNOWLEDGE is then returned by the X4023x. Following the Instruction Byte, a Data Byte is issued to the X4023x over SDA. The Data Byte contents is latched into the WCR of the DCP on the first rising edge of the clock signal, after the LSB of the Data Byte (D0) has been issued on SDA (See Figure 34). The Data Byte determines the “wiper position” (which FET switch of the DCP resistive array is switched ON) of the DCP. The maximum value for the Data Byte depends upon which DCP is being addressed (see fol- lowing table). Using a Data Byte larger than the values specified above results in the “wiper terminal” being set to the highest tap position. The “wiper position” does NOT roll- over to the lowest tap position. For DCP0 (64 Tap) and DCP2 (256 Tap), the Data Byte maps one to one to the “wiper position” of the DCP “wiper terminal”. Therefore, the Data Byte 00001111 (1510) corresponds to setting the “wiper terminal” to tap position 15. Similarly, the Data Byte 00011100 (2810) corresponds to setting the “wiper terminal” to tap posi- tion 28. The mapping of the Data Byte to “wiper position” data for DCP1 (100 Tap), is shown in “APPENDIX 1” . An example of a simple C language function which “translates” between the tap position (decimal) and the Data Byte (binary) for DCP1, is given in “APPENDIX 2” . It should be noted that all writes to any DCP of the X4023x are random in nature. Therefore, the Data Byte of consecutive write operations to any DCP can differ by an arbitrary number of bits. Also, setting the bits P1 = 1, P0 = 1 is a reserved sequence, and will result in no ACKNOWLEDGE after sending an Instruction Byte on SDA. The factory default setting of all “wiper position” settings is with 00h stored in the NVM of the DCPs. This corre- sponds to having the “wiper terminal” RWX (x = 0,1,2) at the “lowest” tap position, Therefore, the resistance between RWX and RLX is a minimum (essentially only the Wiper Resistance, RW). S T A R T 101 01110 A C K WT 0 0 0 0 0 P1 P0 A C K S T O P A C K D7 D6 D5 D4 D3 D2 D1 D0 SLAVE ADDRESS BYTE INSTRUCTION BYTE DATA BYTE Figure 9. DCP Write Command Sequence P1- P0 DCPx # Taps Max. Data Byte 00 x = 0 64 3Fh 0 1 x = 1 100 Refer to Appendix 1 1 0 x = 2 256 FFh 11 Reserved |
|
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 |