@dspk: this is an operator that will read parameter values from the blackfin, back into bees. for this to be useful it also requires that a module update its own parameters.
@rick_monster: that line looks ok to me. i don’t see the operator in your pull request though (which i just merged,) so i don’t know what else is going on or where this output is triggered. (personally, i wouldn’t give it a dedicated timer, but allow it to be arbitrarily polled from a METRO, switch, or whatever.) i guess it’s also worth mentioning that bfin_get_param() disables interrupts during its execution - i don’t see that being a problem but maybe bear it in mind when debugging.
also, looking at the ‘analyser’ module source, i don’t see it actually updating its parameter values. for this to work, it would have to do something like calling module_set_param() from module_process_frame(), for each analysis result, in addition to updating the physical CV outputs.
EDIT: sorry, a correction. analyser.c should call param_setup() or the equivalent - it needs to update the low-level parameter fields with the values to be sent to the avr32. [ gModuleData->paramData[id].value ]
i’m also realizing that analyser doesn’t declare parameters for analysis results, just for envelope and fixed CV output settings. each thing that you want to report to avr32 should be a separate parameter in its own right.