Sensor MMA8451 and Hardware Choice

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sensor MMA8451 and Hardware Choice

933 Views
luigi5hd
Contributor II

Goodmornig,

I have an hardware question.

I'm using the sensor mma8451 with a datarate of 800Hz and a Raspberry Pi 2B with a quad-core  CPU 900MHz and RAM 1GB. Could be enough right? So why I don't have 800 samples every second? (I have only 200 samples per second)

Is it a bus problem? Should I use the 2 bus in parallel on the same sensor?

Thank you in advance

Luigi

0 Kudos
Reply
1 Reply

891 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Luigi,

Could you please try to be more specific with your question and the relation with i.MX processors?

The MMA8451 is a NXP digital accelerometer that communicates with a host processor by I2C bus, so, you will need to ensure the I2C driver have enough bandwidth and/or speed transfer, and also, the I2C driver architecture (if using polling, checking the polling period, or if using interrupts, checking the interrupt priority/latency according with the Operating System running on the host processor).


Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

0 Kudos
Reply