kvrajasekar
Junior Member level 3

sine lookup table
Hi,
I want to generate sine wave using asm code in 16f877.it has 10-bit adc.
data in adc is 16 bit wide.the result will be stored in ADRESH and ADRESL.How can i use the sine LUT for 16 bit variable or is there any method to implement.
If i store the values using PCL it is 8 bit wide ,but my adc data is 16 bit,how can i use the sine LUT,
Please share your ideas.
Regards,
raja.
Hi,
I want to generate sine wave using asm code in 16f877.it has 10-bit adc.
data in adc is 16 bit wide.the result will be stored in ADRESH and ADRESL.How can i use the sine LUT for 16 bit variable or is there any method to implement.
If i store the values using PCL it is 8 bit wide ,but my adc data is 16 bit,how can i use the sine LUT,
Please share your ideas.
Regards,
raja.