- Fri Apr 03, 2015 10:29 am
#180911
I am trying to use SparkFun SPI Shortcut 9235 to talk to an Optical Flow Sensor board, which could be found at
http://store.3drobotics.com/products/op ... low-sensor
I did connect all the pins, and changed the mode to 4 as needed in the document for the sensor, which could be found at
http://people.ece.cornell.edu/land/cour ... s_3080.pdf
However, I just do not know how to use this shortcut to talk to the sensor.
The Product_ID register address is 0x00, whose default value is 0x17; and I never got that value from the shortcut.
Here is the command string I tried:
CH CL RR 00 RR DY RR CH
CL 00 RR CL DY DY RR CH
CL 00 RR 00 RR DY DY 00 RR 00 DY CH
...
And whatever methods I tried, I can only receive 0x00 as results.
Could anyone tell me, how could I get the Product_ID default value 0x17 from the optical-flow-sensor?
Thank you!
http://store.3drobotics.com/products/op ... low-sensor
I did connect all the pins, and changed the mode to 4 as needed in the document for the sensor, which could be found at
http://people.ece.cornell.edu/land/cour ... s_3080.pdf
However, I just do not know how to use this shortcut to talk to the sensor.
The Product_ID register address is 0x00, whose default value is 0x17; and I never got that value from the shortcut.
Here is the command string I tried:
CH CL RR 00 RR DY RR CH
CL 00 RR CL DY DY RR CH
CL 00 RR 00 RR DY DY 00 RR 00 DY CH
...
And whatever methods I tried, I can only receive 0x00 as results.
Could anyone tell me, how could I get the Product_ID default value 0x17 from the optical-flow-sensor?
Thank you!