Hi, I am using flexcan on a embedded linux and I would like to access the values of flexcan ESR registers (error and status registers) from a C program in user space here is the code https://github.com/torvalds/linux/blob/master/drivers/net/can/flexcan.c#L104 What is the best way to do it? should I use socketcan in or should I modify flexcan driver and compile it or there are other ways of doing it? Regards, Pehen