You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Wow, that's a bit frustrating. It could be that you can do:

    i2c.writeTo({address:addr, stop:false}, WAKEUP_CMD);
    getTime();getTime();getTime();getTime();
    i2c.writeTo(addr, "");
    

    I'm not sure, but that might be good enough to send the command followed by a stop. You could use setTimeout but as you note, because of the tight timing it might be better to just pad it out with a few commands to get a good enough delay.

    But as being as there is already a library to handle AM230x comms in it's single-bus mode it's probably more sensible to just use that

About

Avatar for Gordon @Gordon started