MAX22200
Recommended for New Designs
The MAX22200/MAX22200A are octal 36V serial-controlled solenoid drivers. Each channel features a low impedance (200mΩ typ) push-pull output stage with...
Datasheet
MAX22200 on Analog.com
Hello,
I am trying to read MAX22200 Serial-Controlled Solenoid and Motor Driver data with spi communication. I ran into a few problems and frankly, I couldn't find many examples on the internet so I wanted to ask here.
When I examined the datasheet, I read that I had to send the Command Register to the sensor first and then write data or read data.

For example, when I energize, I want to read the STATUS Register Address(0x00) data of the sensor. I am sending 0x80 by SDI as Command Register.

In order to be able to read 32-bit data after the data, I send 0x00 by SDI, since no information is given on the datasheet side, I read 0x00 by SDO.
The question mark point stuck in my head here is actually when I change any bit of the STATUS Register, I still read 0x00.
Topics on my mind,
Hi!
I also spent a lot of time getting the communication between a stm32 nucleo board and the MAX22200 to work. I found a project on github with drivers for the chip and used them as a starting point. Basically I just adapted the style and functions to suit my project and added and removed functions as needed. Maybe it can help others too.
Here is the link: https://github.com/mentee-robotics/Hand6Motors/blob/main/Core/Src/max22200_driver.c
Regards
Lars
Apparently since last week there is an official driver available here: https://github.com/analogdevicesinc/no-OS/tree/master/drivers/digital-io/max22200
A bit annoying that it's still not mentioned anywhere else on the site.
Apparently since last week there is an official driver available here: https://github.com/analogdevicesinc/no-OS/tree/master/drivers/digital-io/max22200
A bit annoying that it's still not mentioned anywhere else on the site.