IIM-46234 - Is it possible to use in SPI only mode?

By deanharkenuavi… , 10 January 2025

The datasheet (DS-000300) indicates both UART commands as well as SPI accessible registers. It appears that the UART interface could be ignored and only the SPI interface could be used. If that is true, then I want to use SPI only.

My problem with understanding how to a SPI only interface is how do I use the "page ID"? All the data registers are on page 1. I only have 8 bits of SPI register address to work with and page 0 is full.

deanharkenuavi…

1 year 2 months ago

I think I have resolved my issue; it was confusion.

As I understand it, all reads and writes must conform to the packet structure, not just for UART serial, but for SPI as well. I was stuck on the assumption that register accesses were simple SPI transactions like CS->reg_addr->data->#CS. This module is different in that it wants CS->Header->Length->type->Payload(reg_addr, page, data)->checksum->footer->#CS.

With this data format, it should work pretty uniformly via UART or SPI master.

Am I understanding this correctly?

phpbb Post ID
48781
phpbb Topic ID
48778