Questions tagged [bus]

is a subsystem that transfers a plurality of digital bits grouped together to achieve or represent a common function or variable.

Filter by
Sorted by
Tagged with
6 votes
4 answers
9k views

PCB Signal Bus design

I have a pcb with a SPI bus with several sensors that have to be connected to this bus. Since 90 degree traces are not recommended in a proper PCB design I ask myself how to connect so many sensors ...
user avatar
  • 4,163
11 votes
4 answers
14k views

Best way to do I2C/TWI over long distance

I have a project that requires to do I²C/I2C/TWI over a long distance (30 to 40 meters). I've seen some people suggesting lowering the clock-rate to somewhere around 500 Hz, to mitigate the effects of ...
user avatar
  • 289
3 votes
2 answers
2k views

Confusion between register size, address size, data size

I started learning about pointers in C++ and I figured I should educate myself a bit on how memory works and is accessed. I read that when we say a processor is 64-bit, it has a 64-bit register and ...
user avatar
  • 305
2 votes
0 answers
910 views

Bus interface for short distances, many device data exchange - CAN, RS485? + characteristic impedance and media capacitance

I ran into some troubles trying to design a wired bus which will connect in about 64 testing devices. My first choice of mind was CAN bus, known of it's reliability and low EMC interference. However, ...
user avatar
0 votes
1 answer
81 views

How do modern CPUs treat memory operations? [closed]

How does a modern CPU treat memory reads and writes on the hardware level? With old 8-bit architectures all memory locations are read and written to one byte at a time, but how do modern CPUs that ...
user avatar
11 votes
1 answer
23k views

How to use Altium Buses?

I am new at Altium, I am trying to connect 8 wires but using a bus. I have read about this in Altium's web page but I doesn't explain too much about how to connect buses on the way I need. I want to ...
user avatar
  • 1,794
11 votes
4 answers
6k views

Altium says my labels are floating

Been using Altium and multi sheet projects for a while. My latest project involves a lot of signals so I'm trying to keep things tidy using lots of labels, ports, busses. So I have a bus for enable ...
user avatar
  • 121
5 votes
2 answers
5k views

Setup Time, Hold Time - What is the underlying principle for having them?

I'm learning about setup time and hold time of a FF connected to a bus. But the textbook fails to explain exactly why are those needed in an operation. Isn't a FF always powered on and attentive to ...
user avatar
  • 173
1 vote
4 answers
2k views

CAN Bus on PCB board

Will a CAN bus also work for on-board communication, without twisted pair cabling, between 2 or more microcontrollers on the same PCB board?
user avatar
1 vote
4 answers
11k views

How to connect Raspberry Pi to House Alarm Serial Bus (DSC Keybus)

I have a DSC 1864 House Alarm and I want to connect up my Raspberry Pi's GPIO to the Keybus (a serial data communication protocol used by the alarm). I would say my knowledge of electronics is novice ...
user avatar
  • 113
0 votes
1 answer
235 views

Bus mastering VS Bus arbitration [closed]

If there are multiple bus masters possible in a bus architecture then is it certain that 'Bus arbitration' will take place before a master gets hold of the bus control or is it possible that bus ...
user avatar
  • 1,381
11 votes
1 answer
2k views

SPI Bus Termination Issue

I've been working on a project where an OMAP Linux SPI master interacts with 6 SPI slaves peripherals (5x A/D converters and single magnetometer). I can set the SPI clock frequency and have ...
user avatar
  • 143
5 votes
2 answers
2k views

How do I program 2 CAN nodes to transmit continuously in succession?

Suppose I have three CAN nodes: A, B and C. We know that when two nodes transmit at the same time, the node that has the least SID will prevail over the bus and the other node will have to give the ...
user avatar
  • 321
3 votes
1 answer
660 views

Splitting a bidirectional bus into two unidirectional ones

I am trying to sniff on a custom SPI-like bus protocol, which uses a unified bidirectional data line instead of separate MISO/MOSI. To make sense of the communication, I need to split it up into ...
user avatar
3 votes
2 answers
7k views

How Does a Wired AND/OR Bus work

Studying for an exam Looking at Data buses using Wired AND and Wired OR configurations. Using tristate logic, a device is able to gain control of the bus and transmit anything down it. I don't ...
user avatar
1 vote
3 answers
3k views

Why can't masters talk to each other in a I2C bus?

I came across an I2C article which lead me to a question. Specifically this part is creating some confusion: "Also, unlike SPI, I2C can support a multi-master system, allowing more than one master to ...
user avatar
  • 133
1 vote
2 answers
1k views

Interface netduino with Iphone via audio jack

I am interested in making the netduino establish a BUS connection to the IPhone via the audio jack. Does anyone have any experience doing this? I have read a few things online...but I am somewhat lost....
user avatar
0 votes
1 answer
535 views

I2C bus arbitration - communication layer

I want to understand about the communication layer on which I2C Bus arbitration is done. My question is based on this question which was previously asked here. The accepted answer states that Bus ...
user avatar
  • 2,182
0 votes
2 answers
508 views

Can you use a CAN FD transceiver for low speed (fault tolerant) CAN?

Fault tolerant CAN (ISO11898-3) is terminated differently than high speed CAN (ISO11898-2). Therefore the signal levels for dominant and especially recessive bits differ. Newer CAN FD compatible ...
user avatar
  • 409
4 votes
2 answers
2k views

What is the simplest hot swappable bus protocol?

After I figured that I2C bus is hard to be hot swapped unless use other hardware solution such as PCA9511A(very expensive industrial solution), I am planning to use another bus to replace I2C. The ...
user avatar
  • 179
2 votes
1 answer
2k views

Creating a bus port in custom made part in LogicWorks

I'm creating some parts in LogicWorks and instead of having individual pins for input and output I want to use a bus pin. I can't seem to figure out how to make the bus pins appear in the part ...
user avatar
2 votes
1 answer
137 views

Using an array of resistors to give priority on a bus

I remember that the ZX Spectrum used an array of resistors to let the output from one chip override the output from another chip (on a bus) when both had the ¬oe pulled low. ...
user avatar
  • 964
1 vote
0 answers
74 views

Sawtooth oscillations in bidirectional bus splitter [duplicate]

I am trying to listen in on a SPI-like protocol which is transferred on one busline in both directions (no slave-select). To discriminate which data is sent by which side, I need a bus splitter that ...
user avatar
1 vote
3 answers
1k views

Parallel buses on a breadboard

I've built a circuit on a breadboard comprising a PIC18 reading from and writing to a HM6116 SRAM through a pair of 74HC595 SIPOs and a pair of 74HC165 PISOs. As you might expect, there are a bunch of ...
user avatar
1 vote
1 answer
326 views

DDR2 data rate and data bus confusion

I've been reading about DDR2 memory for the past few days and have got confused with some of the terms involved. I am mainly confused with discrete memory (single DDR2 memory IC) rather than DIMM ...
user avatar
0 votes
3 answers
76 views

How should I drive a chip where I need to pull pins low in order to enable

I am wanting to use a FSTD16211 in my circuit. It's datasheet says that pins OE1 and OE2 should be high to disconnect the 2 channels of the bus, and both should be low to connect the 2 channels of the ...
user avatar