Open MagnusThome opened 10 months ago
Hi Magnus, Thanks for the introduction. I already have my own boards now so I don't need additional C6 boards. I saw you have SD card slots in your board. Are u using it as a CAN data logger?
Nice looking board you have. What do you use the dipswitches for?
I made my C6 board mainly out of curiosity about the dual TWAI controllers plus a challenge I gave myself to make a really small board, and my first ever four layer board 🙂 My plan is to place one as MITM on the bus up to the instrument cluster to be able to show things, while on track, that are not available in the cluster normally. But just right now I don't have a car with a CAN based cluster 😅 SD slot is just a "good to have", never know what strange ideas I might come up with 😁 It was fun designing a reeeeally small housing for it to.
I can't find many more than us two that use the new handle based TWAI?
Dipswitch is to turn on/off CAN bus terminal resistor. Turn ON the board regardless of ignition signal, setup analog data CAN ID, etc. The main use case for my board is to read 5V analog input and send them to CAN for oil pressure data logging. I am not sure if you a following GR86/BRZ oil starvation issue https://youtu.be/4Jk5WTWoqt4 , he used my board (though a previous version) and I have a few friends also purchased my board for the same purpose. The board will copy car's CAN bus data to 2nd CAN bus, which connects to a dedicated CAN datalogger like AIM Solo DL2. And the analog data will only be sent to the 2nd CAN bus as well, leaving car's can bus untouched to avoid potential issues.
The dual CAN on ESP32C6 is quite useful, I am planning to use it to reverse engineer some CAN protocol on my car using MINT approach but I was too busy recently.
For dashboard, I used an off the self Lilygo S3 TDisplay module. It doesn't have a CAN transceiver but it has BLE, so I just use that to receive CAN data from my board. It works well for me.
I do have some plan to build a SoC platform based dashboard because most MCU+Display has too little memory and graphic libs like lvgl is too slow. The current candidate is Allwinner T113, which has 2 CAN bus and 128MiB ram. But bootstrapping it is way more difficult than just using a ESP32.
The ESP-IDF 5.2 is not yet released so I doubt there are a lot of people using it. And I think starting from ESP-IDF v5, the code quality is becoming worse. I might migrate to STM32G473 platform in the future.
We have a fun hobby :-D
@zeroomega
Email me at magnus@rejsa.nu if you want a RejsaCAN v6.0 board 👍
Some pictures https://github.com/MagnusThome/RejsaCAN-ESP32/tree/main/Code%20Examples/RejsaCAN%20v6.x%20-%20ESP32-C6%20-%20DUAL%20CAN%20self%20test