AnsweredAssumed Answered

Read ADC values in imx6ul in Kernel space

Question asked by chandra sekhar on Jul 21, 2018
Latest reply on Aug 8, 2018 by chandra sekhar

Hi,

 

I have a printer attached to imx6ul using SPI. It is a thermal printer so on printing the printer gets heated up so I have change the printing time according to the Head temperature. Now the problem is If I read from the sysfs interface from Application space it is taking too much time for printing and my printer head is getting damaged.

Is there any way to do in the kernel space itself. I have to read the ADC for each dotted line printing and take decision for heating time or else I should terminate the printing. 

Thanks

CHandrasekhar

Outcomes