UART 6 and 7 - no communication - SOLVED

Started by rfk, March 19, 2014, 05:52:21 PM

Previous topic - Next topic

rfk


stupid me - if one can read and does so ... USRT6 is ttyS1 ...




sorry for the noise!



I cant' communicate with either UART 6  nor 7 (ttyS6, ttyS7) :-[  ...
Using 2 different A20 (Rev E) boards, tested with Release 6 and 7 of the Olimex images.
Suspecting some problem with script.bin. However, I have to confess, I can't see any reason, feel confused
UEXT1 works - at least MOD-RTC is working
Tried to verify, that PI12 and PI13 are not defined or enabled elsewhere:
for PI12, 13:
- SPI0 is disabled
for PI20,21
- PS2 is disabled
- BT is disabled
- WIFI is enabled, but I disable in script.fex - no change




[uart_para6]
uart_used = 1
uart_port = 6
uart_type = 2
uart_tx = port:PI12<3><1><default><default>
uart_rx = port:PI13<3><1><default><default>


[uart_para7]
uart_used = 1
uart_port = 7
uart_type = 2
uart_tx = port:PI20<3><1><default><default>
uart_rx = port:PI21<3><1><default><default>





Any hints what is wrong / I did wrong?


Thanks!
-- rfk

oliver

Try luc verhagens 'serial noise' program which spams the serial ports with data. Then take an osciloscope to verify data is coming out.

I noticed that UART5 needs the pullup set on the LIM, but it cannot be set on the others for some reason.