Hi Frank,
I'm trying to figure out when the CHO instructions stop using the internal register (REG flag) and revert to using the "live" LFO value. Application note AN-0001 (page 4) shows that once the REG flag is used, several subsequent CHO instructions continue to use the captured LFO value in this register without having to send the REG flag again. At what point do CHO instructions go back to reading directly from the LFO instead of the internal register? Thanks in advance.
REG flag in CHO Instructions
Moderator: frank
Re: REG flag in CHO Instructions
Simple answer, never.
The value in the register will stay there until you do a new REG so if you want a "live" value then just do a REG.
The value in the register will stay there until you do a new REG so if you want a "live" value then just do a REG.
Frank Thomson
Experimental Noize
Experimental Noize
Re: REG flag in CHO Instructions
Ah, that clarifies it, thank you. I'm guessing that applies to CHO RDA and CHO SOF, but CHO RDAL simply gives the live value all the time regardless?
Re: REG flag in CHO Instructions
Correct, CHO RDAL just give the current value of the selected LFO so if you read it multiple times in a program you may or may not get the same value. All LFOs are updated once per sample period but at different times for each LFO and their associated SIN and COS registers.
Frank Thomson
Experimental Noize
Experimental Noize