McCVIEW:V3.36MPLAB X版本:V4.00 OS:Windows 10 Pro Cube:GUI(或生成代码)设备:PIC32 MM0256GPM028在MCC的最新版本中,PIC32 MM0256GPM028设备,PIN号20可用作配置的RB12。然而,在数据表中,该PIN被定义为USB外围设备。AL
电源引脚,不能用作GPIO引脚。PIN应该根据数据表被绑定到VDD3V3或GND。因此,在MCC中,这个引脚作为RB12的可配置性是错误的。亲切的问候,汉斯。
以上来自于百度翻译
以下为原文
MCC version: v3.36
MPLAB X version: v4.00
OS: Windows 10 Pro
Area: GUI (or Generated Code)
Device: PIC32MM0256GPM028
In the latest version of MCC, with the PIC32MM0256GPM028 Device, pin number 20 is available as RB12 for configura
tion.
However, in the datasheet, this pin is defined as the USB peripheral supply pin, and can not be used as an GPIO pin.
The pin should be tied toi VDD3v3 or to GND according to the datasheet.
As such, it seems that the configurability of this pin as RB12 in the MCC is a mistake.
Kind regards,
Hans