BHI160 interpretation of error meta event

Hello,

I am trying to get the BHI160 to start. However, after uploading the RAM patch successfully the BHI160 generates an error meta event and stops working. More precisely, I can read the following sequence of bytes from the FIFO: "0xFD, 0x00, 0x00, 0xFC, 0x8F, 0x04, 0xFE, 0x04,
0x22, 0x15". According to the datasheet (Table 29), "0xFD, 0x00, 0x00" and "0xFC, 0x8F, 0x04" are timestamp events and "0xFE, 0x04,
0x22, 0x15" is a meta event signaling an error.

My question is, how to interpret the two payload bytes of this event? The datasheet states, that byte 1 contains the "Error Register" and byte 2 the "Debug State", but I cannot find any documentation on either of them.

Best regards,

Josua Janus

 

6 replies