Skip to content
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

Confusing/wrong uio_id_str in uio-can-example.c #3

Open
tstana opened this issue Oct 13, 2023 · 0 comments
Open

Confusing/wrong uio_id_str in uio-can-example.c #3

tstana opened this issue Oct 13, 2023 · 0 comments

Comments

@tstana
Copy link

tstana commented Oct 13, 2023

The CAN example code on this repository seems to use the wrong CAN peripheral. Steps to replicate:

  1. L126 of the code indicates it should be the CAN peripheral at address 2010c000 that this code should be addressing;
  2. according to the register map, CAN_A should be at address 0x2010 C000
  3. adjusting your example code to employ Normal mode (instead of the default Loopback) and connecting it to an external USB2CAN dongle, the code accesses CAN2, J27 on the MPFS-ICICLE-KIT -- not CAN1!

As far as I can tell, this is either an issue with the code, or somewhere in the documentation (CAN_A/B to CAN1/2 mapping, or schematics).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant