• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    USB to TTL cable connection

    VOXL 2
    3
    4
    170
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      michaelherrera
      last edited by 8 Dec 2022, 22:38

      I'm trying to connect the VOXL2 to a USB using a TTL to USB serial converter like this:
      https://ftdichip.com/products/ttl-232rg-vreg1v8-we/
      I was planning on using J3 pins 27 & 29 as RX & TX. Do you know what pins would work for the "Clear to send control input/ handshake signal" and the "Request to send control output/ handshake signal"? Would any GPIO pin be acceptable?

      1 Reply Last reply Reply Quote 0
      • M
        modaltb ModalAI Team
        last edited by modaltb 8 Dec 2022, 23:34 8 Dec 2022, 22:50

        Hi @michaelherrera ,

        You don't need to use the RTS/CTS pins (we never do) so you can leave those unplugged.

        But, that UART on pins 27/29 is only enabled in the debug kernel build (which takes about 2 minutes to bootup and offers a login prompt, but needs to be generated by yourself using the build guide )

        Another option:

        From https://docs.modalai.com/voxl2-connectors/#j3-pin-out:

        Pin
        3 GPIO_23_UART7_RXD, /dev/ttyHS1
        5 GPIO_23_UART7_TXD, /dev/ttyHS1 (edited since first post... thanks Vinny!)

        Those pins get to an UART that you can access from linux (/dev/ttyHS1) in the standard build.

        So depending on what you need, the 1.8V TTL is correct for these UARTs, and you can omit RTS/CTS for flow control.

        V 1 Reply Last reply 8 Dec 2022, 23:24 Reply Quote 0
        • V
          Vinny ModalAI Team @modaltb
          last edited by Vinny 8 Dec 2022, 23:25 8 Dec 2022, 23:24

          @modaltb said in USB to TTL cable connection:

          Pin
          3 GPIO_23_UART7_RXD, /dev/ttyHS1
          5 GPIO_23_UART7_RXD, /dev/ttyHS1

          Pin 5 is TXD (Output).

          Also note, each of the signals from the J3 connector is 1.8V CMOS levels.
          If you are using an FTDI device, you can provide it with the 1.8V reference voltage from pin 47, and any one of the GND pins noted in the connector spec page.

          1 Reply Last reply Reply Quote 0
          • M
            michaelherrera
            last edited by 9 Dec 2022, 00:07

            This was very helpful, thank you!

            1 Reply Last reply Reply Quote 0
            1 out of 4
            • First post
              1/4
              Last post
            Powered by NodeBB | Contributors