Commit Graph

62 Commits (e3bdc83387a1ac012eacfddf43974ca4fad0d8cd)

Author SHA1 Message Date
Rakshitavecmocon 4a623a0def fix: can baudrate change from 250 to 500 2024-10-27 23:34:20 +05:30
Rakshitavecmocon 03c4f12a70 fix: command some line 2024-10-24 14:32:21 +05:30
Rakshitavecmocon ce790d74b1 feat:: changed UART pins to PA8 and PA9, switched to UART1 in new branch, removed some comments 2024-10-23 17:34:45 +05:30
Rakshitavecmocon bfabca4b6d feat: Add runtime CAN baud rate change based on UART packet mode
- Implemented functionality to change the CAN baud rate at runtime if the received UART packet has mode set to one.
2024-10-17 16:26:33 +05:30
Rakshitavecmocon 9b2c2312cb feat: Add runtime UART baud rate change based on received packet mode
Implemented functionality to change UART baud rate at runtime if the received packet has mode set to zero.
2024-10-17 13:10:51 +05:30
Rakshitavecmocon 01b847661b fix: Correct CAN RX interrupt to handle extended IDs 2024-10-16 19:04:15 +05:30
Rakshitavecmocon c9482f46bb fix: Correct CAN RX interrupt to handle extended IDs and remove CAN filters
- Fixed the MCAL layer of CAN where RX interrupts were discarding extended IDs and only processing standard IDs.
- Removed CAN filters from the CAN configuration to allow better reception of all messages.
2024-10-15 21:15:22 +05:30
Rakshitavecmocon 9599f1630c feat: Implement SysTick for UART reception and enhance CAN MCAL layer
-Replaced timer-based UART data reception with SysTick timer implementation.
- Modified the UART interrupt handler to manage interrupts effectively.
- Updated MCAL layer for CAN to ensure proper handling of FIFO in RX interrupts.
- Corrected the deinitialization function in the MCAL layer of CAN.
- Implemented a handler for managing lastErrCode in CAN interrupts.
- Removed all debug print statements and unnecessary CAN filters to clean up the code.
2024-10-15 16:10:03 +05:30
Rakshitavecmocon 5b88394f22 fix: Update clock configuration and UART/CAN settings
- Corrected clock configuration according to HFXT
- Set UART baud rate based on HFXT clock
- Configured CAN timing according to DL_MCAN_FCLK_HFCLK
2024-10-10 18:39:44 +05:30
Rakshitavecmocon 17131c3a34 fix: Implement error handling for CAN 2024-10-07 18:32:06 +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