Hi, I am currently trying to use the CBB Serial cape (https://docs.google.com/document/d/1sgurQ-7gLyn7g-Kg983NRM0aDkYEqHqy9dmrieX_RUM/edit#) and can't get it to work.
Kernel release of my BBB : 3.8.13-bone80
I'm using a USB to RS232 adapter (well recognized on my host computer) with the UART2 RS232 (J1) connector.
Minicom connection (9600bps / 8bits / no parity / 1 stop bit on both ends) is not working
I also tried with the pyserial library, here is my source :
RS232_Receiver.py :
#!/usr/bin/env python
import serial, time
ser = serial.Serial(
port='/dev/ttyUSB0',
baudrate=115200,
)
while 1:
x = ser.readline(10)
print x
time.sleep(1)
ser.close()
RS232_Transmitter.py :
#!/usr/bin/env python
import time, serial
uart2_file = '/dev/ttyO2'
baud = 115200
ser = serial.Serial(uart2_file, baud, rtscts=True)
while True:
ser.write("Testing")
time.sleep(1)
Once again, to no avail.
The cape isn't automatically recognized by the beagle so I have to manually load the overlay (here is the one I use : https://github.com/lgxlogic/CBB-Serial/blob/master/overlay/cape-CBB-Serial-r01.dts, I also tried the one given in the manual)
Output of cat $SLOTS :
root@beaglebone:~# cat $SLOTS
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
7: ff:P-O-L Override Board Name,r01,Override Manuf,cape-CBB-Serial
8: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART2-RTSCTS
Pins are set according to the user guide (all jumpers on J5 and HDMI disabled for flowcontrol).
Any idea on what might cause the issue ?