Not quite relevant, but for the DAC that was discussed before, for the new PIC 1782/3, it needs 10usec for each sample to output a DC voltage. So it will reach about 390Hz maximum.
So even this solution is slow enough for the 5KHz target.
Can the HPWM be of some help here? I think it can for a 32MHz PIC.
Ioannis
Bookmarks