-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CAN0 Frequency issue #3
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The device tree seems does not considered the CAN0 clock source.
This makes the CAN to not run with the provided Device Tree after compilation of the debian kernel with the instructed docker.
this is a problem because when I set the CAN with the following command:
and the i bring the interface up with:
and the the ifconfig shows:
but after I send some bytes to my connected device using this command:
the can interface stops from running and in fact is not sending anything to the bus.
after running the cansend the if config shows this:
After lots of debug, I found the CAN0 is not set correctly in the DT.
on the original precompiled image from Octavo, I have this:
but on the debian image that I compiled with the provided device tree:
It seems the clock is not set correctly.
on the working image the clock is set to 24000000.
on the compiled image is set to: 74250000
When I run the following command on the image with the provided device tree:
shows:
while in the image provided in the octavo website, it shows:
Any suggestion how to fix this issue?
The text was updated successfully, but these errors were encountered: