How Does The DIGI POT 9 Click Board™ Work?
The DIGI POT 9 Click Board™ is based on the AD5235, a digital potentiometer that operates as a proper variable resistor from Analog Devices. The resistor wiper position is determined by the RDAC register contents, that act as a scratchpad register, allowing unlimited changes of resistance settings. The scratchpad register can be programmed with any position setting using the standard SPI serial interface by loading the 24-bit data-word. The nominal resistance of the RDAC between terminal A and terminal B (RAB) is 250kΩ with 1024 positions (10-bit resolution).
The DIGI POT 9 Click Board™ communicates with MCU through a standard SPI interface and operates at clock rates up to 10MHz, supporting the two most common SPI modes, SPI Mode 0 and 3. In the format of the data-word, the first four bits are commands, the following four bits are addresses, and the last 16 bits are data. When a specified value is set, this value can be stored in a corresponding EEMEM register for user-defined information such as memory data for other components, look-up table, or system identification information. During subsequent power-ups, the wiper setting is automatically loaded to that value. The device performs the same electronic adjustment function as a mechanical potentiometer with enhanced resolution, solid-state reliability, and superior low-temperature coefficient performance.
An additional feature of this board represents optional write-protect and hardware override preset signals, routed to the PWM and RST pins of the mikroBUS™ socket, and labelled as WP and PR. Hardware override preset feature refreshes the scratchpad register with the current contents of the EEMEM register. Factory default loads midscale until EEMEM is loaded with a new user-set value. On the other hand, the write-protect signal disables any changes to the scratchpad register contents, except for the EEMEM setting. Therefore, write-protect can be used to provide a hardware EEMEM protection feature. Also, it uses a ready RDY pin, routed to the INT pin of the mikroBUS™ socket, used for EEMEM instruction completion indication.
The DIGI POT 9 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development.
||The DIGI POT 9 Click Board™ can be used as a mechanical potentiometer replacement, voltage-to-current conversion, gain and offset adjustment, and many other applications
||AD5235 - digital potentiometer that operates as a proper variable resistor from Analog Devices
||Dual-channel, 1024-position resolution, 250 kΩ nominal resistance, SPI-compatible serial interface, nonvolatile memory stores wiper settings, 100 years of typical data retention, and more
|Click board size
||M (42.9 x 25.4 mm)
||3.3V or 5V
This table shows how the pinout of the DIGI POT 9 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
|Hardware Override Preset
|SPI Chip Select
|SPI Data OUT
|SPI Data IN
ONBOARD SETTINGS AND INDICATORS
||Power LED Indicator
||Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V
DIGI POT 9 CLICK ELECTRICAL SPECIFICATIONS
|Number of Taps
|Operating Temperature Range