2109 views|16 replies

1038

Posts

0

Resources
The OP
 

The peripherals of ARM core plus FPGA SOC chip are not enough [Copy link]

 
As shown in the figure above, this chip has only two UART channels and two CAN channels. How can I expand it when I need 8 channels to support concurrent UART and CAN?
In addition, for circuit designers, which information should they refer to for this kind of chip? Currently, the CAN and SPI on the chip are considered to be peripheral functions like MCUs, but they do not have pins marked like MCUs. Are these peripherals programmed through FPGA to output channels, and do they not have fixed pins?
I hope enthusiastic netizens can answer this question, thank you.

This post is from Analog electronics

Latest reply

You can just use the PL terminal to simulate a few more ports, and hundreds of serial ports will be no problem.  Details Published on 2024-1-4 15:55

407

Posts

7

Resources
2
 
Is it feasible to get a few more microcontrollers and connect them to this chip via SPI?
This post is from Analog electronics

Comments

It is not very suitable. This chip and the microcontroller still need to communicate, unless the parallel port is used to transfer to the microcontroller, and the microcontroller then transfers to multiple serial ports.  Details Published on 2024-1-3 09:58
 
 

1038

Posts

0

Resources
3
 
lansebuluo posted on 2024-1-3 09:30 Is it feasible to get a few more microcontrollers and connect them to this chip via SPI?

It is not very suitable. This chip and the microcontroller still need to communicate, unless the parallel port is used to transfer to the microcontroller, and the microcontroller then transfers to multiple serial ports.

This post is from Analog electronics
 
 
 
 

202

Posts

0

Resources
4
 
This post was last edited by dukedz on 2024-1-3 10:52

They all have FPGAs, so the peripheral pins of the SoC can definitely be brought out through FPGAs, not to mention advanced products like Zynq.

If the uart and other peripherals that come with the soc are not enough for you, you can use fpga logic to generate more uart controllers

For UART controllers, you can look at this IP core from cdbus.org (next32 branch is recommended), which upgrades the traditional UART stream data to block data transmission, making it much easier to connect to the SoC. It also supports p2p bus (multi-master peer-to-peer) and supports very high rates. However, the basic packaging format is fixed, and it depends on whether the specific application can meet the requirements.

This post is from Analog electronics

Comments

I want to use the serial port to communicate with the CAN chip. The CAN speed is not high, at most 1Mbps, but I don’t know how to program, so it seems I still have to talk to an FPGA engineer.  Details Published on 2024-1-3 11:19
 
 
 
 

1038

Posts

0

Resources
5
 
dukedz posted on 2024-1-3 10:51 They all have FPGAs, so the peripheral pins of the soc can definitely be brought out through the FPGA, not to mention the advanced products like Zynq ...

I want to use the serial port to communicate with the CAN chip. The CAN speed is not high, at most 1Mbps, but I don’t know how to program, so it seems I still have to talk to an FPGA engineer.

This post is from Analog electronics
 
 
 
 

3

Posts

2

Resources
6
 
From the perspective of the main controller, this FPGA has only two UARTs and two CANs, which are sufficient. CAN is a bus that allows you to connect a long string of terminal devices. Terminal devices usually use cheap MCUs to process CAN messages. Two UARTs are usually sufficient. It depends on the product positioning and the purpose of the product.
This post is from Analog electronics

Comments

I'm new to this and I really don't have any ideas. As I asked in my first post, I need 8 "concurrent" UARTs (actually RS485) and 8 "concurrent" CANs. I don't really understand what "concurrent" actually means. I understand that each CAN or RS485 is independently controlled (such as  Details Published on 2024-1-3 14:36
 
 
 
 

3

Posts

2

Resources
7
 
There are no pins marked like a single-chip microcomputer, so at the beginning of the design, you need to create a file/table to allocate, define, and record the functions of the relevant pins. This is also the initial and basic work of by case, by design.
This post is from Analog electronics
 
 
 
 

2865

Posts

4

Resources
8
 

You can use USB to serial port, which should not be a problem as long as you can find the Linux driver. You can also use a serial port expansion chip, but Linux driver programming is difficult to handle.

This post is from Analog electronics

Comments

I used the TUSB2046B hub before, which can convert one USB to 4 USBs and then to RS232. When I plugged it into the computer, it didn't recognize it. My boss installed a driver for me and it worked. My friend means that if the Zynq-7000 can be installed with the Linux operating system, it can also be installed with the driver? And the driver is not written, but can be found and downloaded  Details Published on 2024-1-3 14:32
 
 
 
 

14

Posts

0

Resources
9
 

Write a UART control IP and connect it to AXI

This post is from Analog electronics

Comments

I will look up some information first to see how to communicate with FPGA engineers and express myself clearly.  Details Published on 2024-1-3 14:28
 
 
 
 

6063

Posts

4

Resources
10
 

The fpga should be able to control the serial port by itself.

This post is from Analog electronics

Comments

I don't know how to do this. I only use microcontrollers. This is my first time to come into contact with it. I have to look up information so that I can communicate with FPGA engineering.  Details Published on 2024-1-3 14:28
 
 
 
 

1038

Posts

0

Resources
11
 
damiaa posted on 2024-1-3 14:07 FPGA should be able to set up the serial port by itself.

I don't know how to do this. I only use microcontrollers. This is my first time to come into contact with it. I have to look up information so that I can communicate with FPGA engineering.

This post is from Analog electronics
 
 
 
 

1038

Posts

0

Resources
12
 
Martin_chen6 posted on 2024-1-3 14:01 Write a UART control IP and then connect it to AXI

I will look up some information first to see how to communicate with FPGA engineers and express myself clearly.

This post is from Analog electronics
 
 
 
 

1038

Posts

0

Resources
13
 
bigbat posted on 2024-1-3 13:11 You can use USB to serial port, as long as you can find the Linux driver, it should not be a problem. You can also use a serial port expansion chip, but the Linux driver programming...

I used the TUSB2046B hub before, which can convert one USB to 4 USBs and then to RS232. When I plugged it into the computer, it didn't recognize it. My boss installed a driver for me and it worked. My friend is saying that if the Zynq-7000 can be installed with the Linux operating system, it can also be installed with the driver? And the driver is not written, can it be found and downloaded?

This post is from Analog electronics

Comments

There is definitely no problem with x86. FTDI and CH340 both have Linux drivers. As for ARM architecture, I don't know. If the board has PCIe bus expansion, you can also try a PCIe expansion card.  Details Published on 2024-1-3 15:11
 
 
 
 

1038

Posts

0

Resources
14
 
kuang_gg posted on 2024-1-3 13:02 From the perspective of the main controller, this FPGA has only two UART channels and two CAN channels, which are enough. CAN is a bus that allows you to hang...

I'm new to this and I really don't have any ideas. As I asked in my first post, I need 8 "concurrent" UARTs (actually RS485) and 8 "concurrent" CANs. I don't really understand what "concurrent" actually means. I understand that each CAN or RS485 is independently controlled (such as DMA mode) and each in its own communication link.

This post is from Analog electronics
 
 
 
 

2865

Posts

4

Resources
15
 
Alas, published on 2024-1-3 14:32 I used the TUSB2046B hub before, which converts one USB to 4 USBs and then to RS232. It doesn't recognize the computer when plugged in. The boss installed some driver for me, and then...

There is definitely no problem with x86. FTDI and CH340 both have Linux drivers. As for ARM architecture, I don't know. If the board has PCIe bus expansion, you can also try a PCIe expansion card.

This post is from Analog electronics
 
 
 
 

1127

Posts

17

Resources
16
 
You can just use the PL terminal to simulate a few more ports, and hundreds of serial ports will be no problem.
This post is from Analog electronics

Comments

Yes, I talked to an embedded colleague about this, and he said he had seen FPGA programming virtual serial port, which was not difficult.  Details Published on 2024-1-4 16:21
 
 
 
 

1038

Posts

0

Resources
17
 
fxyc87 posted on 2024-1-4 15:55 You can just use the PL end to simulate a few more, hundreds of serial ports are no problem.

Yes, I talked to an embedded colleague about this, and he said he had seen FPGA programming virtual serial port, which was not difficult.

This post is from Analog electronics
 
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list