Tool/software:
Hi Expert,
customer can't using MCU to control main gpio. I will let customer upload their code later.
BR,
Biao
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 Expert
Here is my configuration and code




I execute a timer callback function every 130ms, pulling the corresponding pin up for 3ms and then down. However, when measuring with an oscilloscope, I did not detect any waveform and the waveform remained at a low level.
BR,
Huang
Dear customer,
Could you please use the below script to dump the register by MCU_R5F after the application runs?
/cfs-file/__key/communityserver-discussions-components-files/791/AM62A_5F00_gpio.gel
Regards,
Linjun
Dear customer,
After you configured the GPIO0_77, please add the code to .mcu_plus_sdk_am62ax_xx/examples/drivers/boot/sbl_*/sbl_*/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_pinmux_config.c variable "gPinMuxMainDomainCfg" accordingly. Thanks.
Linjun
Hi Linjun
Yes, after configuring CCS, the compilation will generate the corresponding code in ti_pinmux_config. c. I just conducted an experiment using other pins for testing, and the configuration of other pins will also take effect. The only difference is that I can control the pins of the MCU Domain normally, but the pins of the MAIN Domain, such as Y16 (GPIO0_77), cannot be activated when I perform pull-up and pull-down operations on them
BR,
Huang
Dear Mr. Huang,
As to the GPIO PADCONFIG register can only be write by DM-R5F core, the application you are using is on MCU domain R5F, it can't modify the PADCONFIG register as expected. Please configure all the GPIOs in sbl code function Pinmux_init. Thanks.
Regards,
Linjun