Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
When we can make any pin of microcontroller high or low so I don't understand Why do we need pull-up resistors when connecting an I2C device to a microcontroller?
Could someone explain necessity of pull-up resistors.
I'm looking for someone to correct my basic understanding if I am thinking wrong. I believe SPI is a protocol that work on a master and multiple slave architecture, where only one master communicates with multiple slaves by selecting a specific slave device. It doesn't work like a multimaster...
Hello,
I'm reading the general description of the ADC features in a any microcontroller, and I have some questions on my mind. I'm trying to understand what configuration settings I need to set in a program to read a 0-12V DC voltage with a 10-bit ADC.
Specifically, refrance voltage...
Hi,
I've looked the four registers mentioned in the given link:
1. **Caption (CCP1 Control Register):** I understand that this register is used to configure the operating mode of CCP1, which can be set to capture a signal or generate a PWM signal. This makes sense to me.
2. **T2CON (Timer 2...
Hi,
I've come across the concept of controlling LED brightness with PWM (Pulse Width Modulation) using a microcontroller. I looked that adjusting the duty cycle from 0% to 100% is involved in controlling LED brightness. However, I'm looking a clear understanding of the principles behind it...
I think I'm overthinking the problem, and I need to keep it simple. Sorry for wasting your time. I thought this might be a common issue dealt with in embedded systems, but I realize now that it doesn't make sense to dwell on it. I believe I've done enough with bitwise operators, and it's time to...
I am having difficulties understanding how to shift bits that are not in sequence.
I understand shifting bits in sequence, like (7 to 4) or (7, 6). For instance, shifting the higher nibble to the right is achieved by using 'byte = byte >> 4,' resulting in 0000 11100.
Similarly, shifting only...
In a scenario where two masters want to communicate with a single slave on an I2C bus, initially, both masters can generate a Start condition simultaneously to indicate their intent to communicate. Then, both masters attempt to transmit their addresses, and they monitor the SDA line. My...
I don't understand below paragraph
I don't understand how it happens. before sending slave address any one master should generate start conditions so why you mentioned slave address. As I understand master read ack/ nak bit after sending slave address not at start of i2C communication
I'm still don't understand how a single master device gains control of the I2C bus when multiple masters are trying to communicate concurrently. When two masters simultaneously attempt to send data over the I2C bus, their signals are usually combined using a logical AND operation.
This...
I tried to attach a link to a wiki page for reference on the forum, but it was denied displayed message I hadn't reached the maximum number of posts.
Anyways On page 8 of the attached I2C document, it mentions that devices connected to the bus must have open-drain or open-collector outputs to...
I'm reading the I2C communication protocol in link
en.m.wikipedia.org/wiki/I%C2%B2C and came across a statement about i2C Bus arbitration. I'm struggling to fully understand the concept behind this statement and would appreciate clarification.
In idle state, both the SDA (data) and SCL...
Hello,
I'm having difficulty understanding the concept of clock synchronization in embedded communication protocols like SPI and I2C. From what I gather, it seems to involve making sure that data is sent and received at the correct time.
Can someone provide a simplified explanation of what...
I did mistake I should ask
"How can we transfer only five bits via UART in a program when UART supports a range of five to nine bits between the start and stop bits"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.