SC20 ttyHSL0 issue

Hi guys!

Is my first message here so, welcome :slight_smile:

I have some issues with the ttyHSL0 uart on a SC20-E module.

From console using adb shell i use:

echo “Test” > /dev/ttyHSL0

Only the character T and \r is write phisically on the uart. If i write long strings like “TestTest” phisically on the uart i see only TT\r. I use a protocol analyzer on the uart pins on the SC20 to check it.

I removed from the board kernel cmdline the part for the uart and the earlyprintk
`BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 androidboot.memcg=false enforcing=0 androidboot.selinux=permissive

I need to config something else to get the uart working?

hi bro:
why not use ttyHSL1 to do a test?
ttyHSL0 is for debug. we don’t recommand you to disable debug uart.