
Explore the basics of can communication, its features, data transfer, and bus conflict resolution, and learn to program arm cortex-m3 to build a can network for automotive applications.
Please read before proceeding-important note
Important Note
Dear Students,
Please note that
udemy has auto generated captions(CCs) for all the videos. Hence the words may not be accurate.
Auto generated CCs are not 100% accurate.
If you don’t want to use the CC, then you can turn it off.
Please do not give bad/negative rating because of the quality of CC since it is udemy auto generated.
Thanks and Happy learning!!!!!!!!
Explore the three-module CAN network development course using Arm cortex-m3. Learn CAN protocol basics, arbitration, and transmitter and receiver node programming, then build a CAN database with freeware tools.
Need for communication in Automotive
Explain how an electronic control unit integrates microcontrollers, ASICs, and external CAN controllers with sensors, EEPROM, timers, watchdogs, and drivers to enable CAN communication in automotive systems.
Understand why automotive ECU communication favors wired serial CAN networks over wireless, reducing wires, complexity, and power while improving reliability for safety-critical systems.
Explore the can controller area network, a two-wire, multi-master, message-oriented serial bus with non-destructive arbitration, collision detection, and identifier-based frames for broadcast reception.
Explore the outstanding features of the CAN protocol, including multi-master arbitration, ISO compliance, two-wire CAN high and CAN low, and data frame formats with bit stuffing.
This lecture compares standard and extended CAN frame formats, highlighting the 11-bit base identifier, the substitute remote request, extension bits, and how they determine data versus remote frames.
Explore the CAN arbitration process, a non-destructive method to resolve bus conflicts in a multi-master network using dominant and recessive bits and 11-bit identifiers, prioritizing lower identifiers.
Learn how CAN arbitration resolves simultaneous transmissions and how error frames abort faulty messages to protect the bus, highlighting message- and bit-level errors, CRC checks, and acknowledgments.
Can nodes manage transmit and receive error counters; above 27 enter passive with six-bit flags, switch off at 55, recover after 128 receptions, while others increase receivers for active errors.
Interface a CAN node to the CAN bus by comparing external and built-in controllers and transceivers, and review dominant and recessive signaling with 120 ohm termination per ISO.
Learn to build a CAN network using the ARM Cortex-M3 LPC1768 board with a built-in CAN controller and MCP2551 transceivers. Explore online and offline compiling and serial tools for deployment.
Master the mbed online compiler to set up a project on the embed LPC 1768, blink an LED, compile, and run the bin on the embed board.
Sign up for embed.org, access Keil Studio Cloud, create a new embedded project, and build and deploy code to hardware using the LPC1768, with the bin file downloaded.
Create and compile a project in the online compiler, fix errors like undefined identifiers, build the latest bin file, and dump it to the embed board as it blinks.
Dump the downloaded bin file to the embedded board, observe the status LEDs blink, and use the reset switch while re-compiling to switch LED1 to LED2.
Discover how the embed board runs the latest bin file, reverts to the previous one when deleted, and use the digital out API to drive an LED on pin six.
Read analog inputs and set analog outputs with mbed APIs on ARM cortex m3, and manage digital in/out and bus in/out for multi-pin ports.
Learn to deploy, run, and debug mbed APIs on a can network project, including resetting the device, observing the counter output, and separating transmitter and receiver code.
Explore bus in/out, port in/out, and interrupt APIs to read and control multiple digital pins, use timers and SPI interfaces, and build a CAN network with the CAN interface.
Build a CAN network on an ARM cortex-M3 board LPC1768, split into transmitter and receiver code to send a counter over CAN and display it via serial with LED toggle.
Split a CAN network project into transmitter and receiver nodes using MCP2551 transceivers, wire CAN high/low, and transmit gear status over CAN to a PC serial console.
Explore building a can network with two embedded boards and 2551 transceivers, wiring can high/low, 100 baud, and a transmitter–receiver code with a 0–255 counter and id 1337.
Develop a transmitter and receiver CAN node on an ARM cortex m3, using pins 29 and 30, to send a one-byte counter every second and display it via serial.
Teraterm displays serial data from transmitter and receiver on embedded boards, with a live counter updating every second and readying the switch interface to transmit its status.
Read the switch status via a digital in API on pin 20, then transmit the status over the CAN bus between a transmitter and receiver using an ARM cortex m3.
Explore Bus Master, a free CAN protocol analyzer for CAN, LIN, and J1939, that enables CAN node and CAN network simulation, database-driven analysis, test automation, and diagnostics.
Create a CAN database in BusMaster, map identifiers to named messages like ABS, and configure signals such as wheel speed and vehicle speed to analyze bus data.
Analyze CAN bus data with Teraterm via the serial port on the mbed LPC1768, examining transmitter and receiver signals, and compare Vector analyzer and Bosch bus master for message analysis.
learn how to install bus master, a freely available tool from a bus system company, by downloading the latest version from google and completing the installation.
Learn to simulate a CAN node and CAN network with bus master, modeling a dashboard, BCM, and ABS for interior light control and seatbelt warning.
Build a can network with bus master, create a can database, and simulate three nodes exchanging door status, seat belt status, wheel speed, and dashboard lamp and buzzer signals.
Create and simulate an abs can node using arm cortex m3, building an event-driven bus with timer and message events to send wheel speed messages.
Extend the can network with a bcm node, simulate door and seatbelt messages every second, and prepare the dashboard module to compute speed from wheel speed and buzzer and lamps.
Explore dashboard ECU simulation in a CAN network, evaluating BCM and ABS signals to derive vehicle speed and control buzzer and lamp based on seat belt and door status.
Explore model based design techniques across mil, sil, pil, and hil, modeling engine and controller in simulation, generating C code, and validating hardware in the loop with target hardware integration.
Explore MATLAB and Simulink as a block-based platform to model, simulate, and prototype embedded control and signal processing systems, and generate C code for rapid prototyping.
Explore how to start MATLAB, open Simulink, create a blank model, browse the Simulink library and toolboxes, and install the Simulink support package for Arduino.
Install the Simulink support package for Arduino hardware using MATLAB add-ons, including downloading, third party packages, USB drivers, board detection, and test connection for model based design.
Explore Simulink blocks for Arduino programming, including digital and analog input/output, PWM, serial, SPI, CAN, sensors, motors, IoT blocks, and image sensors, enabling model-based Arduino applications.
Build a two-node CAN network with MCP2515 modules on the Simulink-on-arduino platform, using sensors and a seven-segment display in a model-based design workflow.
Learn to interface the MCP2515 CAN controller with an Arduino Uno via SPI, wiring the clock, MOSI, MISO, CS, and the CAN transceiver to form a CAN bus.
Learn the pin connections between the MCP2515 CAN controller and Arduino Uno, with essential pin mappings, and build transmitter and receiver Simulink models to transmit CAN data.
Learn to build a can transmitter module with Simulink and Arduino, reading four touchpad digital inputs and sending a 1-byte unsigned can message via spi.
Learn to use the can receiver block in Simulink to decode an 11-bit standard identifier, output raw data, and drive a seven-segment display via if blocks.
Explore hardware-in-the-loop testing, modeling the plant and controller in simulation, generating code, and validating with a real ECU in a lab car setup to test hardware, software, and CAN communications.
CAN protocol overview: Introduction to the CAN protocol, Overview of Reasons for the development of CAN Comparison of CAN with other serial communication protocols, ISO-OSI layers of CAN, CAN vehicle network Architecture, Features of CAN protocol, Frame formats of CAN
CAN physical layer: CAN nodes, CAN Bus voltage levels and node interfacing techniques, CAN bit timings and baud rate settings
CAN data link layer: CAN Bus arbitration, CAN Bus Fault Confinement
Hands-on Exercises on Real World System: Introduction to Cortex-M3, Online compiler Hands-On session for cortex-M3, Building CAN Transmitter node
Building a CAN Receiver node, Analysis of CAN data on desktop