Skip to content

Commit

Permalink
docs: add info on how to set different CAN interrupt pins
Browse files Browse the repository at this point in the history
Signed-off-by: Damiano Ferrari <[email protected]>
  • Loading branch information
dferrarigrowtech authored and agherzan committed Jan 26, 2024
1 parent 5138690 commit 9c901bf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/extra-build-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,13 @@ Some modules may require setting the frequency of the crystal oscillator used on

CAN_OSCILLATOR="8000000"

Configure the interrupt pin to the one connected to the CAN module. By default,
the pins are set to 25 for can0 and 24 for can1. To change them to 12 and 16,
the following variables also have to be set:

CAN0_INTERRUPT_PIN = "12"
CAN1_INTERRUPT_PIN = "16"

Tested modules:

* PiCAN2 (16 MHz crystal): <http://skpang.co.uk/catalog/pican2-canbus-board-for-raspberry-pi-23-p-1475.html>
Expand Down

0 comments on commit 9c901bf

Please sign in to comment.