Commit Graph

6 Commits (071788de5652713b89085dd85f162c3f81b09109)

Author SHA1 Message Date
Rakshita 071788de56 fix: Address conventions and resolve MATLAB handler default issue
- Corrected naming conventions across modules for consistency.
- Fixed the issue where the MATLAB code was defaulting to the handler by initializing struct variables to zero.
- Improved CAN TX function for more reliable data transmission.
2025-01-23 16:31:22 +05:30
Rakshita b1fa1129af refactor: Improve CAN and UART handling, add documentation and checks
- Fixed UART speed inside handle and CAN speed inside handle for runtime configuration.
- Moved CAN filter setup inside the handle for more centralized control.
- Added documentation above functions for better readability.
- Included argument checks at function entry to ensure valid parameters.
- Added runtime checks to prevent memory corruption where values can change dynamically.
- Removed unnecessary `extern` declarations to improve code clarity.
- Fixed `vMCAL_MCAN_Tx()` to return success even if `if (sMcalTxFifoStatus_x.freeLvl)` fails.
- Removed unused functions to clean up the codebase.
- Fixed `xMCAL_VrefInit()` by calling vMCAL_SoftReset.
2025-01-20 15:20:15 +05:30
Rakshita 1c6fff8d24 refactor: Standardized naming conventions and improved CAN functionality
- Updated naming conventions in MCAL, ECU layers for UART and CAN, RTE, utils, and main modules.
- Applied CAN filters directly in the initialization function for better reliability.
- Restricted CAN reinitialization to bus-off errors only.
- Enhanced RX interrupt handling for CAN to improve performance and stability.
- Made updates to the CAN TX function for better data transmission.
- Updated TX functionality to replace buffer usage with queue-based implementation.
2025-01-17 18:00:45 +05:30
heezes a3ac0f2a1a fix: add bus ack error handling
- Add FC instead of 100% soc
2024-11-18 12:17:23 +05:30
Rakshitavecmocon 85a15dc97f feat: Implement UART to CAN and CAN to UART communication
- Implemented RX and TX functionalities for UART to CAN and CAN to UART
- Updated necessary layers to support seamless communication
2024-10-04 18:51:42 +05:30
Rakshitavecmocon c5e0c06a07 Initial commit 2024-09-26 18:52:04 +05:30