Questions tagged [bus]

A Bus is a physical device used to connect different functional blocks of a computer or a different computers in order to communicate them together. Also Bus is a data type in MATLAB language used to bundle some data to virtual (just for useful rendering) or non-virtual (for contiguous memory allocation) structure.

The Bus advantages (as physical device) over wires are reducing the needed number of wires and catholicity. The main characteristics of Buses are width (amount of bits can be transmitted at once) and frequency (work speed).

The Bus as a structure of MATLAB language used to bundle different variables (or signals, for example in Simulink) in one structure. Can be used as virtual bus just for convenient accessing to variables and for reducing number of wires at Simulink diagram or as non-virtual - Nonvirtual buses use contiguous memory allocation for variables.

321 questions
1
vote
2 answers

Reverse-Engineering a single-wire bus protocol

We are currently reverse-engineering our HAC systems (Heating+Air-Conditioning but no Ventilations. Mitsubishi Heavy Industries FDTCA.) one-wire bus protocol since our HAC units do not heat correctly anymore. We assume faulty control-units and…
bam
  • 954
  • 8
  • 26
1
vote
2 answers

How could I have known ETH won't work with AXI SRAM? Is it the same for SDMMC2? STM32H745

A while ago I wrote my own ethernet driver for fun, and most of the time was spent banging my head on the keyboard because it wasn't working - as is tradition. Problem ended up being that ethernet simply couldn't read from or write to AXI SRAM. I…
TrisT
  • 639
  • 6
  • 19
1
vote
0 answers

How Can I activate badges on un icon

I have un Qt application who receives information from a BUS permanently. I'm now asked when I minimize the application, to add information account on the icon of minimized application. How can I do this with Qt ? Kind regards, Reza
R. Alaie
  • 31
  • 3
1
vote
0 answers

How to show a device in bus and class?

How show the same struct device in bus and class in sysfs structure? I'm getting an error when doing this. Currently I'm assigning bus and class attributes of struct device before calling device_register. The error message says that a device in…
Alpha0
  • 35
  • 5
1
vote
2 answers

Is CRC already calculated by CAN protocol?

I am in a project and I have to comply with ISO26262 so I need to verify my CAN frame. I am going to check my frame using the CRC calculation. My question is: Should I do this calculation in my program or does the CAN protocol already do it…
1
vote
0 answers

Gstreamer Python print any message from buffer

Consider the following bus_call function for Gstreamer pipelines: import sys from gi.repository import Gst def bus_call(bus, message: Gst.Message, loop): t = message.type if t == Gst.MessageType.EOS: print("Bus call:…
user1315621
  • 3,044
  • 9
  • 42
  • 86
1
vote
1 answer

Allow buses to stop on stops the second lap when using rerouting in SUMO

I have established a looped road with stops for buses to stop. Sadly, the buses only stop in the first lap and ignore the stops later on. Here are the code relevant parts: Route xml file:
1
vote
1 answer

How to get Gstreamer specific error type in Python

I'd like to know the specific error type of a gstreamer error. I found this sample code: import gi import sys gi.require_version('Gst', '1.0') from gi.repository import GObject, Gst def bus_call(bus, message, loop): t = message.type if t ==…
user1315621
  • 3,044
  • 9
  • 42
  • 86
1
vote
1 answer

Odoo Bus.bus unavailable

I get regularly following error message while running odoo v14 locally in docker: odoo-14.0-stage | 2021-04-26 10:51:00,476 10 ERROR update odoo.http: Exception during JSON request handling. odoo-14.0-stage | Traceback (most recent call…
1
vote
1 answer

Polling vs handshaking in hardware

Brookshear & Brylow's Computer Science: An Overview (12th ed.) states the following: a process such as printing a document involves a constant two-way dialogue, known as handshaking, in which the computer and the peripheral device exchange…
Docom
  • 11
  • 1
1
vote
3 answers

Usefulness of COM port latency

As you can see in this tutorial, the default latency timer for the COM port is 16ms. COM Port Latency But in most cases we want the minimum latency. On the internet we see a lot of explanation on why this value should be as small as possible, but…
1
vote
0 answers

Tool for monitoring I2C bus in Windows system

Are there any software applications that operate similar to USBLyzer or WireShark for monitoring I2C (HID) transactions on the system's I2C bus? If not, are there any known APIs for accessing this low-level traffic if I wanted to roll my own…
automagically
  • 65
  • 1
  • 8
1
vote
2 answers

Querying via Service Bus

Is it recommended to also do querying via a Service Bus? As I see it, you should only send fire and forget commands/events. What is your opinion and/or experience?
Stig
  • 1,974
  • 2
  • 23
  • 50
1
vote
3 answers

ARM ITCM interface and FLash access

If the access to the Flash memory is done starting from the address 0x0200 0000, it is performed automatically via the ITCM bus. The ART accelerator™ should be enabled to get the equivalent of 0-wait state access to the Flash memory via the ITCM…
1
vote
1 answer

See if a signal originates from a bus in Simulink

We have an S-Function that does not support bus signals in Simulink, so programmatically I am trying to find a way to determine if the signal type of an inport/outport originates from/is going to a bus so I can demux and mux the signal automatically…
codewario
  • 19,553
  • 20
  • 90
  • 159