Microchip dspic33ch512MP508 Programming -- 2
Budget: $250 – $750 USD
Use microchip MCC to generate two PWM sine-waves, (100, 300 Hz nominal) to drive DRV8833. LUT-DMA-MCCP/Compare-Push/Pull. LUT should be 1/2 time period off. use CCP/capture to track the timer/phase value T1/T2 of the sine-waves at a CLC1 trigger. DMA reset timer at phase 0 of sine-wave.
use each of the CCP/capture triggers ADC1/ADC2 to read the generated sine-waves accordingly.
pack T1/T2/ADC2-ADC1 in one DMA block per CLC1 trigger, export data through SPI or PMP to ENC624J600 ethernet out.
GUI to display phase value T1/T2/ADC2-ADC1 value, plot data on spherical coordinate, ADC2-ADC1 is R value. GUI Capable to change frequency, amplitude of the sine waves, I will test the sine-wave on dspic33ch512MP508 display on scope and test on DRV8833 I will test to change frequency, amplitude with your GUI on PC,
I will need an MPlab project file and GUI source code.
Milestone 1: MPlab file to test project firmware.
Milestone 2: GUI source code and exe file to test on PC
Milestone 3: use PMP to communicate with ENC624J600 PSP send data out through Ethernet.
use each of the CCP/capture triggers ADC1/ADC2 to read the generated sine-waves accordingly.
pack T1/T2/ADC2-ADC1 in one DMA block per CLC1 trigger, export data through SPI or PMP to ENC624J600 ethernet out.
GUI to display phase value T1/T2/ADC2-ADC1 value, plot data on spherical coordinate, ADC2-ADC1 is R value. GUI Capable to change frequency, amplitude of the sine waves, I will test the sine-wave on dspic33ch512MP508 display on scope and test on DRV8833 I will test to change frequency, amplitude with your GUI on PC,
I will need an MPlab project file and GUI source code.
Milestone 1: MPlab file to test project firmware.
Milestone 2: GUI source code and exe file to test on PC
Milestone 3: use PMP to communicate with ENC624J600 PSP send data out through Ethernet.