Content originally posted in LPCWare by vrm-janis on Tue Jul 28 06:18:33 MST 2015
Quote:
I haven't done anything with DMA yet... Sad
I doubt, the CPU is overloaded from reloading your sine values unless you go for very high frequencies. If you go for high frequencies, then your PWM resolution is low (+- 15 steps at 1MHz as an example) and the sine-table is of little use.
My goal is about 400Hz +/- tens of hertz....
I have an one idea now:
Use DMA transfer configured as linked.
- all DMA descriptor will be stored in sinetable = too much RAM will be occupied (I have 2/3 RAM of free now).
Quote:
Don't be too extreme, the core is designed for doing work Wink
I now, but the rest of my application need core also (921600 baud UART communication with proprietary protocol, feedback from motor [yes, it's motor controller], corrections, calculations,... etc.]
And LPC824 is sexy :-) It's small and powerful...
Still be possible use LPC1549.... (but is bigger)
p.