CR-Formula / Telem

Cyclone Racing's Real Time Telemetry System
GNU General Public License v3.0
1 stars 0 forks source link

LIN Driver #14

Open APBashara opened 5 months ago

APBashara commented 5 months ago

Create a simple LIN driver that interfaces with sensors Will need test hardware

APBashara commented 1 month ago

Given that LIN runs at a data rate of 19.2kb/s and we have 18 bytes of data that we want to transfer at 100Hz, that puts us at about 75% bus load without including the header/package overhead. This should be sufficient for the IMU but only the IMU and nothing else. If we wanted to add more LIN devices we would need a second bus and at that point I would say that we should switch the IMU to CAN and add other sensors and controls to LIN

APBashara commented 1 month ago

Might just put the IMU board on CAN to start and develop LIN in the background as a additional interface for basic controls. Moving to blocked until final design decision is made

APBashara commented 1 month ago

We still want a LIN driver but this is getting pushed out as the plan is to put the IMU on the CAN bus. This will allow for quicker system integration. LIN is still valuable as we can implement some other controls with it, and it is relatively low cost.