Does it work with I2C?
Are you using 4-wire SPI? Or 3-wire?
Are you using an Arduino expansion board or a mini breakout board? Another customer is also trying to use the mma7455 sensor. He has run tests in I2C and SPI. He has also tried several boards and environments. Keep an eye on Edison and mraa(node.js) can't communicate with MAA7455L correctly via SPI in case any progress is made on this thread.
What image and mraa versions are you using?
Yes it works with i2c. I am using 4 wire SPI
J17-11 - SCL
J17-12 - SDA
J18-11 - SDO
J18-10 - CS
opkg info libmraa0
The following code gives me 0L. The same thing when I was working with I2C.
You’ll receive a reply to your question here Edison and mraa(node.js) can't communicate with MAA7455L correctly via SPI . Please reply to that thread what is the specific model of the sensor you’re using.