Questions tagged [protocol]
A protocol is a ruleset for formatting and exchanging messages.
292
questions
3
votes
6
answers
609
views
Synchronization of handshake channel with different clock domains
My course on design of digital systems uses the book "Introduction to Asynchronous Circuit Design" by Jens Sparsø.
On page 156 he talks about synchronizing a handshake protocol between a ...
0
votes
0
answers
22
views
USB peripheral not responding to SETUP packets
I'm writing some Verilog on a Spartan S7-50 FPGA to control a MAX3421E (datasheet) over SPI. I've gotten everything working with setting up the chip (full-duplex, Vbus, connection detection, host mode)...
0
votes
0
answers
41
views
MOSI signal losing bandwidth in SPI communication
I am testing the SPI MOSI signal for signal integrity. The length of the PCB trace is 207 mm. Unfortunately, the signal is curved at the rising edge of the cycle. The frequency is 1Mhz. I think it is ...
3
votes
1
answer
52
views
What Interface is my LCD display using?
My Tektronix TDS 2024's 5.7” STN display (320x200, color) needs replacing. Instead using the same expensive, hard-to-find, obsolete one, it would be a good opportunity to upgrade to a more modern ...
1
vote
3
answers
218
views
What Communications Technology is used in Car Reverse Cameras?
What communications technology is typically used in car reverse cameras? Analogue or digital, and what protocol? How is the data typically read into the MCU/MPU - via CSI or some other protocol?
...
0
votes
2
answers
70
views
What is the communication protocol used by non-expansion card USB ports to communicate with CPU?
USB ports can come as expansion cards, like this:
Now obviously, since this is a PCIe USB card, the communication protocol used by this expansion card to communicate with CPU is PCIe.
But what about ...
1
vote
2
answers
105
views
Help decoding unknown data stream
I'm currently diving into the task of cracking the data stream protocol for a generator control system. There's this setup with a control box sitting next to the generator, and a remote switch in the ...
0
votes
2
answers
85
views
Understanding the Trade-offs Between Hardware and Software Implementations for Communication Protocols in Embedded Systems [closed]
I am currently learning about embedded systems and am keen to understand the trade-offs between using dedicated hardware blocks and software implementations for communication protocols like UART, SPI, ...
2
votes
2
answers
103
views
Finding correct memory IC [closed]
I have a project where I need to store data (~16Mo) on a memory IC and be able to fetch the data fast (<36000bits/s) (with DMA in the idea).
My µcontroller is an Arduino DUE. So far I've tried a ...
0
votes
2
answers
135
views
UART vs Debug UART vs Auxiliary UART Interface
I am using Quectel EC200U in my design. This module contains three UART interfaces. The description is given below.
The module provides three UART interfaces:
The 1) main UART interface, the 2) debug ...
2
votes
0
answers
63
views
Determining a serial protocol of an industrial crane
I'm currently trying to read packets sent between a small truck-mounted crane's controller (handheld device with joysticks/buttons/etc) and its control box. The communication occurs over a single data ...
0
votes
3
answers
101
views
I2C VS SPI comunication
I have studied the I2C and SPI communication protocols, but one thing has been confusing for me. In the case of the SPI we have shift registers at both ends and with the help of the SPI rising clock ...
0
votes
1
answer
113
views
CAN-Bus Message confusion
Can anyone tell me what the difference between these two sets of CAN Bus messages? This is from the manual of a Power Drive Unit (PDU) in the Cargo Handling System of a 747F (UPS Freight). This is the ...
4
votes
2
answers
644
views
When designing a product that uses a DE9 connector, is it normal to just classify it as an RS-232?
Question:
When designing a product that uses a DE9 connector, is it normal to just classify it as an RS-232?
Background:
I am seeing a lot of references to RS-232 while reading engineering documents ...
0
votes
2
answers
114
views
Interfacing TLC59731 with Attiny85
Has anyone had any experience communicating with a TLC59731 from an Attiny85? I'm not sure how to configure the USI to support the EasySet "protocol" described in the datasheet. I imagine I ...
2
votes
2
answers
398
views
Detecting a break condition over UART on ATmega328P
I'm implementing a protocol which begins with an 88 µs break (low) and uses an 8-N-1 configuration.
The latter is easily set with UCSRnC, but is there a way to configure the UART hardware to detect ...
0
votes
0
answers
78
views
Problem sending MIDI message using Proteus Simulation Software
Im trying to send a MIDI message using Proteus Simulation Software. The idea is to send a NOTE ON, channel 1, C4 music note with velocity of 127. This three bytes are the following.
(Note ON/channel 1 ...
2
votes
2
answers
150
views
Reason to have MSB in a serial communication always high
I'm working on a code (written by other people) that uses a custom protocol to transmit data over RS485 in 8-bit packets.
For some reason, the protocol is built so that every 8 bits transmitted are ...
2
votes
1
answer
258
views
J1939 data encoding
I have some trouble understanding the data encoding used in J1939; let's take temperature as an example: Section 5.1.5 of the protocol details the following:
Parameter
Scaling (Resolution)
Limits(...
0
votes
2
answers
232
views
SPI interrupt signal
My question is based on this question over here.
I just want to clarify what is the purpose of the SPI interrupt signal. Isn't the 4 SPI clock and data lines, & chip select sufficient for the SPI ...
1
vote
1
answer
89
views
Identifying MCU communication protocol in low-power toy
I am new to analyzing logic traces.
Using a Salae Logic clone sampling at 8 MHz, I used PulseView to run a capture on two connected Radica Cube World figures. It looks like only one of the connections ...
0
votes
1
answer
114
views
Why I2C ultra-fast mode support only write operation
Below image is from TI I2C training.
It says that Ultra-fast mode supports write only and omits some standard I2C feature.
This does not say why it is supporting only write and what are the features ...
0
votes
1
answer
95
views
Reverse engineering a torque sensor
I am trying to reverse engineer a torque sensor. I have found the two data lines that are providing the torque value output to the ECU. Here are the waveforms that I have captured that show max. ...
4
votes
2
answers
240
views
What is this single-wire bidirectional communications protocol?
I'm attempting to build an interface for a 1985 IBM typewriter keyboard. This is interesting because it's bidirectional --- the keyboard has a screen on it. I was expecting some variation of XT or AT ...
1
vote
1
answer
468
views
Relationship between PSEL and PENABLE signals in the APB protocol
I would like some clarification on the relationship between the PSEL and PENABLE signals in the APB Protocol. The specification states:
The PENABLE signal is asserted the following clock after PSEL ...
0
votes
0
answers
91
views
CSMA/CA - Why does RTS/CTS with ACKS not solve the exposed node problem?
I was reading up on RTS/CTS mechanism schemes and came across this statement on the Wikipedia article - "modern RTS/CTS includes ACKs and does not solve the exposed node problem"
According ...
1
vote
1
answer
69
views
Is it possible to connect two Bluetooth peripherals to the same master?
I would like to design a pair of identical Bluetooth devices (using the Silicon Labs EFR32BG22 Bluetooth microcontroller) which receive a data stream from a smartphone.
As I understand it, a Bluetooth ...
0
votes
1
answer
93
views
Are there any useful points of such a large functionality of USB HID class?
In the list of USB classes, in addition to the obvious things (like "Printer", "Hub" and "Storage"), there are also such things like "Audio", "Video", ...
0
votes
0
answers
42
views
How to connect EVB- ADC7606BSTZ to MCU (STM32)?
I try to connect the EVAL-7606BSTZ to my application, my MCU -
user guide for EVAL:https://www.analog.com/media/en/technical-documentation/user-guides/EVAL-AD7605-4SDZ_7606SDZ_7606-6SDZ_7606-...
0
votes
1
answer
76
views
Choosing wiring & protocol for MCU network
I need to create a mini wired network of MCUs. I already have custom application layer protocol and need to send messages of this format between MCUs.
My requirements are:
Up to 20 units in the ...
7
votes
3
answers
2k
views
How are BAR registers handled between end points in PCI Express?
I have a question related to the PCI Express protocol.
I managed to understand most of the features of the PCI Express protocol but could not entirely understand the enumeration process.
I know the ...
0
votes
0
answers
28
views
Is it possible in Profibus DP that slaves can talk each other?
I could not understand what Profibus DP is. Is it only I/O system which is controlled with a PLC or is it a complete bus system which controls the data traffic? If the second, I would like to ask if ...
0
votes
0
answers
86
views
In master side HART protocol hardware: how HART voltage applied across sense resistance, can be received in slave side?
I’m trying to test a HART hardware both in master side and slave side , I’m using A5191HRT HART modem IC from Onsemi, (because only its HART modem IC founded in shops our city), the biggest ...
0
votes
2
answers
639
views
What communication protocols are used with mobile displays?
I have been researching the communication protocols used between the motherboard/processor of touch screens used in phones and smart watches for a while, but I couldn't find much.
Generally, ...
0
votes
0
answers
308
views
CANOpen SDO block transfer retry if timeouted?
I'm using the CanFestival CANOpen library (https://canfestival.org/) for a PC app that talks to a device via CAN bus. The device is CIA-301 compliant. I'm using SDO block transfers for device firmware ...
1
vote
1
answer
217
views
Topology and protocol for boards connection
Would like to have some insight on which data protocol to use to communicate between a master and several slave boards on a project i'm working on.
My initial idea was to daisy chain all the slaves. ...
0
votes
0
answers
240
views
Serial Camera Control Bus (SCCB) - Why are my Serial Input Output Data line always high?
I'm looking for a SCCB library for the camera OV7670 and I have been looking everywere for C code that fits OV7670. But the problem is that my SIO_D (Data line) is always 1 when I read the data line.
...
1
vote
1
answer
165
views
Sliding window protocol
In the sliding window protocol when the receiver sends RRn to the sender the receiver's window is shifted to the right now starting at the n position correct?
Suppose this is the window of the ...
1
vote
2
answers
194
views
Identification - 3-pin 3.3V serial port?
I'm trying to identify this port and read data off it. It's 1cm across, including a small square on the lower left. 3 pins, leftmost near square seems to be GND and rightmost reads 3.3V+ w. respect ...
0
votes
0
answers
39
views
Issue with serial interface of Futaba LCD M162MD07aa-000
I have purchased a Futaba LCD from Mouser,
https://www.mouser.com/ProductDetail/Futaba/M162MD07AA-000?qs=PzGy0jfpSMv5CfcVuWSnKw%3D%3D
It says in the datasheet that it supports three modes; I want to ...
2
votes
2
answers
112
views
read multiple digital sensors over protocol
I have 200 digital sensors that I need to read its state from a arduino.
What I was thinking about is to make something like digital leds, where i connect 200 IC's in series. the first IC gets a "...
1
vote
0
answers
219
views
Identifying a communication protocol found on a RJ14 cable
I have a LED panel controller that can daisy chain with an another led panel controllers using a RJ14 cable to adjust a PWM that dims the panel.
This is what I see on the RJ14 pins. A periodic signal ...
0
votes
1
answer
146
views
Why do we need FPGA and not microcontroller to implement Bitbus protocol?
I need to design a board with a Bitbus protocol master to interface with other slave devices and was searching for options. All I get is Bitbus protocol IP for FPGAs.
Why can't we implement Bitbus ...
0
votes
1
answer
98
views
How does USB C PD to DC power negotiation work
I have a battery and would like it to output power from its USBC PD to a DC input device. The device has a fixed resistance and the device must receive 20V fixed. How can I do this?
10
votes
4
answers
2k
views
Does the SPI protocol specify how many clock pulses a master device should send to the slave?
I'm trying to implement an SPI device in Verilog. I'm having a lot of problems for coordinating master and slave, since sometimes (with my current impl.) the SPI master device doesn't send enough ...
3
votes
4
answers
4k
views
Rs485 A & B Labels being used inconsistently
I would like to know if there is an official standard with regards to rs-485 terminals being labelled A & B.
I have always believed:
A=> + (positive)
and
B=> - (negative)
however, I have ...
2
votes
0
answers
167
views
Figuring out communication protocol
Complete beginner trying to learn by doing here...
Background:
I have a wine cooler (for beer) that I want to remote control the lights on by adding a microcontroller.
I'm planning on using a ESP32 ...
0
votes
1
answer
187
views
What is the interface type of this LCD?
I'm trying to find out if this LCD uses eDP, or MIPI DSI, or something else so that I can choose a replacement LCD, and I'm a beginner at this.
I wasn't able to find it on the manufacturer's website, ...
1
vote
1
answer
294
views
Why does SAE J1939 Commanded Address requires a delay when sending multiple package message?
I wonder why the command Commanded Address from SAE J1939-21 protocol, requries a delay between 50-200ms for every multiple package message for the transmitter.
Why? Does the microcontroller unit not ...
0
votes
1
answer
146
views
Do all flash memory chips pinout layout and usage follow a specific standar(s) and protocols?
As I see in this question I see that WINDBOND W25Q128FV has similar pin inteface/layout with the Maxronix MX35LF1GE4AB.
Therefore, the following question came to my mind, do all flash memory chip ...