We want solution on AM275 ... kindly provide the fix on AM275
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.
We want solution on AM275 ... kindly provide the fix on AM275
Hi Ritapravo,
Please help the customer to configure GPIO using Sysconfig for AM275x.
Previous discussion is audio-am62d-evm-dio-output-configuration-in-sysconfig-tool-is-not-proper here.
Regards,
Tushar
Hi Ashik,
Thank you for your query. Can you please elaborate/describe the exact issue that you are facing?
Regards,
Ritapravo
kindly check the details here audio-am62d-evm-dio-output-configuration-in-sysconfig-tool-is-not-proper
Hi Ashik,
I am looking into it and will try to provide a resolution by the end of the day.
Regards,
Ritapravo
Hi Ashik,
The GPIO pin direction is set by GPIO_setDirMode() which is called GPIO_init() function. The GPIO_init() code was not generated by the sysConfig. So, the pin direction is not set beforehand and needed to be manually set. You can add the following change in {mcu_plus_sdk_folder}\source\drivers\.meta\gpio\v0_1\gpio_v0_1.syscfg.js to gpio_module -> templates part
templates: { "/drivers/system/system_config.h.xdt": { driver_config: "/drivers/gpio/templates/gpio.h.xdt", moduleName: gpio_module_name, }, "/drivers/system/system_config.c.xdt": { driver_config: "/drivers/gpio/templates/gpio_config.c.xdt", driver_init: "/drivers/gpio/templates/gpio_init.c.xdt", moduleName: gpio_module_name, }, "/drivers/pinmux/pinmux_config.c.xdt": { moduleName: gpio_module_name, }, },
This will include the GPIO_init() code to the auto-generated sysConfig files.
Regards,
Ritapravo
John,
Please make suare that this work around solution must be there in upcoming SDK /MCAL release july-Mid release
Hi Ashik,
A JIRA request has already been raised and is highly likely to be fixed in the upcoming release.
Regards,
Ritapravo