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