Is this possible? I'm taking a changing 0-5v input signal and converting it to either a 10 to 3000hz variable or a 2 to 12khz variable output with a lookup table. I believe I need to use HPWM because I need the output to be run and updated continously while the rest of the code in the MCU is ran. I can also put the output I want from the lookup table into the "frequency" variable of the HPWM command and have it updated each time the loop is performed. From what I've read I can not output a frequency that low with my 48MHZ osc. I believe i need to use this speed for USB because I'm using a PIC18f14K50.

Any ideas?