Can Linux application switch pin functions directly? Do I need to reboot the board?
Or do I need to change bootloader code to switch the pin functions?
the pin multiplexing circuit in TDA4 CPB(EVM) like below:
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
1) No runtime changing of pinmux.
2) You have incorporate the pin mux changes in dts file.
There is a pinmux tool to aid you for all that.
This is the pinmux tool which you can use to configure the PADCONFIG registers for any module. For ex: GPIO.
You need to pick the exact module instance and most importantly for each pin pick the ball correctly(Refer schematics for the exact ball number).
Then the pinmux tool itself is intelligent enough to generate the dts node for you in Linux.
Regards,
Keerthy