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.

TMS570LS3137: 关于GIOB[2]的管脚复用问题

Part Number: TMS570LS3137

在查看Technical Reference Manual时,4.3.2里有如下说明:

可见对于GIOB[2]的输入复用,Control Register Bit A=Control Register Bit B=PINMMR29[16]

经判断,无论该bit是1还是0,公式   A and not(B)  恒等于 = .FLASE

                                               公式   not(A) or (A and B) 恒等于 = TRUE

就是说无论PINMMR29[16]是1还是0,GIOB[2]都选中了 F2 管脚?

又看到4.6那个复用表格有如下:

对比TMS570LS3137的数据表,可以确定PINMMR9[16:23]这个字节就是控制V10这个管脚的复用的。那么,只要 PINMMR9[17] 置1,V10就复用为GIOB[2];只要 PINMMR9[17] 置0,即V10复用为别的功能,根据前面的分析,GIOB[2]就使用F2管脚。也就是说,GIOB[2]是使用F2还是V10, 取决于 PINMMR9[17] ,而 PINMMR29[16] 无影响。我的理解对吗?