I'd just looked at the summary of GPIO usage for DAC+. The text says:CAN_0 -> CE0 -> INT_0=D25 has always worked for me in modes A and B. The problem always is CAN_1.
If you're not using the IR sensor or rotary encoder options, then yes you can most likely use GPIOs 23-25 for the CAN HAT and not have to change INT_0 (default GPIO25) or INT_1 (default GPIO24).You can use GPIO25 to connect an IR sensor and GPIO23/24 for a rotary encoder. Both of these parts are optional, but are broken out on the Pi-DAC+ for convenient access.
You will have to use single SPI mode otherwise you clash with the I2S interface. The chip select for CAN1 then becomes GPIO7.
As a further option, leave the third A/B mode pad on A for CE_1, and then "CAN 1 Pin selections" options SPI1_CE1 (GPIO17), SPI1_CE2 (GPIO16) become usable.
Statistics: Posted by 6by9 — Wed Jan 22, 2025 9:32 am