Would do I do to turn on uart2?
I'm using picocom to read a device on uart2 that I know is working,
but I see no output I have reversed RX and TX a couple of times
I have RX, TX and GND connected
Thnaks
dk23
(09-12-2017, 01:45 AM)dk23 Wrote: [ -> ]Would do I do to turn on uart2?
I'm using picocom to read a device on uart2 that I know is working,
but I see no output I have reversed RX and TX a couple of times
I have RX, TX and GND connected
Thnaks
dk23
The default function of PIN32(UART2TX/PWM3) and PIN33(UART2RX/PWM2) is PWM function instead of UART function.
To used as UART function, you can try as follow:
1. Modify /boot/hw_intf.conf file
Code:
sudo vim /boot/hw_intf.conf
2. Comment out the pwm setting
Code:
#intf:pwm2=on
#intf:pwm3=on
3. reboot your board
Thanks for your help, now works as expected
picocom -b 9600 -r -l /dev/ttyS2