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

Thread: Teensy 3.2 Serial1 different baud rates for sending and receiving

  1. #1
    Junior Member
    Join Date
    May 2019
    Posts
    1

    Teensy 3.2 Serial1 different baud rates for sending and receiving

    Hello,
    Is it possible to use the send and receive pins of the Teensy 3.2 Serial1 at differnet baud rates? I would like to receive at 9600 and send at 115200 at the same time.

    I know the easiest solution would be to use two ports but due to other limitations Serial1 is all I have available.

    Thank you
    Sebastian

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,073
    Quote Originally Posted by SebastianG View Post
    Is it possible to use the send and receive pins of the Teensy 3.2 Serial1 at differnet baud rates?
    I'm not aware of any way to configure the hardware for different transmit & receive baud rates on the same port.

  3. #3
    Senior Member
    Join Date
    Dec 2016
    Location
    Montreal, Canada
    Posts
    3,017
    Use 2 serial ports, rx from one at 9600, tx from another using 115200
    you still have 2 wires, but different rates

    well it can be bitbangged using frank’s serial code somewhere on forum, serial1 for 9600 rx, bitbanged 115200 for sending

    if your pins are in use you could always map those ports to unused pins, to gain access..

  4. #4
    Senior Member
    Join Date
    Dec 2016
    Location
    Montreal, Canada
    Posts
    3,017

Posting Permissions

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