Understanding Binary Packets

Home Forums UM7 Product Support Understanding Binary Packets

This topic contains 1 reply, has 1 voice, and was last updated by  Rui Loureiro 1 year, 7 months ago.

  • Author
    Posts
  • #1133

    Rui Loureiro

    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

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

You must be logged in to reply to this topic.