FIFO_R_W
Beldian opened this issue · 4 comments
Beldian commented
Hey!
When you read from the FIFO_R_W register 12 bites, you actually read EXT_SENS registers? If I understand correcty, there is a connection between them.
kriswiner commented
On Mon, Mar 22, 2021 at 4:26 PM Beldian ***@***.***> wrote:
Hey!
When you read from the FIFO_R_W register 12 bites, you actually read
EXT_SENS registers? If I understand correcty, there is a connection between
them.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#457>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTDLKXRXHHQZBB6N72OUCDTE7G4DANCNFSM4ZUCC62A>
.
not sure what you are asking here?
Beldian commented
So in MPU9250.h headerfile at line 498 there is this:
"readBytes(MPU9250_ADDRESS, FIFO_R_W, 12, &data[0]);"
What is this? It says you read 12 bites from FIFO_R_W register. I would like to ask, what that makes sense.
I know that, for example when you read 6 bites from ACCEL_XOUT_H, this is auto increment and you'll get all the ACCEL data.
But FIFO_R_W is not auto increment. So I am in doubt, why did you do that. Could you answer?
kriswiner commented
The FIFO_R_W is the register from which FIFO values are read per the data
sheet/register map.
In a sense, this is auto-incrementing, but better to think of FIFO_R_W as
an array 512 bytes deep that can be filled with data bytes and read
back like an array.
Again, read the data sheet and register map.
What is it that you don't understand?
…On Tue, Mar 23, 2021 at 1:14 PM Beldian ***@***.***> wrote:
So in MPU9250.h headerfile at line 498 there is this:
"readBytes(MPU9250_ADDRESS, FIFO_R_W, 12, &data[0]);"
What is this? It says you read 12 bites from FIFO_R_W register. I would
like to ask, what that makes sense.
I know that, for example when you read 6 bites from ACCEL_XOUT_H, this is
auto increment and you'll get all the ACCEL data.
But FIFO_R_W is not auto increment. So I am in doubt, why did you do that.
Could you answer?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#457 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTDLKSZ7BZSYFZQDKEFV4DTFDZBLANCNFSM4ZUCC62A>
.
Beldian commented
I think I understood that. Thank you so much!