This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
UART0 will transmit regardless of serial cable being connected or not. You should check the state of the UART0_RX signal when the cable is unplugged. If it's low this will cause a Break condition in UART0. Also check if you have the internal pullup resistor enabled in the UART0_RX pinmux.
See the image for the circuit on our UART0 side. Actually the board is the Beaglebone black board. We have a buffer on the UART0 and UART0 has a pull down resistor instead of a pull up. The 100k pull down is just to fix the serial port crashing issue.
The voltage on the UART0_RX is 0v. You said that it would cause a break condition in UART0. Can you explain it what kind of condition it is?
Check the internal pullup resister in the UART0_RX pinmux? Should I change it in the device tree or where can I change it?
>> The voltage on the UART0_RX is 0v. You said that it would cause a break condition in UART0.
>> Can you explain it what kind of condition it is?
http://en.wikipedia.org/wiki/Universal_asynchronous_receiver/transmitter#Break_condition
The default idle state should be High on both UART RX&TX lines. Why do you use the pull-down, and what is "serial port crashing"?
SHU LIU said:Check the internal pullup resister in the UART0_RX pinmux? Should I change it in the device tree or where can I change it?
Yes, it should be in the device tree if you are using SDK 7.0.
sviss said:The default idle state should be High on both UART RX&TX lines. Why do you use the pull-down, and what is "serial port crashing"?
I tried to remove the 100k pull-down, but the RX line was still 0v. How can I change the default state of it?
Why we had the pull-down was because that we want to prevent crosstalk when serial cable is not plugged in.
Biser Gatchev-XID said:Yes, it should be in the device tree if you are using SDK 7.0.
We do not have SDK 7.0. How can we change it? Thanks.
We use Arago project on our board. How can we enable the internal pull up of the UART0_RX pin. It is 0v by default.
The TI SDK is based on the Arago project. Are you not using the SDK package? Which kernel version are you using?
Best regards,
Miroslav
We do not have the TI SDK. We got a Arago root file system from internet. The kernel version is:
Linux am335x-evm 3.12.10-ti2013.12.01 #22 Thu May 8 14:33:47 IDT 2014 armv7l GNU/Linux
How can I pull the UART0_RX pin of the am335x high ?
Regards,
Shu