Shop OBEX P1 Docs P2 Docs Learn Events
Mlx90316 — Parallax Forums

Mlx90316

FranklinFranklin Posts: 4,747
edited 2007-12-24 02:46 in General Discussion
I'm trying to read this sensor and am having trouble making it work. I have the eval board hooked up to the boe with a 1K resistor from Vdd to the MOSI/MISO pin but all I get out is all ones or all zeros. The specs say to send $AA and 9 $FF to the device, toggle SS then read in 2 bytes of $FF, two bytes of data, two bytes of inverted data then four bytes of $FF. Are my shiftin and shiftout statements correct for this?

Thanks for the help.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Sign In or Register to comment.