Sensor MMA8451 and Hardware Choice

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Sensor MMA8451 and Hardware Choice

927件の閲覧回数
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 件の賞賛
返信
1 返信

885件の閲覧回数
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 件の賞賛
返信