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.

请教一个很奇怪的问题:TM4C129ENCPDT的PB0为什么输出不了3.3V电压呢???



配置成输出模式:

ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB);

ROM_GPIOPinTypeGPIOOutput(GPIO_PORTB_BASE, GPIO_PIN_0);

ROM_GPIOPinWrite(GPIO_PORTB_BASE, GPIO_PIN_0,GPIO_PIN_0);

但是发现输出的电压只有1V左右;(这是为什么???)

其他IO口也是这样配置的都能输出3.3V的电压为什么只有PB0不可以呢?查遍了手册没有发现PB0有什么特殊的。。。

然后我提高了下输出功率:

GPIOPadConfigSet(GPIO_PORTB_BASE, GPIO_PIN_0, GPIO_STRENGTH_12MA, GPIO_PIN_TYPE_STD_WPU);

添加这一句之后能输出2.3V左右的电压;

请大家不吝赐教!!!