| 数据搜索系统,热门电子元器件搜索 |
|
MCP4641-503E/MF 数据表(PDF) 63 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP4641-503E/MF 数据表(HTML) 63 Page - Microchip Technology |
|
63 / 92 page ![]() © 2008 Microchip Technology Inc. DS22107A-page 63 MCP454X/456X/464X/466X 7.6 Increment Wiper Normal and High Voltage The Increment Command provide a quick and easy method to modify the potentiometer’s wiper by +1 with minimal overhead. The Increment Command will only function on the volatile wiper setting memory locations 00h and 01h. The Increment Command to Non-Volatile addresses will be ignored and will generate a A. When executing an Increment Command, the volatile wiper setting will be altered from n to n+1 for each Increment Command received. The value will incre- ment up to 100h max on 8-bit devices and 80h on 7-bit devices. If multiple Increment Commands are received after the value has reached 100h (or 80h), the value will not be incremented further. Table 7-4 shows the Increment Command versus the current volatile wiper value. The Increment Command will most commonly be performed on the Volatile Wiper locations until a desired condition is met. The value in the Volatile Wiper register would need to be read using a Read operation in order to write the new setting to the corresponding Non-Volatile wiper memory using a Write operation. The MCP4XXX is responsible for generating the A bits. Refer to Figure 7-7 for the Increment Command sequence. The sequence is terminated by the Stop condition. So when executing a continuous command string, The Increment command can be followed by any other valid command. this means that writes do not need to be to the same volatile memory address. The advantage of using an Increment Command instead of a read-modify-write series of commands is speed and simplicity. The wiper will transition after each Command Acknowledge when accessing the volatile wiper registers. TABLE 7-4: INCREMENT OPERATION VS. VOLATILE WIPER VALUE 7.6.1 THE HIGH VOLTAGE COMMAND (HVC) SIGNAL The High Voltage Command (HVC) signal is multi- plexed with Address 0 (A0) and is used to indicate that the command, or sequence of commands, are in the High Voltage mode. Signals > VIHH (~8.5V) on the HVC/A0 pin puts MCP45XX/46XX devices into High Voltage mode. High Voltage commands allow the device’s WiperLock Technology and write protect features to be enabled and disabled. The HVC pin has an internal resistor connection to the MCP45XX/46XXs internal VDD signal. FIGURE 7-7: I2C Increment Command Sequence. Note: Table 7-2 shows the valid addresses for the Increment Wiper command. Other addresses are invalid. Note: The command sequence can go from an increment to any other valid command for the specified address. Issuing an incre- ment or decrement to a non-volatile loca- tion will cause an error condition (A will be generated). Current Wiper Setting Wiper (W) Properties Increment Command Operates? 7-bit Pot 8-bit Pot 3FFh 081h 3FFh 101h Reserved (Full-Scale (W = A)) No 080h 100h Full-Scale (W = A) No 07Fh 041h 0FFh 081 W = N 040h 080h W = N (Mid-Scale) Yes 03Fh 001h 07Fh 001 W = N 000h 000h Zero Scale (W = B) Yes Note: There is a required delay after the HVC pin is driven to the VIHH level to the 1st edge of the SCL pin. Control Byte INCR Command (n+1) INCR Command (n+2) 1 01 0 SA2 A1 A0 0 0 AD AD AD AD A1 x X A 0 AD AD AD AD 1x X A P (2) 0 1 2 3 432 1 Fixed Address Variable Address Device Memory Address Command Write bit Note 1: Increment Command (INCR) only functions when accessing the volatile wiper reg- isters (AD3:AD0 = 0h and 1h). 2: This command sequence does not need to terminate (using the Stop bit) and can change to any other desired command sequence (Increment, Read, or Write). |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |