Post Go back to editing

Interface Read / Write Failing

Hi,

I'm having issues with interface Read/Write function. I try to save a value (an index) from an UpDownLUT in interface_0. I want to save this value on powerdown und restore it on reboot. My intention is to restart with the same volume as before. This doesnt work, the value is always lost. My questions are:

  1. Is the workaround described in how-do-i-use-the-interface-read-interface-write-and-write-back-trigger still needed?
  2. If not, what could be other reason for the issues? Too less power perhaps?

thanks for an advise

Kurt

PS: I'm using an ADAU1701 and Sigma Studio 4.6 

Parents Reply Children
  • Hi, 

    thanks a lot for your support. Your Idead with multible writeback and externally connection to WB pin seems to me like a viable solution. I'll give a try on it the next days and I'll come back to you with results, good hopefully.

    thanks Kurt 

  • Hi Dave, 

    I implemented a timer which outputs a 1 every minute i.e. 288.000 = 48K x 60 samples. The output was  routed to GPIO_OUT and externally routed to the pin I assumed to WB.  I modified the E2prom out op to x04 as suggested. 

    But any tests failed. No value was saved. I strongly believe, that the WB Pin is accessible on any port. I will replace rotary encoder by an analog potentiometer.

    thanks four your support

    Kurt

  • Hello Kurt,

    Thanks for trying this. I will try it out when I get a chance. It would be a good thing to document. There is also the trigger polarity. The default is rising edge so the GPIO should be sitting low then go high when you want the writeback to trigger. Then the length of the pulse will be important. There is a chance that a single sample period pulse might be too fast. Did you see any activity with your scope on the I2C bus?  

    Dave T