A concept for how to generate 2 synchronous PWM signals with independent duty cycle, and a synchronous interrupt for trigger ADC conversion. This is targeting PWM-ADC-BEMF velocity control of a brushed DC motor. Due to limitations in the routing of the mbed board, and the design of the peripherals in the LPC17xx MCU, the PWM's are synthesized with a combination of timer matches and software handling to shape the signal. Code is untested for functionality. Testing with a scope for correct function is critical.

Dependencies:   mbed

Committer:
apullin
Date:
Wed Feb 24 09:26:33 2016 +0000
Revision:
0:eeb86d8390aa
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
apullin 0:eeb86d8390aa 1 http://mbed.org/users/mbed_official/code/mbed/builds/6f327212ef96