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

Thread: pl011 full uart ttyAMA0 vs mini uart ttyS0 and general serial reliabilty

  1. #1
    Junior Member
    Join Date
    Mar 2022
    Posts
    18

    pl011 full uart ttyAMA0 vs mini uart ttyS0 and general serial reliabilty

    Hi,

    Im working on a project which involves sending serial commands from a raspi 4 to a teensy 4.1 pins 0 and 1 (serial1 i think). Current using unshilded 3 core ribbon cable twisted and its about 25cm if that.

    One of our concerns is not dropping serial bytes.

    We are planning on running a test, but in general, how reliable are serial connections? Currently we are running 57600 baud and have not as yet detected drops.

    When we were first connecting the 2 systems, we managed to get ttyS0 connected (without really knowing much else about it) which it now turns out is described as low throughput for console use. So Im then thinking I should be using the PL011 on the raspi.

    Are the extra features likely to be worth the hassle? Looking at the teensys m7 datasheet it looks as thought the chip supports a proper 'full uart'.

    Do the normal teensy serial libraries support these extra features, like parity or longer serial frame lengths?

    I think that ultimately the mini Uart will probably go fast enough (the raspi manual suggests the max speed could be 250mhz/8=31.25 Mbit which is way beyond what we need, and doesnt really sound like low through put to me...1 Mbit or so would do the job nicely.


    Thanks

  2. #2
    Senior Member BriComp's Avatar
    Join Date
    Apr 2014
    Location
    Cheltenham, UK
    Posts
    949
    I think that if you read this it will help.

Posting Permissions

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