cancel
Showing results for 
Search instead for 
Did you mean: 

ASM330LHHXG1 no response to WHO_AM_I on SPI

ghincher
Associate

Hi,

I'm trying to get the ASM330LHHXG1 up and running with a nucleo F767. Before anything else, I simply want to read WHO_AM_I. I have VDD and VDDIO tied to 3.3V, INT1 and INT2 floating, SDO to MISO on PA6, SDA to MOSI on PA7, SCK to SCK on PA5, and CS tied to ground. I'm in spi mode 3 like the datasheet examples use running at 1 MB/s, and when I look at SCK and MOSI on my oscilloscope, I see 0x8F being sent cleanly followed by a dummy 0x0 to push out the response. However, when I instead probe MISO, I see a signal that looks like its floating and slightly ringing with SCK. I observe the same thing in SPI mode 1. I'm on a breadboard for the time being so I don't have a super robust setup, but my output from the STM32 seems clean and straightforward enough that I'm not sure what else to debug. I've tried two STEVAL MKI243A's and have checked my wiring multiple times. It seems as though I'm sending a valid transaction to a powered up device and nothing happens, identically on two sensors. I parsed through the publically available driver and could not find any _init functions that maybe perform some sort of initialization sequence that I'm missing before communicating, but at this point that is the only thing that I can think of causing this behavior. Has anyone else has similar issues, or is there something more obvious that I'm missing? This is a home project so I'm limited to two probes, but I've attached the captures of MISO and MOSI separately. Thanks!

0 REPLIES 0