Core UART serial ports on Z8350

userHead sportzcast 2018-02-28 10:38:50 16639 Views21 Replies
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!
2022-08-30 07:09:10

*Bump* 

4 years later we have the Gen 3 Delta board I am about to purchase.  I am controlling a UGV which has a CANBUS interface.  To do this, I am using custom built firmware on a PIC18F26K83 microcontroller with a MCP2551 CANBUS transceiver.  I have UART, I2C and SPI interface options on the PIC.

 

On the original PANDA I have successfully interfaced the COM1 port (0 - 1.8V) to the PIC (+5V VCC) using open drain TX output from the PIC and pullup resistor to 1.8V, and the comparator peripheral on the PIC to receive the 0 - 1.8V from the PANDA.  I have then used the standard serial port driver and LabView to write the interface code.

 

The Delta 3 appears to have an 'old school' RS232 port (+/-12V signalling) which means I will need a MAX232 chip to interface.  

 

My preference would be to use the I2C or SPI interface for higher data rates and better error handling. The Delta 3 docs show an I2C interface block, at 1.8V; and also a MOSI and MISO pin suggesting an SPI interface is available, however documentation and driver information for these two interfaces is sadly lacking.

 

Given this detailed information on how I wish to use these ports on the Delta 3, I would appreciate if you could provide as much information as possible.

 

The promotional material boasts up to 42 interfaces on the Delta 3, but that's not very useful if there is no interface description beyond the pinouts!

 

userHeadPic dangar
2021-07-15 18:37:38
LattePanda wrote: ↑Wed Aug 01, 2018 6:36 amAbout the I2C sample support, what kind of common accessories will you interest in connecting with LattePanda via these pins!?
Hi @Lattepanda

I realise I am possibly 2-3 years late to this party

I see you've released RS232 and RS485 module boards that make use of this connector but I would love to see a CAN bus module board too

It would make integration into car / automotive projects a LOT simpler!
userHeadPic jasongaunt
2021-07-01 07:55:41 "Anyway, you're definitely right on our market situation now. And we really appreciate your suggestions about the documentation and content! I've forwarded your suggestions to our product team. "

Any news on supporting Original Equipment Manufacturers (OEM) by means of better more open documentation?
userHeadPic FlinkDink
2020-03-16 18:56:28 @LattePanda Is there already any information about this?

I would like to communicate with the cpu and arduino over I2C as the serial connection can bottleneck my data speedrate....
The arduino uses a SPI to CAN converter, with serial limiting my baud-rate to 100kb/s.
userHeadPic Ewutru
2018-08-11 15:28:37
Lutz wrote: ↑Sat Aug 04, 2018 9:07 am I think the first problem is the different markets for which LP is now active.

Back to your actual documentation :
The publication of the complete circuit diagram is not necessary in my opinion. But a few more details about the pins of the visible connectors.
( By "visible" I mean ALL connectors that can be seen on the board, not only those in the drawing! )
We started from supporting developers and makers to inspire creativity with cool, powerful development tools. And we see clear and strong market requirement from commercial and industry market. We've worked with several commercial partners to design deeply optimized industrial products for them. So you can see when developing LattePanda Alpha and Delta. We're trying to balance the need between desktop scenarios and commercial needs, which make it possible for small business partners to use our standard products for their innovation in their industry. However we still open the customization service for partners, who have big batch order capabilities.

Anyway, you're definitely right on our market situation now. And we really appreciate your suggestions about the documentation and content! I've forwarded your suggestions to our product team.

They will optimize the content based on your suggestions.
userHeadPic LattePanda
2018-08-11 15:06:05
doanldshimoda wrote: ↑Fri Aug 03, 2018 4:31 pm
Is very easy. If you dont have time (?) to dcument correctly the connections on late panda just do as any other IOT company : Share your schematics. If your concern is somebody can clone the board or some like that let me say thats silly. Nobody will compite with you because the price is very low vs specifications.
You've seen our problem. But we should change, learn, grow and face the problem. That's the culture of our team and that's my understanding of maker spirit.

Let me organize our engineering team to see if we can open our schematics for 1st gen products and further version products via our docs!
I think the key obstacle is that a part of design is Intel confidential content...

We will update the process here.
userHeadPic LattePanda
2018-08-07 15:21:29
Lutz wrote: ↑Sat Aug 04, 2018 9:07 am (...)
In addition, an overview of how the Arduino and the PC part are connected could help to clarify some questions among the "non-technicians" among the customers.
(...)
and here is the next customer with a question on this topic:
https://www.lattepanda.com/topic-f5t16102.html
userHeadPic Lutz
2018-08-04 17:07:56 I think the first problem is the different markets for which LP is now active.
On the one hand the market for hobbyists and on the other hand the market for professionals. Both expect different functions and therefore different documentation and different communication.

In addition, the technology of a PC is very complex. This starts with the hardware and goes through BIOS functions up to the operating system.
I don't know for whom the LP was intended at first, but at the beginning it was advertised more for hobbyists as a "ready-to-use-WINDOWS10-PC".
That a lot of other people (professional equipment manufacturers like me, for example) discovered the LP was probably not expected.

The next problem might be the way engineers think.
Never let an engineer write an instruction manual...
But also a pure marketing person must never be the only contact to customers for a highly technical product! (and different types of customers)

Back to your actual documentation :
The publication of the complete circuit diagram is not necessary in my opinion. But a few more details about the pins of the visible connectors.
( By "visible" I mean ALL connectors that can be seen on the board, not only those in the drawing! )

Current drawing in http://docs.lattepanda.com/content/hard ... ndOutputs/ :
- Draws the rectangles for "U1" and "U2" again.
- Names the pins 5+7 in the drawing only with UART0TX+RX
- Names pins 6+8 in the drawing only with UART2TX+RX
In the text under "Pinouts in area U1 are ..."
- Text that names UART0 as COM1 and UART2 as COM2 (as soon as the driver for COM2 works).
(Publish COM1 because this seems to be the standard function on delivery)
- A table with the assignments of the connector pins to the CPU pins.
Or
The note that the table with the used CPU pins is only available on request. Because this information is only useful for very experienced users who want to change the BIOS.

In addition, an overview of how the Arduino and the PC part are connected could help to clarify some questions among the "non-technicians" among the customers.

To the I2C example :
For me, a standard PIO (PCA9555A, also runs at 1.8V) would suffice as a "blink" example.
The PCF8574 is better known, but needs at least 2.5 V as power supply.
For example programming of a repeat-Read or -Write maybe an EEPROM like AT24C256B (also runs with 1,8V)

(German-English translation by deepL)
userHeadPic Lutz
2018-08-04 00:31:21
LattePanda wrote: ↑Sun Jul 29, 2018 4:20 pm
Look forward to your suggestion!
Is very easy. If you dont have time (?) to dcument correctly the connections on late panda just do as any other IOT company : Share your schematics. If your concern is somebody can clone the board or some like that let me say thats silly. Nobody will compite with you because the price is very low vs specifications.

Is impossible we must ask in forums to get the information. That is expected only on extrange procedures, never in fnd a serial port pinoput, or trying to install a OS on latte panda...

I suspect your problem is your engineers are chinese and dont speek english, that happen to me many times with another companies. Well , sorry my friend but if you dont improve your support and coumentations your market will be lower and lower, dont care how much good is your hardware.

I hope you take well my sugestions.

Best regards.

P.S. yes... and you don just a few minutes after my post. Great news. I hope your engineers be more open mind and let grow late panda.
userHeadPic doanldshimoda
2018-08-01 14:36:01 Thanks for all your explanation! I've got some screenshots of the schematics. Let me attach the related info you requested. 10 CPU pins from interface.png 10 CPU pins from interface.png (93.97 KiB) Viewed 6304 times SOC pinout.png SOC pinout.png (416.96 KiB) Viewed 6304 times SOC pinout 2.png SOC pinout 2.png (403.52 KiB) Viewed 6304 times From these picture, my understanding is:
1. PIN 5 and 7 are multi function interface, including DDI2_DDC_IIC, UART0 and INTD_DSI feature (SOC pinout 2), which may explain why @Lutz can make serial works. Could you please recommend a better and clear way to show these info via our pinout diagram? I can organize our content development team to change following your professional suggestions!
2. PIN 6 and 8 comes from HSUART (SOC pinout) UART2 TXD/RXD, which still lakes of the driver support like COM1. - I will need to talk with our RD team!
3. Lake of sample for driving I2C_0 and I2C_2 interface. - I will check with RD team also with this point!

About the I2C sample support, what kind of common accessories will you interest in connecting with LattePanda via these pins!?

Look forward to your suggestion. And let's make some changes together! Thanks indeed for your kindness!

attachments:

10 CPU pins from interface.png

attachments:

SOC pinout.png

attachments:

SOC pinout 2.png

userHeadPic LattePanda
2018-07-30 14:22:42 Hi hvguy,

oh, yes, the BIOS, I forgot.
I am an experienced developer of microcontroller circuits, but I know little about the inner structure of a PC.
Maybe that's why I don't understand why drivers for the second serial and the two I2C are such a problem.
But in the meantime I fear that we will have the same problems with the Alpha and Delta...

(Translation German-English by deepL)
userHeadPic Lutz
2018-07-30 03:58:22 Hi Lutz,

I would like to see that as well! I am getting the impression that LattePanda admin does not know how to do this. That wouldn't be to bad if they could provide us with other references with which to figure it out.

My concern is that these features may not be supported in the BIOS and therefore difficult to use in windows. However, since we have no information, everything is a guess.

LattePanda can you please tell us:

-Has anyone at LattePanda ever used these pins?
-The physical pins on the CPU which GNSS and I2C connect to
-If the BIOS is even capable of accessing their registers
-If any software exists that uses these features (like GPS or something)
userHeadPic hvguy
2018-07-30 03:17:06
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 8286 times I made a PCB PCB_2.JPG PCB_2.JPG (196.43 KiB) Viewed 8286 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 8286 times I tried pin 6+8... and found out that Windows-COM1 is at pin 5+7
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.

attachments:

areaU1.JPG

attachments:

PCB_2.JPG

attachments:

areaU1_old.JPG

userHeadPic Lutz
2018-07-30 00:20:50
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!
userHeadPic LattePanda
2018-07-27 19:29:30 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.
userHeadPic doanldshimoda
2018-06-23 18:04:17 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 !
userHeadPic Lutz
2018-06-22 23:09:09 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
userHeadPic o0rl
2018-03-02 19:00:53 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 9126 times

attachments:

Pinout-Development-Support.png

userHeadPic LattePanda
2018-03-01 12:42:52
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.
userHeadPic Lutz
2018-02-28 21:53:16 The confusion is your documentation states this connector is connected with the Z8350 core. So pins 6&8 are on the Adrino?

Mike
userHeadPic sportzcast