Core UART serial ports on Z8350

A place to talk about all the Operating Systems, Software & Hardware
Forum rules

- Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.

- Members should post in a way which is consistent with "normal writing". That is users should not post excessive numbers of emoticons, large, small or coloured text, etc. Similarly users should not SHOUT or use excessive punctuation (e.g. ! and ?) in topic titles or posts.

- Members should use an appropriate, descriptive subject when posting a new topic. Examples of bad subjects include; "Help me!", "I'm stuck!", "I've got an error!", etc. Examples of good subjects include; "Getting an TABLE FULL error upon login", "Cannot restore a backup".

- Members are asked to post in English only so that posts can be well received and properly monitored.

- Spam is not tolerated here under any circumstance. This includes offering hosting services (charged and free), installation services, solicitation etc. Recruiting members for your own projects (moderators, designers, professional MOD work, etc.) is not permitted and is also considered spam. Users posting spam will be warned and their post removed.

- Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning. Vulgar language and inappropriate material is not allowed and will be removed. We try to maintain a family friendly atmosphere whenever it is possible within the main subject matter of this community. Please keep this in mind when participating.

- Each user is allowed to create one account. If you would like to change your username, please contact us and, most likely, we can do it for you while you can keep all of your profile data, posts, and other content.

- If a user violates our guidelines and shows a disregard for them, our staff and our community, they run the risk of losing their account. We reserve the right to deactivate any account and to edit or remove any content without warning. These guidelines are subject to change at any time without notice.

Thank you for visiting LattePanda.com!
User avatar
sportzcast
Posts: 2
Joined: Wed Feb 28, 2018 2:29 am

Wed Feb 28, 2018 2:38 am

Can you clarify the serial ports available on the Z8350? I need 2 serial ports for my application. I seem to have found Com 1 is hard connected to pins 5 and 7 of the U1 area ( USB22 connector). It is labeled UART0_RXD and UART0_TXD. What are on pins 6 & 8 on connector USB22? They are labeled UART_GNSS_TXD AND UART_GNSS_RXD. Is this a serial port as well? Can this serve as a second serial port?

If a second serial port is not directly available from the Z8350 then is there a way to map a pair of pins on the Andrino to a PC com port? If so can you point me to instructions?

Thanks to all Pandas everywhere!

User avatar
LattePanda
Site Admin
Posts: 2661
Joined: Wed Jan 20, 2016 9:09 am

Wed Feb 28, 2018 7:51 am

Hi, welcome to the forum.
The pins 6 & 8 on connector USB22 can only used for the GNSS device, you can check the link below to know how to use Visual Studio to control the arduino uart.
viewtopic.php?f=6&t=1534
Hope it is helpful, any question can let us know.
And may I ask why would you need the serial ports, what kinds of project are you working, more details will help us to know the needs of you and provide a good solution. :)
Enjoy Tinkering with LattePanda ! :lol:

User avatar
sportzcast
Posts: 2
Joined: Wed Feb 28, 2018 2:29 am

Wed Feb 28, 2018 1:53 pm

The confusion is your documentation states this connector is connected with the Z8350 core. So pins 6&8 are on the Adrino?

Mike

User avatar
Lutz
Posts: 214
Joined: Mon Apr 18, 2016 4:30 am
Location: Germany, NRW

Thu Mar 01, 2018 4:42 am

sportzcast wrote:
Wed Feb 28, 2018 1:53 pm
The confusion is your documentation states this connector is connected with the Z8350 core. So pins 6&8 are on the Adrino?

Mike
I don't think so... I believe that pins 6&8 are connected to Z8350 CPU... just because of the voltage of 1,8V.
Maybe "LattePanda" is mixing things.
I would bet, that we just need some window driver to public pin6&8 as a standard COMport in device manager.
I am using pin 5&7 as COM1 with level translator 1,8Vto5V and with a RS485-Transciever.
A second serial port would be helpful. WITHOUT any using of the Arduino.
Serial connections like RS232 or RS485 are still very important in the industrial and laboratory world.

User avatar
LattePanda
Site Admin
Posts: 2661
Joined: Wed Jan 20, 2016 9:09 am

Fri Mar 02, 2018 11:00 am

Hi. the 10pin is belongs to the CPU. Like the picture below.
The U1 is for the CPU part, and the U2 is for the Arduino part.
Hope it is helpful. :)
Attachments
Pinout-Development-Support.png
Pinout-Development-Support.png (142.66 KiB) Viewed 5925 times
Enjoy Tinkering with LattePanda ! :lol:

User avatar
o0rl
Posts: 1
Joined: Fri Jun 22, 2018 9:56 am

Fri Jun 22, 2018 3:09 pm

can you please specify that, UART_GNSS_TXD and UART_GNSS_RXD pins connectod to which pins of cpu (AC14 for example).
since i need to install linux and communicate via com port. can i use UART_GNSS_TXD and UART_GNSS_RXD pins as com1 port on linux

User avatar
Lutz
Posts: 214
Joined: Mon Apr 18, 2016 4:30 am
Location: Germany, NRW

Sat Jun 23, 2018 10:04 am

The above picture is a little bit outdated...
This is the actual one : http://docs.lattepanda.com/content/hard ... ndOutputs/

I knew nothing about Linux, but in Win10 the COM1 is at pins 5+7 (UART0) with a voltage logic level of 1,8V !

User avatar
doanldshimoda
Posts: 7
Joined: Sun Jul 22, 2018 8:47 pm

Fri Jul 27, 2018 11:29 am

LattePanda can please CONFIRM wich pins are UART in the intel connector and are free to use?

P.S. Im very dissapointed for the lack of support of latte panda manufacturers. See post like this waiting for years a resppnse. Im still waiting for my first Latte Panda board andi start to regret. Seems like a great board without the needed support and information available to the public. A shame.

User avatar
LattePanda
Site Admin
Posts: 2661
Joined: Wed Jan 20, 2016 9:09 am

Sun Jul 29, 2018 4:20 pm

doanldshimoda wrote:
Fri Jul 27, 2018 11:29 am
LattePanda can please CONFIRM wich pins are UART in the intel connector and are free to use?

P.S. Im very dissapointed for the lack of support of latte panda manufacturers. See post like this waiting for years a resppnse. Im still waiting for my first Latte Panda board andi start to regret. Seems like a great board without the needed support and information available to the public. A shame.
Please check the latest pin diagram from our docs, which is updated by product team for several version:
http://docs.lattepanda.com/content/hard ... ndOutputs/

As a operation team member, to be honest, activating CPU part feature and open more docs / resources on it are our pain. My shamed request your help to lead us and do the right thing to provide more info for our global users... Coz, we don't have a clear direction how to do that yet.

Would you mind to share how will you use these GPIO from CPU side with us? And lead us some direction about your requirement based on your usage of LattePanda?

Look forward to your suggestion!
Enjoy Tinkering with LattePanda ! :lol:

User avatar
Lutz
Posts: 214
Joined: Mon Apr 18, 2016 4:30 am
Location: Germany, NRW

Sun Jul 29, 2018 7:17 pm

LattePanda wrote:
Sun Jul 29, 2018 4:20 pm
(...)
As a operation team member, to be honest, activating CPU part feature and open more docs / resources on it are our pain.
(...)
Would you mind to share how will you use these GPIO from CPU side with us?
(...)
OK, let me make a few comments.

Negligent documentation :
http://docs.lattepanda.com/content/hard ... ndOutputs/
"Pinouts in area U1 are ..." & "Pinouts in area U2 are assigned ..."
But there are no more areas drawn in the current drawing :(



OK, here's what I know based on this part of your drawing:
areaU1.JPG
areaU1.JPG (26.58 KiB) Viewed 5085 times
I made a PCB
PCB_2.JPG
PCB_2.JPG (196.43 KiB) Viewed 5085 times
to using a UART for a RS485 interface with a level converter (1.8V - 5V) to communicate with a microcontroller which in turn controls further hardware.
Based on your first documents
areaU1_old.JPG
areaU1_old.JPG (42.26 KiB) Viewed 5085 times
I tried pin 6+8... and found out that Windows-COM1 is at pin 5+7 :roll:
At the moment I am using COM1 at pins 5+7 with 9600 Baud successfully to communicate
with my RS485 slave-PCBs.


And what I would like to have:

At your picture I can see pin 6+8 marked as "UART-GNSS-T/RxD"
This sounds like a serial port, only intended for a GNSS chip.
What I don't understand : Why should a normal Windows driver be so difficult for a normal COMx on these pins? There is already a driver for COM1.


The drawing shows two I2C interfaces. Recognizable by the names of the pins.
With an I2C, which can be addressed directly under a Windows driver, hardware could be controlled directly. For example, a PMIC.
Of course customers need a level shifter, but you know that as a hardware developer.

So, what I like to see :
2nd windows driver für COM2(?)
Windows driver for simple read/write to the I2Cs and a C# example how to use this driver.

Post Reply