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 Kittu20

  1. K

    Deciding Between 11-bit and 29-bit Identifiers in CAN

    I'm currently exploring the specifications of the CAN (Control Area Network) protocol. I'm trying to understand decision to select an 11-bit identifier or a 29-bit identifier. From what I've gathered, if our application involves a limited number of unique messages communicating on the CAN...
  2. K

    Function pointer in practice

    Hello Everyone I understand that function pointer is pointer in c language – that they store the address of a function, they can be use in call back. We can call the function using pointer insted of function name but the question what's advantage of using function pointer instead of using...
  3. K

    I2C multi masters

    Thank you all I got it: The "wired-AND" concept refers to the physical connection of devices on the I2C bus, where each device's output is connected to the SDA line through an open-drain configuration. When a device wants to transmit data, it typically checks the SDA line to see if it is...
  4. K

    I2C multi masters

    I'm still trying to understand how arbitration works with Wired AND and how each master monitors its own output. Could you please explain it to me in simpler terms?
  5. K

    I2C multi masters

    Hello everyone, I've read the I2C specification multiple times, but I'm still confused about how bus arbitration works. Let's say we have three masters: A, B, and C. Initially, all three are idle, meaning their SDA and SCL lines are high. When they all want to control the I2C bus at the same...
  6. K

    CAN Identify

    A complete CAN message frame typically consists of several components, including the Start of Frame (SOF), Identifier, Control Field, Data Field, CRC (Cyclic Redundancy Check), Acknowledgment (ACK), and End of Frame (EOF). I want to controlling an LED through CAN messages and It requires ID of...
  7. K

    CAN Identify

    I've been gone through the CAN bus protocol and its requirement for each node to possess a unique identifier. I've the PIC18F45K80, which has an inbuilt CAN feature. However, I'm unable to locate the identifier specific to this chip. http://nskelectronics.com/CAN%20Transreciver%20-%20AMIS-42665...
  8. K

    Assigning ID to CAN messages

    Now imagine we have CAN network with a one PIC8F45K80 CAN microcontroller , two MCP2515 Transceiver ICs, and two LEDs (Red and Green), let's assign CAN IDs to control these LEDs. I am assuming 0x100 for the red LED on Node 1 and 0x101 for the green LED on Node 2 We are building CAN network in...
  9. K

    Assigning ID to CAN messages

    Imagine we have three nodes: Node 1, Node 2, and Node 3. We've assigned the CAN ID 0x100 to Node 2 and 0x101 to Node 3. we have two CAN messages. If Node 1 sends a message with the CAN ID of Node 3, both Node 2 and Node 3 will receive it. My question , How physically Node 3 will know the...
  10. K

    Assigning ID to CAN messages

    Hello, I've been researching on Wikipedia for CAN protocol and going through specifications CAN, but I'm struggling to understand how tAssigning IDs to messageso obtain the CAN ID for a node. Assigning IDs to messages is important in a CAN network. Consider a scenario with two nodes: one node...
  11. K

    [SOLVED] daisy-chain multiple SPI devices

    Thank you very much for the clarification. I realize now that I had misunderstood the concept. Your explanation has been incredibly helpful in clearing things up. I appreciate your patience So, just to confirm my understanding, if we have four equal SPI devices daisy-chained, and we want to...
  12. K

    [SOLVED] daisy-chain multiple SPI devices

    Hello Everyone, I am trying to understand how individual devices work in a daisy-chaining setup. I have looked so many links but I don't get clear idea. Let's say we have three SPI devices: a temperature sensor, an LCD display, and an EEPROM memory chip, and we want to connect them to a...
  13. K

    ADC MCP3008 SPI Timing

    I'm planning to interface a 10-bit ADC MCP3008 with my 8-bit PIC microcontroller. Before writing any code, I'm trying to understand the datasheet of the ADC. It appears that it only supports two SPI modes: CPOL=0, CPHA=0 (Figure 6.1) and CPOL=1, CPHA=1 (Figure 6.2) on pages 21 and 22. In the SPI...
  14. K

    [SOLVED] detecting these delays in ISR execution ( "interrupt latency" )

    Hello everyone, I'm interested in understanding the potential reasons why processors can experience delays when executing ISR (Interrupt Service Routine) code and how we can determine if the processor is indeed getting delayed during ISR execution. I have written interrupt code for my...
  15. K

    [SOLVED] Selecting oscillator mode for microcontroller

    As I understand, when choosing an oscillator for a project, we need to select one mode from the nine available options using the #pragma config FOSC = <mode> directive." This directive will allows us to configure the oscillator mode that best suits our project's requirements.

Part and Inventory Search

Back
Top