Dear Sir / Madam,
I'm a new to this forum. Really need to solve my problem.
Please help me on it.
Thank you.
Lin
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.
Here is my original question:
(How to set the gpmc_ad14 (V13) pin of AM3358 to GPIO output low)
Hello there,
I want to set that pin low to turn on an onboard led during the SPL stage. Could you tell me how I can do it?
Someone told me to modify the mux.c file.
I modified it as below:
static struct module_pin_mux nand_pin_led[ ] = {
//{OFFSET(gpmc_ad14), (MODE(0) | PULLUDDIS | RXACTIVE) }, /* original AD14 setting */
{OFFSET(gpmc_ad14), (MODE(7) | PULLDOWN_EN) }, /* my modified AD14 setting */
{-1},
};
Then in the function void enable_board_pin_mux(void) I added:
configure_module_pin_mux(nand_pin_led);
But, the led on board doesn't response at all.
Is there anything wrong in my above code? Or do I miss anything?
Appreciate all kinds of input.
Thanks,
Lin