I’m trying to use the UART on the raspberry pi header.
UART1 is called UART0 on the pi header as I understand it and UART1_TX on the WP is UART0_RX_EXP (pin 10).
But I receive no data! Scoped pin 10 and it is pulled low. (Same as pin 12 on the IOT connector)
Tried setting !MAPUART: 17,1 but it’s still the same.
Can anyone help me please?
Maybe it has something to do with wifi using UART1? How do I disable wifi?
Trying to receive some ISM sensordata over UART but will test sending uart data later today.
Have a working app that reads data from ttyUSB0 but want to use UART on the raspberry header instead. Replaced ttyUSB0 with ttyHS0 but receive no data. Also tested with microcom -s 115200 /dev/ttyHS0
Connected our TX line to pin 10 on the raspberry header (+ 3.3V and GND) . While scoping the output of our TX line. Line is high with data sent but when connected to pin 10 the TX line goes permanently low.
Yeah it’s just a couple of cm so that’s not the problem. Have tried two different mangoh reds.
Flow control disabled and tried pulling UART1_RTS low but it’s already low.
nilsarve the attached project in the above message is set up to loopback on the /dev/ttyHS0 UART port. You will want to run the following before doing the test on the Linux side:
stty -F /dev/ttyHS0 raw 921600 crtscts ignbrk -echo
Hit the file open icon by the ‘Download Scatter File’ and select the flash_download.ini file in the
output folder for the project. This is located in:
MTPublic4.3.0/out/linkit7697_hdk/MT7697_WiFi_BT_fw
To test I just ran a simple echo cmd to the /dev/ttyHS0 port