Hopefully the title explains the issue... ;-)
I'm messing with the CAN interface on a Teensy 3.6 board.
I'm using the FlexCAN_T4 library with just the CAN0 interface:
I have a number of the digital pins setup as inputs and others as outputs.
The controller on the other side of the CAN interface sends commands that cause the Teensy to return the input states or set the output states.
The issue I found is that I cannot make digital pins 29 and 30 work as inputs.
Does this have something to do with an alternate usage of those pins being the CAN0TX/CAN0RX pins?
I have my CAN interface connected to the CAN0TX/CAN0RX digital 3/4 pins and the interface is working fine.
Is there something that must be done to "free" pins 29 and 30 for digital inputs?
Thanks
I'm messing with the CAN interface on a Teensy 3.6 board.
I'm using the FlexCAN_T4 library with just the CAN0 interface:
Code:
FlexCAN_T4<CAN0, RX_SIZE_256, TX_SIZE_16> can0;
I have a number of the digital pins setup as inputs and others as outputs.
The controller on the other side of the CAN interface sends commands that cause the Teensy to return the input states or set the output states.
The issue I found is that I cannot make digital pins 29 and 30 work as inputs.
Does this have something to do with an alternate usage of those pins being the CAN0TX/CAN0RX pins?
I have my CAN interface connected to the CAN0TX/CAN0RX digital 3/4 pins and the interface is working fine.
Is there something that must be done to "free" pins 29 and 30 for digital inputs?
Thanks