Description
We want to get CSP working with CAN. Use this https://github.com/utat-ss/FINCH-CommandDataHandling/tree/main/2_FreeRTOS_CSP/Base_FreeRTOS_CSP project, and rewrite the receiver + sender to use CAN instead of loopback.
Tasks
- [ ] Run the above project.
- [ ] Connect CAN, and get it working.
- [ ] Ensure the same behaviour when using CAN.
Useful Link:
- CDH Code with FreeRTOS and CSP:
- CDH Code with FreeRTOS and CSP with loopback mode working:
- CAN Working without FreeRTOS or CSP:
Notes
Sep. 30, 2023
- Determined ASF4 implementation is not going to be helpful
- Instead, we will use the existing SocketCAN implementation as a scaffold
- This way, we're able to use our current high-level code with the abstract
csp_iface
struct
- We'll essentially have to recreate 1:1 the SocketCAN methods, but with HAL calls