I have IMX6 chip and I am trying to use RS232 with baudrate 10000 (custom)
but I cannot implement it.
Can anyone please tell me how to achieve this goal?
I am using IMX6 with Android OS (C coding using NDK)
That is not a standard baud rate.
yeah, i am looking for Custom baud rate 10000Is it possible in IMX6 ?
Please try to add your custom baud rate into drivers/tty/serial/serial_core.c
and drivers/char/tty_ioctl.c source files prior to OS compilation.
Victor Linnik, I did not find drivers/char/tty_ioctl.c , I did find drivers/tty/tty_ioctl.c
but when I compile I get this error:
drivers/tty/tty_ioctl.c:213:36: error: 'B10000' undeclared here (not in a function)
make: *** [drivers/tty/tty_ioctl.o] Error 1
make: *** [drivers/tty] Error 2
make: *** [drivers] Error 2
How did you configure it? I wanna use a custom baudrate too but I dont know how to do it.
Please check the formular in 64.5 Binary Rate Multiplier (BRM) to set the baud rate.
Could you write it clearly? I am just a newbie.
i.MX 6Dual/6Quad Applications
Processor Reference Manual
64.5 Binary Rate Multiplier (BRM)
Retrieving data ...