-
OPENDRAIN_MODE上拉
使用MS51PC0AE芯片,3.3V供电。将P3.3设置为[size=14px]P33_OPENDRAIN_MODE,外接2k上拉电阻到12V,只能上拉到4.2V[/size]
2799浏览量 9回复量 关注量 -
编译问题
C:\Users\Administrator\AppData\Local\Arm\Packs\Keil\MDK-Middleware\7.10.0\emWin\Sample\GUI_X\GUI_X_RTE.c(48): error: #5: cannot open source input file "cmsis_os.h": No such file or directory
1379浏览量 1回复量 关注量 -
imx6 driver->suspend sos
imx6在使用时,编译的内核发现i2c系统好像没起来,内核部分打印信息如下[align=left]mc_pfuze 1-0008: recv failed!:-5,80 [/align][font=等线][size=10.5pt]mc_pfuze: probe of 1-0008 failed with error -1[/size][/font] [font=等线]上两句好像是电源问题[/font] [align=left]i2c-core: driver [isl29023] using legacysuspend method [/align][font=等线][size=10.5pt]i2c-core: driver [isl29023] using legacy resumemethod[/size][/font] [font=等线][size=10.5pt]查了i2c-core源码如下[/size][/font] [font=等线][size=10.5pt] [/size][/font][font=等线]if (driver->suspend)[/font] [font=等线] pr_warn("i2c-core: driver [%s] using legacy suspend method\n",[/font] [font=等线] driver->driver.name);[/font] [font=等线] if (driver->resume)[/font] [font=等线] pr_warn("i2c-core: driver [%s] using legacy resume method\n",[/font] [font=等线] driver->driver.name);[/font] [font=等线]想问一下什么情况下这个[/font][font=等线]driver->suspend、[/font][font=等线]driver->resume会生效,他生效代表什么意思[/font]
1379浏览量 0回复量 关注量