检查一下代码里有相应的pinmux设置没有。
http://processors.wiki.ti.com/index.php/Main_Page
Think Over Before Asking. http://www.catb.org/~esr/faqs/smart-questions.html#goal
我建议再检查一下硬件连接是否正确。代码好像没什么问题。
http://processors.wiki.ti.com/index.php/Main_Page
Think Over Before Asking. http://www.catb.org/~esr/faqs/smart-questions.html#goal