bruno vicente
bruno vicente

Reputation: 49

How to Convert CSV Data from Teensy 4.1 CAN Bus to MDF4 Format via USB

I'm working on a project where a Teensy 4.1 microcontroller reads data from a car's CAN bus and saves it to a CSV file on an SD card. My goal is to connect the Teensy to a computer via USB and export the data from the SD card in MDF4 file format.

The microcontroller code is written in C, and I want to handle the conversion to MDF4, preferably in C on the computer. I've only found methods to do this in Python, but I'm unsure how to properly transfer the CSV data from the Teensy to the computer and convert it to MDF4.

Does anyone have a detailed approach or example code for implementing this process?

Upvotes: 1

Views: 59

Answers (0)

Related Questions