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.

DM3730的uboot中怎样控制GPIO口



各位老师

               您们好,我想问问在uboot中怎样控制GPIO口呢?我在我的uboot文件中想对GPIO口进行控制,想让GPIO13输出高电平已经将GPIO13管脚的模式配置成了gpio模式,我在u-boot-03.00.02.07/board/timll/devkit8500/devkit8500.c文件中添加如下代码:

              omap_set_gpio_direction(13,0);

              omap_set_gpio_dataout(13,1);

但为什么在板子上还是输出的是低电平呢?

  • 你现在做的咋样了,哈哈,你那个什么电源,还有什么PSC什么的,没有配置,具体我也不懂,一年过去了,估计你做好了吧,给小弟也指导下,呵呵,谢谢,收到信息请回复下,谢谢