This project provides a CAN (Controller Area Network) driver implementation for automotive applications. The CAN driver facilitates communication between various microcontrollers in a vehicle, enabling them to exchange data efficiently and reliably.
- CAN Initialization: Setup and configuration of CAN bus parameters.
- Message Transmission: Sending data messages over the CAN bus.
- Message Reception: Receiving data messages from the CAN bus.
- Error Handling: Detecting and managing errors in CAN communication.
- HCAN_Config.h: Configuration file for CAN settings.
- HCAN_Interface.h: Header file defining the CAN driver interface.
- HCAN_Private.h: Private header file for internal CAN driver details.
- HCAN_Program.c: Source file implementing the CAN driver functions.
- C compiler (e.g., GCC for ARM).
- Basic knowledge of embedded systems and CAN protocol.
- Clone the repository:
git clone https://github.com/mhmoudramadan/Automotive-Bus-Technology.git
Adjust the configuration parameters in HCAN_Config.h
to match your specific requirements for CAN communication, such as baud rate, message filters, and operating modes.
Contributions are welcome! Please submit pull requests or open issues to help improve this project.
This project is licensed under the MIT License - see the LICENSE file for details.