Author |
Message |
Topic: ttyS(x) to UART(x) mapping |
telmocho
Replies: 4
Views: 21242
|
Forum: DNP/9200 Posted: 06.10.2010, 10:58 Subject: ttyS(x) to UART(x) mapping |
This is very difficult.
I can write but I do not get any response!
Something without right initialization. |
Topic: ttyS(x) to UART(x) mapping |
telmocho
Replies: 4
Views: 21242
|
Forum: DNP/9200 Posted: 04.10.2010, 12:08 Subject: ttyS(x) to UART(x) mapping |
Ok, I found the problem.
I have to initializate, in init:mem():
pUART3_BASE = (u32 *) pMapmemory (0xFFFCC000, 0x00004000);
and make a call to this function:
void init_port_uart ... |
Topic: ttyS(x) to UART(x) mapping |
telmocho
Replies: 4
Views: 21242
|
Forum: DNP/9200 Posted: 04.10.2010, 11:00 Subject: ttyS(x) to UART(x) mapping |
Hallo,
I've modified your ssvrs485.ko driver to work with usart3 and ttys2, but it fails.
Well, after read your post, I've doubts.
I've rx and tx pins in PB6 and PB7 of DNP9200.
Should I open &quo ... |
|