1021 views|7 replies

1

Posts

0

Resources
The OP
 

Both systems send data simultaneously [Copy link]

Scenario:

Systems A and B collect data separately and send them to a terminal, which makes consistency judgment at the receiving end. However, both systems need to send data at the same time. Without adding a timing chip, how can you solve this problem?

This post is from 51mcu

Latest reply

If you want to express how to distinguish whether the data on a link comes from A or B, you can add distinguishing information to the data, such as address information. Data lines such as I2C, SPI, and CAN can all add address information.   Details Published on 2023-3-24 22:17
 

2w

Posts

0

Resources
2
 

[Systems A and B each collect data and send it to one terminal]

I don't know what the two "systems" you are talking about are. My guess is that they are two data acquisition modules.

This post is from 51mcu
 
 
 

2w

Posts

0

Resources
3
 

[Systems A and B each collect data and send it to one terminal]

What communication method is used? Serial or parallel? This post was posted on the MCU forum, so it must be a MCU. No matter which communication method is used, the MCU cannot receive at the same time. Only one module can send first, and then the other module can send after the module has finished sending.

This post is from 51mcu
 
 
 

2w

Posts

0

Resources
4
 

[But the two systems need to send data at the same time. Without adding a timing chip, how do you solve this problem? ]

I guess you want to let the two data acquisition modules know when to send data to the upper computer. This can be done by the upper computer sending a signal to the data acquisition module (lower computer). When the upper computer is ready to receive, it sends a [Start] signal to a lower computer, and the lower computer sends the data. After the upper computer has received the data, it sends a [Start] signal to the other lower computer, and the other lower computer sends the data. After both sets of data are received, the upper computer performs comparison and verification.

This post is from 51mcu
 
 
 

1w

Posts

142

Resources
5
 

The problem description is not clear. If you want to get timely and effective help, first learn to describe the problem correctly and completely.

This post is from 51mcu
 
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 
 

6027

Posts

6

Resources
6
 

This cannot be fully achieved at the same time. There must be a collection cycle for the collection system, which can be allocated by the host. We can only try to reduce the interval between the two systems. For example, after the host notifies system 1 to report, it immediately notifies system 2 to report. Different types of data generally have different collection cycles.

This post is from 51mcu
 
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 

7422

Posts

2

Resources
7
 

One physical link cannot run two communications at the same time and can only be time-shared.

This post is from 51mcu
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

210

Posts

3

Resources
8
 

If you want to express how to distinguish whether the data on a link comes from A or B, you can add distinguishing information to the data, such as address information. Data lines such as I2C, SPI, and CAN can all add address information.

This post is from 51mcu
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
C51 programming of real-time clock chip DS1302

C51 programming of real-time clock chip DS1302 is divided into 8 parts

Studying Things to Gain Knowledge 05: Dimensions and Elementary Functions

What is dimension? It is usually taught in middle school physics courses and again in university physics courses. Howev ...

A set of common codes suitable for small projects

BabyOS Born for small projects, a weak operating system that needs to be fed collectively like a child. Why is it calle ...

Using Kangaroo Core as Remote Control Car Wireless Chip NRF24L01

During the summer vacation, I found that the city was holding a children's robot competition - waste material robots, ...

Isn't the LCD display an 8-segment code? Why is there a 2-segment code, a 3-segment code, a 4-segment code, but no 8-segment code in a manual?

Isn't the LCD display an 8-segment code? Why are there 2-segment, 3-segment, and 4-segment codes in a manual, but no 8-s ...

【BLE 5.3 wireless MCU CH582】5. Hardware I2C drive 0.96-inch OLED

Series of articles: 【BLE 5.3 wireless MCU CH582】1. Getting to know the CH582 development board (unboxing) 【BLE 5.3 wi ...

[GD32F310 Review] Communication USART Configuration and ECHO Routine

Recently, I am short of time, so I will finish the serial communication program first. In this serial communication prog ...

[HPM-DIY]littlevgl benchmark score? Xianji hpm6750 or STM32h747 winer?

This post was last edited by RCSN on 2022-8-6 15:55 There is no need for comparative data, but out of curiosity, I wil ...

[ST NUCLEO-U5A5ZJ-Q development board review] 4. ADC+DMA

STM32U5 series information: STM32U595/5A5: Related PDF documents DMA of STM32U5 series GPDMA can handle 16 independent ...

"2024 DigiKey Creative Competition" 4. Children's Interactive Mathematics Learning Design

This post was last edited by walker2048 on 2024-10-29 21:59 Preface Mathematical calculations in the transition stage f ...

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