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

    UART communication

    Ask your questions right here!
    2
    2
    183
    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.
    • SHofmeesterS
      SHofmeester
      last edited by

      Hi,

      We want to connect an arduino to the J10 UART.
      When we try voxl-uart-loopback -d 7, it fails.
      When we use 'voxl-i2c scan 7 400000`, it recognizes the device (besides the UART TX and RX we connected the SDA and SCL as well)

      We also tried it with a GPS, so that we could be sure it wasn't the arduino code, but it had the same result: uart failed and i2c was recognized.

      / # serial-read-teensy -d 7
      INITIALIZING
      Sending 10 bytes:
      0123456789
      Transfer should take ~1736us, sleeping for 6736us (+5000us overhead)
      Reading back data...
      ERROR: voxl_uart_read 0 bytes, expected 10
      closing uart bus
      FAIL
      

      Can you help us with this?

      Thanks in advance!

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @SHofmeester
        last edited by

        @SHofmeester J10 on the VOXL2 is a SPI port. https://docs.modalai.com/voxl2-connectors/#j10---external-spi

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors