Page 1 of 1
LUT Table on dsPIC
Posted: Thu Oct 18, 2012 5:26 pm
by sotos
I like to know the syntax to store and retrive a lookup table into memory of dsPIC30F3012 .
It is possible to store numbers biger than 255 ?
regards
sotos
Re: LUT Table on dsPIC
Posted: Thu Oct 18, 2012 5:57 pm
by Enamul
Re: LUT Table on dsPIC
Posted: Fri Oct 19, 2012 9:01 am
by DavidA
For "storing" values higher than 255, one way would be to have 2 lookup tables, one for a high byte and one for a low byte, then combine them when needed in the calculation.
Re: LUT Table on dsPIC
Posted: Wed Oct 24, 2012 6:33 pm
by sotos
Hi
That i mean is what is the right format of the command to store and accessing the data from Lookup tables
stored in program memory off dsPIC 30F12 .
Another isue on dsPIC 30F12 is interupt function .
Regards
sotos
Re: LUT Table on dsPIC
Posted: Wed Oct 24, 2012 7:40 pm
by Enamul
Here is an example for LUT using 30F2012 chip..I have compiled that fine.