AnsweredAssumed Answered

Interface LIN sensor with IMX6 processor

Question asked by Sanket Parekh on Feb 22, 2018
Latest reply on Feb 22, 2018 by Wigros Sun

Hi,

 

Greetings,

 

I have custom board with IMX6 processor. I have used kernel version Linux mainboard-abo 4.1.15-2.0.0-ga+yocto+g9acd8e8 #5 SMP PREEMPT Thu Feb 22 17:24:04 IST 2018 armv7l armv7l armv7l GNU/Linux.

 

I have faced issue like, Our custom board have one USB hub. Hub have one UP stream and four down stream ports.

On two down stream port USB to UART converter is connected. So on that UART interface our LIN chip is connected.

 

So when i connect a master board with slave device, then i got the data in kernel sllin driver at master board. But i didn't get data at application layer of LIN sensor. So i have used ioctl's like TIOGETD to read the data from kernel driver to user space application. But system shows error like "Inappropriate ioctl for device".

 

So please give me some suggestion related to ioctl's.

 

Thank you,

Sanket

Outcomes