Open Jamos1988 opened 1 year ago
Hi Jamos,
I can imagine it is not really built for the rk3566 but rather the ones that are in the Rock5B. So, naturally the SPI or CAN overlay is not present in the overlays I can choose so I need to make my own.
This is because we haven't release an image for CM3 IO yet, so the testing team did not have a chance to validate various overlays to be compatible with this product.
So far I have found someone with a Radxa Zero, which has an rk3566 inside, that created a custom .dts
Radxa Zero doesn't use RK3566. However, we do have a MCP2515 overlay for ROCK 3C, which uses RK3566.
Thanks! I have tried the overlay you suggested by doing the following:
I then tested if SPI was enabled, by the following command:
lsmod | grep spi
However, nothing appears. Anything I missed?
Thanks in advance.
Also tried by choosing another file format .dts however this is an invalid format.
That overlay is for ROCK 3C over SPI3. You will need to adapt it to your own board.
I am trying to enable SPI on the CM3. The software image I am using has rsetup, so the overlays are managed there. I can imagine it is not really built for the rk3566 but rather the ones that are in the Rock5B. So, naturally the SPI or CAN overlay is not present in the overlays I can choose so I need to make my own.
Specifically I am trying to enable the MCP2515 (which is present on the Waveshare CanHat) and I have found some online sources of people trying to do the same. So far I have found someone with a Radxa Zero, which has an rk3566 inside, that created a custom .dts
https://forum.radxa.com/t/mcp2515-overlays-for-zero/12409 and https://forum.radxa.com/t/how-to-use-canbus-on-zero-mcp2515/11601/7
I was wondering if this would be my go-to approach. Anybody enabled the MCP2515 on the CM3, I would love to hear from you guys.