Here are my questions:
Is it possible to to configure the signal CAN_TX
on the ball CAN0_DOUT as gpio “output”?
Note: Temporaryly, I want to generate a square wave from our CAN
transceiver to observe its Eye-Diagram for testing purposes.
Can I do that in run-time? Like:
sudo busybox devmem REG_ADDR 32 VALUE
I tried it with the following numbers:
sudo busybox devmem 0x0c303018 32 0x0000C059
Is it OK to calculate the GPIO number as:
GPIO3_PAA.02 -> ( 8 * 5) + 256 + 2 = 298
Actually, this is the result I got as the root user:
echo “298” > /sys/class/gpio/export
write error: Device or resource busy
Thank you and have a nice weekend.