This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is CTS pull up configuration supported in UART driver ?

Is CTS pull-up configuration supported by UART driver of Zephyr for nRF5340 ??

I got the following error if I include cts-pull-up 

rts-pin = <9>;
cts-pin = <11>;
cts-pull-up;          <---------------   causing the devicetree problem.

devicetree error: 'cts-pull-up' appears in /soc/peripheral@50000000/uart@9000 in nrf5340dk_nrf5340_cpuapp.dts.pre.tmp, but is not declared in 'properties:' in /opt/nordic/ncs/v1.7.0/zephyr/dts/bindings/serial/nordic,nrf-uarte.yaml

I look into the

/opt/nordic/ncs/v1.7.0/zephyr/dts/bindings/serial/nordic,nrf-uarte.yaml

and I can't find cts-pull-up

How can I fix it ??

--------------------------------------------------------

include: uart-controller.yaml

properties:

    reg:

      required: true

    interrupts:

      required: true

    tx-pin:

      type: int

      required: true

      description: |

        The TX pin to use.

        For pins P0.0 through P0.31, use the pin number. For example,

        to use P0.16 for TX, set:

            tx-pin = <16>;

        For pins P1.0 through P1.31, add 32 to the pin number. For

        example, to use P1.2 for TX, set:

            tx-pin = <34>;  /* 32 + 2 */

    rx-pin:

      type: int

      required: false

      description: |

        The RX pin to use. The pin numbering scheme is the same as the

        tx-pin property's.

    rts-pin:

      type: int

      required: false

      description: |

        The RTS pin to use. The pin numbering scheme is the same as the

        tx-pin property's.

    cts-pin:

      type: int

      required: false

      description: |

        The CTS pin to use. The pin numbering scheme is the same as the

        tx-pin property's.

    current-speed:

      description: |

        Initial baud rate setting for UART. Only a fixed set of baud

        rates are selectable on these devices.

      enum:

        - 1200

        - 2400

        - 4800

        - 9600

        - 14400

        - 19200

        - 28800

        - 31250

        - 38400

        - 56000

        - 57600

        - 76800

        - 115200

        - 230400

        - 250000

        - 460800

        - 921600

        - 1000000

~                                                                               

~                              

Related