- Sun Sep 06, 2020 10:29 pm
#218667
I apologize for the numerous posts over the last couple of days. Implementing the OLA has had me thinking of ways I could put it to use in lots of applications.
Right now, though, I'm having a legitimate issue with the logger.
I'm using the OLA to log the raw low-level packets coming from an XSens IMU. The IMU uses RS232, so I've interposed a sparkfun max3232 between it and the OLA. Data is being transmitted from the IMU at 115.2kbaud.
The problem is this: My log files on the OLA are unreadable. They contain hex values, but the data packets from the IMU are nowhere to be found. It's almost like the logic levels are inverted (I have a block of 00 bytes that are instead being logged as FF), but inverting bits doesn't actually produce any readable packet structures either.
I removed the OLA and attached another microcontroller (Teensy 4.0) to the same RX,TX,GND contacts and echoed the binary data to a serial monitor. When I do that, the data frames appear as they should. This tells me that the max3232 is wired correctly and that it's not an issue of noise. So I've isolated the issue to the OLA itself.
What could be going on here? The IMU transmits 8N1 bytes. Does the OLA expect 8N2? Does it use a parity bit? I could really use some guidance here...
Right now, though, I'm having a legitimate issue with the logger.
I'm using the OLA to log the raw low-level packets coming from an XSens IMU. The IMU uses RS232, so I've interposed a sparkfun max3232 between it and the OLA. Data is being transmitted from the IMU at 115.2kbaud.
The problem is this: My log files on the OLA are unreadable. They contain hex values, but the data packets from the IMU are nowhere to be found. It's almost like the logic levels are inverted (I have a block of 00 bytes that are instead being logged as FF), but inverting bits doesn't actually produce any readable packet structures either.
I removed the OLA and attached another microcontroller (Teensy 4.0) to the same RX,TX,GND contacts and echoed the binary data to a serial monitor. When I do that, the data frames appear as they should. This tells me that the max3232 is wired correctly and that it's not an issue of noise. So I've isolated the issue to the OLA itself.
What could be going on here? The IMU transmits 8N1 bytes. Does the OLA expect 8N2? Does it use a parity bit? I could really use some guidance here...