Hi,
Does anyone have code for the F28377D that allows it to read in values through the ADC and then send them back out through the DAC?
Also, I have been messing with the example buffdac_enable_cpu01 and when I try to get it to output a signal that counts up and then counts down there is a gap in the middle where it just stays high before counting down. Does anyone know why this is? Below is the code:
while(1) {
unsigned long ii;
for (ii = 0; ii < 3000; ii++)
{
DacaRegs.DACVALS.bit.DACVALS = ii;
}
for(ii = 3000; ii > 0; ii = ii - 1)
{
DacaRegs.DACVALS.bit.DACVALS = ii;
}
}
Thanks,
Brandon