Well I guess vn-300 is more accurate. This code, when paired with a suitable logging API, should configure Binary output 1 of a vectornav IMU to output UTC time and then repeatedly log it.
I do not know if any of this works. It compiles. I am particularly unsure if I need to disable the USART in order to register the callback. Also, the USART config may be totally wrong. This will be difficult to test for some time. We will basically need updated processor to do this properly. If we can get some raw test binaries from the IMU once we get it, we can just pass them over uart4 instead and simulate most functionality.
Well I guess vn-300 is more accurate. This code, when paired with a suitable logging API, should configure Binary output 1 of a vectornav IMU to output UTC time and then repeatedly log it.
I do not know if any of this works. It compiles. I am particularly unsure if I need to disable the USART in order to register the callback. Also, the USART config may be totally wrong. This will be difficult to test for some time. We will basically need updated processor to do this properly. If we can get some raw test binaries from the IMU once we get it, we can just pass them over uart4 instead and simulate most functionality.