Member Since: June 27, 2011

Country: United States



Research assistant at Technical University Munich

Programming Languages


  • Hi, I can confirm that this workaround works!

  • Your are right, the delay helped but didn’t solve the problem… I am also stuck at the STC interrupt. What confuses me is that the STC interrupt comes about 20 ms too soon. It should come after 60ms but comes after ~40ms. I'dont know, it’s quite strange… I think there is a fundamental problem with the timing. I hope I have time to hook it up to the logic analyzer tomorrow at work.

  • Hi, I think i found the solution to the timing problem. Insert a “delay(1)” after the “spiTransfer(0xE0);” command. This takes the “bus turnaround time” into account (fig. 7 datasheet) and suddenly all long responses make sense.

No public wish lists :(