-
I am currently developing a board with the ATSAME51J19A as soc and I am facing a problem with the activation of the can bus. I have added can0 and can1 to the soc in the .dts file. The same error occures when compiled for the atsame54_xpro with the babbling sample. Now I get the following warning/error:
Here are some additional information to this case
Steps to reproduce the behavior
Expected behavior Impact Logs and console output
Environment (please complete the following information):
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
Hi @DomiHive! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
-
I have removed the bug label as CAN is not yet supported on this SoC. |
Beta Was this translation helpful? Give feedback.
-
I am not familiar with these SAME5x Socs and neither about the difference to the currently only SoC (SAME70) that has been tested with the
|
Beta Was this translation helpful? Give feedback.
-
Related PR: #60425 |
Beta Was this translation helpful? Give feedback.
-
@DomiHive Any luck with the |
Beta Was this translation helpful? Give feedback.
-
Hi together, At first I had to get the .dts file correct. The following one worked for my configuration. The correct interrupt pins and the correct clocks can be found in the datasheet.
Additional I had to add the correct pins to the .dtsi file.
At last step I also had to add the correct initialization of the clock in the zephyr/drivers/can/can_sam0.c file. I added the config for the same51.
|
Beta Was this translation helpful? Give feedback.
Hi together,
I have finally solved all problems and got the CAN-Bus to work as expected. Here are the things that needed to be changed.
At first I had to get the .dts file correct. The following one worked for my configuration. The correct interrupt pins and the correct clocks can be found in the datasheet.