yeuop
yeuop

Reputation: 169

Does SPI got auto-increment mode by itself?

I want to write and read to a few registers in one command via SPI (from 0A to 0F). Does SPI support sth that I can do it in one command (auto-incrementing registers) and just write 6 bytes of data or I have to do it like: command for 0A -> data for 0A -> command for 0B -> data for 0B -> command for 0C ... ?

Upvotes: 0

Views: 289

Answers (1)

Codo
Codo

Reputation: 78975

The auto-increment mode you are describing does exist. It's even quite common.

However, it's not a feature of SPI but a feature of the chip / device you are communicating with.

So your question can only be answered for specific chips and devices. Check their datasheet.

Upvotes: 2

Related Questions