You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Ahh - yes, you're right. This looks like it's actually to do with the nRF52's SPI hardware!

    It seems that data is output MSB first, as you'd expect. However after outputting all data the state of the output line returns to the state that was in the top bit! So I guess either we'd have to move to 0b01010101 or ob01100110 (and then double the number of bytes).

    At this point I think it's probably best to just go with your method and drive it with 24 bits of data despite what the datasheet says. If it's not going to cause any trouble and it works reliably :)

About

Avatar for Gordon @Gordon started