Digipot Example using the X9C104 as a DCP (Digitally Controlled Potentiometer) along with the MSP432 as uC. Button S1 (P1.1) will in/decrease resistance. Button S2 (P1.4) will change direction. Resistance range of 0 - 100kOhms. 100 Wiper tap points (1kOhm steps). This example is based upon TI's TI-RTOS empty project. Search for @jvz for project modifications.
** See main.c for more details **
X9C104
DCP - SeeX9C104
folder.GPIO Buttons
- See main() for interupts.
- Button S1 (P1.1) will in/decrease resistance.
- Button S2 (P1.4) will change direction.
180 ticks equates to roughly 54.33uS. Can reduce this number down to 1uS for faster results in feedback loops
This examples is the same as the Empty_Minimal example except many development and debug features are enabled. For example:
- Logging is enabled
- Assert checking is enabled
- Kernel Idle task
- Stack overflow checking
- Default kernel heap is present
Please refer to the Memory Footprint Reduction section in the TI-RTOS User Guide spruhd4.pdf for a complete and detailed list of the differences between the empty minimal and empty projects.
-
For GNU and IAR users, please read the following website for details about enabling semi-hosting in order to view console output.
-
For more help, search either the SYS/BIOS User Guide or the TI-RTOS Getting Started Guide within your TI-RTOS installation.