Kernel Module for ICP

For help with the bus itself (not a specific product).
rpu_bus
Posts: 188
Joined: Sun Sep 18, 2016 6:07 pm

Kernel Module for ICP

Postby rpu_bus » Thu Nov 30, 2017 3:16 pm

This is outside my wheelhouse, e.g. I am in no way an expert at this sort of thing. So I will differ:

https://blog.sourcerer.io/writing-a-simple-linux-kernel-module-d9dc3762c234

Why would someone want to make a kernel module? Well as it turns out I do have an example that I looked into. A turbine flow meter produces a pulse that can tell a lot about the flow. The pulse rate (or timing the pulse) tells about the flow rate, and counting tells about the flow volume. Calibration is done by timing the flow pulses against a displacers movement events, e.g. between the start and stop pulses (or flags). To accurately measure a pulse time event capture hardware can be used, pin interrupts are not really good at accurate time measurements. So if I want to use capture hardware with Linux I would need to do a kernel module for the capture hardware.

Return to “Installation, Troubleshooting, and Usage”

Who is online

Users browsing this forum: No registered users and 1 guest