Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Reading from Multiple UARTs

  1. #1
    Junior Member
    Join Date
    May 2015
    Posts
    2

    Reading from Multiple UARTs

    Hello everyone , I'm very new to working with Teensy boards and I have some a question that I need some clarifications for. Thank you all in advance.
    1) Is there a way to confirm that the UARTs are being read at a synchronized rate? (Serial1 and Serial2)
    2) If no, is there a way to sync the two UARTs?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,830
    I don't understand this question.

    UARTs are fundamentally asynchronous. That's what the letter "A" in UART means!

    Maybe if you explained a little more about what you're trying to accomplish, I and others might be able to offer better answers or advice.

  3. #3
    Junior Member
    Join Date
    May 2015
    Posts
    2
    I'm trying to get readings from 2 seperate sensors into 2 seperate UART, is it possible to get the 2 UARTs to be getting data in a synchronized manner?

  4. #4
    Senior Member
    Join Date
    Jan 2015
    Location
    frisia
    Posts
    285
    I am also missing the point. As I see it, the question is not for the Teensy. The question is can you synchronize the sensors to send their data at the same time? When the sensors send it at the same time, the teensy will read it.
    Or do you want to timestamp the data as it comes and and are you worried about the FIFO?

  5. #5
    Senior Member
    Join Date
    Oct 2014
    Posts
    167
    I have done this where I had 2 serial signals being sent, even tho they came from the same source and required an echo back. Speed was 9600 and all was fine..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •