Raspberry PI UART

For general Flowcode discussion that does not belong in the other sections.
Post Reply
PAAbbott
Posts: 18
http://meble-kuchenne.info.pl
Joined: Mon Dec 28, 2020 7:24 am
Location: South Africa
Has thanked: 17 times
Been thanked: 4 times

Raspberry PI UART

Post by PAAbbott »

I have a raspberry pi and I have setup the UART component
during simulation it works
but when it run on the 2b pi no data comes out of the uart
any thing i may be missing

I do have the initialization macro in place
and have a blink blink to tel if it is running or not
i am using hard were uart channel on the pi
am monitoring for out put with scope and terminal on the pc for out put

any assistance will be appreciated

kind regards
Andre

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 73 times
Been thanked: 218 times

Re: Raspberry PI UART

Post by LeighM »

Hi,
I think you might need to disable the TTY console.
This is done via a config text file in the boot sector.
I'm not in a position to check or give further details just at the moment.

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 73 times
Been thanked: 218 times

Re: Raspberry PI UART

Post by LeighM »

Yes, just to confirm, you need to
Disable the (serial) Console
Enable the Serial Port
This can be done from the "Raspberry Pi Configuration" app

PAAbbott
Posts: 18
Joined: Mon Dec 28, 2020 7:24 am
Location: South Africa
Has thanked: 17 times
Been thanked: 4 times

Re: Raspberry PI UART

Post by PAAbbott »

Good day LeighM

Thank you very much its working now

Summery for some one that mite be reading this in the future

Step 1 make sure you have the latest operating system on the pi this makes the rest much easier
step 2 enter the GUI and disable the serial console or config file
step 3 enable the serial port
step 4 save and reboot

In my case i still had an old operating system running on it and on the old systems it require dive in to the text files and still had issues until
I loaded the latest operating system

Post Reply