Skip to content

jvz1990/DigiPotMSP432

Repository files navigation

DigiPot X9C104 Example Summary

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 **

Peripherals Exercised

  • X9C104 DCP - See X9C104 folder.
  • GPIO Buttons - See main() for interupts.

Example Usage

  • Button S1 (P1.1) will in/decrease resistance.
  • Button S2 (P1.4) will change direction.

MSP432 Timing

180 ticks equates to roughly 54.33uS. Can reduce this number down to 1uS for faster results in feedback loops Oscilloscope timing

(TI-RTOS) Application Design Details

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.

(TI) References

  • 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.

About

Digipot (X9C104) example with MSP432

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published