Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

DAVE™ Forum Discussions

User8734
Level 4
Level 4
Good day,

I want to customized Output Waveform, using DACWG003.
I can choose between Triangle, Sinus und Custom waveforms.

Question is, for last case, where in memory LUT (say, from 256 points) shall be located?

Or maybe Interrupt shall be used each time for new customaized value?

Please clarify.

BR
K
0 Likes
3 Replies
Not applicable
Hi K,

The LUT is declare as constant (const) and it will be located at the Flash area.
You can get the exact address of the LUT from the *.map file.
Look for the array name "DACWG002_LUT0" in the *.map file and you can find the address of the LUT.
0 Likes
User8734
Level 4
Level 4
Good day Jackson,

Thanks. But looks like this LUT can not be re-defined "on fly" as far it is in flash?
My task is to send on DAC array of some results from RAM, say 512 points. How it can be done?

BR
K
0 Likes
Not applicable
Hi K,

Yes, currently it is located on the flash and not able to change on the fly.
If you need to change while your application is running, you have to declare your LUT on RAM instead.
Then change the LUT pointer to your newly declare LUT.
0 Likes