Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

DAC GUI V2

$
0
0

Hey all,

 

Round 2: This extends the peripherals of the MSP430 to a UART based ascii AT command set. For example, send "AT+GET_ADC" over the USB->Serial bridge to get all the ADC values returned. Since I released my first GUI there have been a couple others like it. You will find that this version's strength is that the underlying C driver set is my personal driver set which is quite powerful XD . I then wrote a C# GUI as a wrapper around this command set.

 

Features Implemented: Digital IO, Analog I, PWM, SPI

dac_preview_1.png

 

PWM Example:

dac_preview_2.png

 

Steps to use:

1. Download code & .exe file here: https://github.com/NateZimmer/ICBM

2. Import C code into CCSV5.1 (haven't tested with other versions) and flash to launchpad.

3. Ensure UART jumpers on the MSP430 Launchpad are set to Hardware based UART on a msp430g2553 launchpad Rev 1.5

4. Run GUI and connect to launchpad.

5. Enjoy!

 

Todo:

Implement DCO Calibration for better CLK accuracy

Implement I2C

Implement Graphing/Logging

Implement more flexible spi chip select features

 

Please let me know if this does not work for you


Viewing all articles
Browse latest Browse all 2077

Trending Articles