Continue to Site

Welcome to EDAboard.com

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.

Recent content by Mtech1

  1. M

    Why PULL UP resistor required

    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.
  2. M

    SPI Master-Slave Communication

    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...
  3. M

    ADC settings

    I am attaching link for refrance https://microchipdeveloper.com/8bit:emr-adc
  4. M

    ADC settings

    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...
  5. M

    LED Brightness Control with PWM and Timer

    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...
  6. M

    LED Brightness Control with PWM and Timer

    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...
  7. M

    Any positions Bits shifting to right

    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...
  8. M

    Any positions Bits shifting to right

    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...
  9. M

    arbitration

    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...
  10. M

    arbitration

    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
  11. M

    arbitration

    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...
  12. M

    arbitration

    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...
  13. M

    arbitration

    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...
  14. M

    clock synchronization

    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...
  15. M

    Sending higher nibble via UART

    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"

Part and Inventory Search

Back
Top