Sensors, Electronics and Prototyping

Understanding Binary Packets

Welcome to Redshift Labs Forums UM7 Product Support Understanding Binary Packets

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1133
    Rui Loureiro
    Guest

    I’m having a hard time decoding Binary Packets streams.

    For example, given the following line (hexadecimal values):

    0x736E70C858E8E0FC20C03000004506

    Since PT= C8, the data will have 2*4=8 bytes, meaning two registers. Since the address is 58, I know it will write to register 58 (DREG_GYRO_TIME) and register 59 (DREG_ACCEL_RAW_XY). Now I have a few doubts on how the data is written to each register. I know the total data is E8E0FC20C0300000, but what part gets written to register 58 and what part gets written to address 59? Does it write E8E0FC20 to register 58 and C0300000 to register 59?

    Also, where can I see the units written to each register?

    Any help will be greatly appreciated.

    #1134
    Rui Loureiro
    Guest

    Turns out the chip I have is an UM6, not UM7, sorry!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.