Questions tagged [communication]

Exchange of information between devices. Communication can be wired or wireless.

Filter by
Sorted by
Tagged with
0
votes
1answer
185 views

Configure SPI Slave to handle data coming at the wrong time

I am experimenting with the SPI protocol (fast speeds where 5 bytes of data is transferred in slightly less than 500us) on the STM32F410 configured as a SPI full duplex slave. A master device sends a ...
0
votes
4answers
667 views

Is this analog switch good for UART lines?

Currently designing a circuit to switch between two UART lines using an analog dpdt switch. Been searching for a while and found the BL1532. The datasheet says it's a DPDT USB2.0 Analog Switch, but ...
0
votes
1answer
38 views

About best way to perfom checksum

From my knowledge,checksum can be done using Xor or adding the bytes of the frame...i have to create a communication between ATmega32 microcontroller and matlab to perform some functions...which is ...
0
votes
1answer
552 views

Switch between two serial ports

I'm working on a device that is connected to 2 serial ports (both TX and RX).The first serial port is connected to a CP2104 USB chip, the second serial port is left open with TX,RX,GND,3V pins. I want ...
1
vote
2answers
57 views

Are USB and/or Ethernet payload agnostic?

I'm working on a project in which I'm trying to reduce the number of conductors in a high-bandwidth, multi-signal communication interface that requires a fiber connection for isolation and a back ...
0
votes
0answers
66 views

Methods to ruggedise a USB3.0 type A port

I am developing a carrier board for a autonomous navigation robot. I need to change the USB 3.0 type A ports to ensure a reliable connection in a rough terrain. I am familiar with some methods as: ...
0
votes
1answer
50 views

Understanding USB Descriptors speed

I have several USB devices that are capable of running High Speed 2.0 (480 Mbps) mode but runs Full Speed 1.1 (12 Mbps) instead. Take for example a USB DAC: It advertise USB 2.0 compliant and fall ...
0
votes
0answers
579 views

SPI Slave sometimes sends incorrect data

I apologize in advance if I should have not created a new thread as I ran through new issues after making updates to my project posted on this previous thread: SPI data arrives at every 2nd send and ...
0
votes
0answers
142 views

Connection between 2 STM32F103C8 using I2C

Hello I am new to STM32 and I am trying to learn I2C communication between 2 STM32F103C8 MCUs. MCU1 acts as the master and MCU2 acts as the slave. I am using CubeMX to configure the settings however ...
1
vote
2answers
125 views

SSB and Hilbert transform

I have came across a question where it asks if the input to SSB (LSB) modulator is mh(t) (which is the hilbert transform of m(t)), will the of the modulator be LSB? What I did : I did the math and ...
0
votes
1answer
133 views

How do we choose refractive index value in optical fiber design?

It is known that, given two media with refractive indeces \$n_1\$ and \$n_2 < n_1\$, if rays come from medium 1 they will be totally reflected if their angle of incidence is higher than the ...
2
votes
1answer
327 views

SPI data arrives at every 2nd send and in the wrong sequence

I am simulating a project where two STM32s communicate with each other through SPI (HAL drivers), where the SPI Master is an STM32F4 and the SPI Slave is an STM32F3. Basically, the master will send 5 ...
0
votes
0answers
78 views

WS2812b data over 35m line

Single WS2812b LED are connected over 35 meters (115 feets) UTP Cat. 5e cable and it's not working as expected. Getting wrong colors. Another WS2812b placed in parallel (not chained) on board close to ...
0
votes
1answer
175 views

SC18IM700 operation (RS485 to UART to I2C)

I need to create a circuit to talk to a piece of equipment using the I2C bus. I'm on a PC that has an NI serial card with RS485 ports(I'm not sure of the model number off the top of my head). I ...
0
votes
2answers
130 views

Addressable ICs similar to WS2811 for monochrome LED [closed]

For my home decoration, i want to individually address the led strings . Since one string is of a single color, i need an ic with serial communication similar to WS2811 ic but monochrome to control ...
0
votes
2answers
176 views

SPI doesn't work properly between two STM32 microcontrollers

I'm trying to use SPI communication between 2 boards (custom design). Register programming approach is used. Sometimes SPI works fine, sometimes it doesn't. When it doesn't work properly, one of first ...
0
votes
1answer
265 views

MC1496 can be used as a DSB SC and AM IC, but their circuits on the datasheet are the exact same. What is the difference between the two?

I am looking at the MC1496 IC datasheet provided by ON here. Figures 1 and 3 show that you can make an AM or DSB-SC signal using this circuit. However, the two test circuits listed on the datasheet ...
1
vote
0answers
46 views

Creating a low cost raspberry lora node

I'm trying to integrate LORA communication in a project that uses a raspberry pi. I've bought this module to serve as a gateway for testing: https://www.amazon.es/gp/product/B076T28KWG/ref=...
0
votes
0answers
47 views

Sending Serial Data via CAN transciever

I am required to transmit a standard Hex payload through serial com port to a device that has a CAN transceiver. The serial configuration is as follows: 500 kbps, 1, 8, None, 1. The DUT has a CAN ...
3
votes
2answers
178 views

What are the units used in Shannon formula calculation?

I'm a CompSci student with absolutely no background in wireless communication who recently needs to do something with the Shannon formula: $$ R = W log_2\bigg(1+\frac{P_t H^2}{N_0 W}\bigg) $$ I need ...
1
vote
2answers
98 views

Are there any real world examples of encoding data in EM polarization?

Data can be encoded by modulating the frequency, amplitude and phase. But I can't find any references for encoding data in the polarization of EM waves (either analog or digital). This is probably for ...
0
votes
0answers
40 views

Receiving image through USB to embedded device via USB CDC

I am trying to send images through the USB port to my stm32f7 eval board. I have taken pictures from webcam and send it by the code below ...
0
votes
2answers
56 views

Underwater communication trough cable

I wanted to build a device which can stay and move underwater (let's say, for instance, 15m underwater). Since RF frequencies are very attenuated by water and VLF antennas would be too high, I was ...
0
votes
1answer
50 views

CAN - Tranceiver @ 5V VS Tranceiver @ 3V3 Immunity

I would like to change a 5V CAN transceiver on my board into a 3V3 CAN transceiver. Nevertheless as I am clearly not a specialist of the CAN protocol, I am afraid of doing a big mistake ! I think it ...
0
votes
1answer
65 views

NRF24L01+ (RF Module) for Smart Home Device Communcation

A while back I purchased these RF modules (NRF24L01+) and I am starting a project using them; the project is implementing a network of smart devices as slaves connected to a central wifi-enabled hub (...
0
votes
1answer
65 views

Equivalent baseband communication channel

I was reading on my lecture slides (I do not put them here since they are not in English) this statement about equivalent baseband channel models: In typical wireless applications, communication ...
0
votes
2answers
529 views

How to drive the gate of a MOSFET with a PWM like signal

I'M trying to use MOSFET as a driver for my 10W LED with 12V supply. This LED will be used as a transmitter with signal coming from Arduino nano. I'm using IRFZ44N MOSFET with a Vgs(min)=2V and Vgs(...
0
votes
1answer
300 views

STM32 BLE profiles - multiple sensors active ST BLE Sensor App

I have done the MOOC for the stm32wb55 BLE profiles and now I am trying to introduce more BLE characteristics. I managed to make the sensors work and to transmit them to the ST BLE Sensor app. However ...
1
vote
1answer
44 views

Determine output filter using the bode approximation

Given that the carrier frequency Fc and modulation input frequency Fm are known, how would I use the bode approximation to determine an output filter, if the carrier frequency component must receive ...
6
votes
5answers
2k views

Decode/Analyse the following UART signals

I have sent a 2 and a 9 using UART. The baud rate is 9600, there is no parity, and it has 8 data bits. As we know 9 is represented as 1001 in binary. However, this is what I get from my UART signal: ...
1
vote
1answer
52 views

Is this the right convention for SPI modes?

The table shown here, under "Clock Polarity and Clock Phase" doesn't agree with my conclusions from table for SPI modes on Wikipedia. I'd like to distinguish between whether the one on the ...
0
votes
0answers
33 views

Piezoelectric Backscatter Communication

I am currently working on a project. We have a metal bar as test object and at each end we stuck a piezo disc. I am trying to use one piezo as a sender and the other as receiver or reflector. I tried ...
0
votes
1answer
73 views

Coherent and non-coherent detection

Let's say I am simulating something as simple as BFSK. It has two symbols, one entirely on the real plane, and one entirely on the complex plane for representing let's say zero. That is how the ...
0
votes
1answer
44 views

why base stations have 2 receiving antenna and only one transmitter?

I read that a base station is divided up into sectors to accommodate multiple service providers on a single tower. why each sector has two receiving antennas and only one transmitting antenna, As we ...
0
votes
1answer
192 views

How to find RPM from the square wave of a MSD box

I am trying to make a tachometer for my car. I am using a MSD6Al-2. The box outputs a 12 volt square wave at a 20 % duty cycle I talked to someone at MSD and they said you'll get a signal every time ...
0
votes
2answers
49 views

Can we get higher internet speeds even with low BW message signals?

Consider a case where i’m listening to a recorded audio on internet.Basically the useful audio Frequency range lies b/w 40hz to 4khz, which has a BW of 4khz which is pretty low ,does that mean the ...
0
votes
1answer
46 views

Understanding OSI Communication Model in Hardware

I have gone through the OSI communication model and the associated levels. But I do not understand on how is this implemented in the Hardware level. Or let me put it like this. Suppose we have a ...
1
vote
1answer
115 views

Wrong SPI Signals in Logic Analyzer

We're trying to send some informations above SPI. So we've coded a few lines of code for that purpose. But in the picture you can see, sometime data cannot be retrieved accurately. The original data ...
1
vote
1answer
45 views

Depict Adress Resolution Protocol using Mirobits

My school assignment says In this task you will implement a simple version of Address Resolution Protocol (ARP). A button press on one micro will send a request to the other micro for its “MAC” ...
1
vote
1answer
70 views

Finding the amplitude of a multi-tone signal

How do you find the amplitude of a signal consisting of multiple sinusoids with different frequencies such as $$f(t) = A\cos(\omega_1t)+B\sin(\omega_2t)\text?$$ I'm thinking that you take the ...
0
votes
1answer
55 views

Is there a term for something like a "routing scheme"?

I would like to know if there is any common term to describe the routing of devices to conceptually understand the setup. E.g. something that explains how the devices are connected to each other on a "...
0
votes
1answer
62 views

What is the difference between these two SSB phasing method block diagram?

I was searching the block diagram of SSB phase shifting method. I found these two different block diagram: I thought the second one is wrong but this one is used many times in different websites. I ...
-2
votes
1answer
73 views

Auto-negotiation Disable Issue [closed]

How can I set the ethernet speed ?
0
votes
3answers
88 views

Probability of error of a system?

Let bits 0 and 1 be equi probable. For bit 0, any value between -0.3 V and 0.3 V can be taken with equal probability. Similarly for bit 1, any value between 0 V and 1 V can be taken with equal ...
2
votes
2answers
173 views

When we raise a signal to a power n, does the bandwidth always gets multiplied by n?

I know that when we have a message signal $$m(t) = \cos(\omega t)$$ when it gets squared, its bandwidth gets doubled, because $$\cos^2(\omega t) = \frac{1}{2}+\frac{1}{2}\cos(2\omega t)$$ But is ...
1
vote
1answer
85 views

How to plot BER Vs SNR of a received signal

I am using USRP to transmit and received MIMO frames similar to Wi-Fi standard that I created on my own. After receiving the signal, it is processed as described in the standard. While I plot the ...
1
vote
1answer
87 views

How to calculate the total signal strength and phase shift of multiple signals in a reciever

I have a simulation to make where I have an array of transmitters that transmit the same signal. At a random point, which I have to consider as a receiver I have to measure the phase shift of the ...
0
votes
1answer
141 views

What limits the maximum number of nodes of a RS422 bus? How to check if N>10 nodes is possible without repeater?

I have 13 identical devices which communicate with a host via RS422. None of them are addressable (they assume point-to-point connection). I would like to string them in a RS422 bus. I thought of ...
1
vote
1answer
56 views

Filtering a demodulated signal

I've created a simulation on Matlab of amplitude modulation. After demodulating the signal I need to add a low-pass filter to remove the high frequency components. I'm confused as to why this is? I ...
2
votes
2answers
77 views

Can I improve serial data signal using reversed output on a twisted pair?

This is a serial data communication with one or several transmitters and one or several receivers. From the transmitter I have one serial data output (D+) and a second, reversed serial data output (D-...

1 2 3
4
5
25