hey,
i use OMAP L138 ( EVM) . As you know, OMAP L 138 has three uarts. It use the uart 2 to connect with console window. i have some questions related to other two uarts
1) could i enable either uart 0 or uart 1 to talk with my external device ?
2), i enabled uart 1 by open("/dev/ttyS1", O_RDWR | O_NONBLOCK | O_NOCTTY);
and i tried to send the data through the uart. //write(fd, &data, DATALEN);
but, i did not see any signal at tx port. it seems that uart 1 is not setup.
here is serial info.
serinfo:1.0 driver revision:
0: uart:16550A mmio:0x01C42000 irq:25 tx:0 rx:0 CTS
1: uart:16550A mmio:0x01D0C000 irq:53 tx:20 rx:0
2: uart:16550A mmio:0x01D0D000 irq:61 tx:2547 rx:194 RTS|DTR
One thing that I did was to enable to UART1 in the kernel by removing the lines shutting down UART1 (in board-da850-evm.c):
// __raw_writel(0, IO_ADDRESS(DA8XX_UART1_BASE) + 0x30);
__raw_writel(0xFFFF6FFF, IO_ADDRESS(DA8XX_UART1_BASE) + 0x30);
Any suggestions on the problems?
thanks!
Yolanda