I have /dev/ttyO1 working fine, with my own overlay.
I also wish to enable CTS and RTS so that the RF link I am talking to can
manage the amount of data I send it.
Once I enable the CTS and RTS pins the serial port stops working.
I have verified that the CTS line of /dev/ttyO1 (which is connected to the
RTS line of my rf link) is high (3.2V). ioctl TIOCMGET says that TIOCM_CTS
is set.
When I run cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pingroups I see
that my RTS and CTS pins appear in another pingroup:
group: pinmux_i2c2_pins
pin 94 (44e10978)
pin 95 (44e1097c)
But that doesn't mean that they are in use, does it?
cat /sys/devices/bone_capemgr.8/slots shows:
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-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
7: ff:P-O-L Override Board Name,00A0,Override Manuf,enable-ship
I'm running Angstrom on a BBB.
I welcome any ideas.
My dts file:
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone-black";
/* identification */
part-number = "ship";
version = "00A0";
exclusive-use =
"P9.24", /* - UART1_TXD */
"P9.26", /* - UART1_RXD */
/*"P9.19", /* - UART1_RTSN */
/*"P9.20", /* - UART1_CTSN */
"uart1";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
pinctrl_ship: pinctrl_ship_pins {
pinctrl-single,pins = <
0x184 0x20 /* P9.24 uart1_txd.uart1_txd MODE0
OUTPUT (TX) */
0x180 0x20 /* P9.26 uart1_rxd.uart1_rxd MODE0 INPUT
(RX) */
0x17C 0x20 /* P9.19 RTS */ <<----- if I comment out
this line and the next, everything works
0x178 0x20 /* P9.20 CTS */
>;
};
};
};
fragment@1{
target = <&uart2>; /* really uart1?!? */
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ship>;
};
};
};
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.