Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB superspeed peripherals Forum Discussions

liuzhengxiang
Level 4
Level 4
25 replies posted 25 sign-ins 10 replies posted

你好,咨询一下,我看你们系统关于GPIO配置作为输出口时,用的函数是CyU3PDeviceGpioOverride,CyU3PGpioSetSimpleConfig,CyU3PGpioSetValue,在配置参数里CyU3PGpioSimpleConfig_t的结构里,没有看到此io口是否可以配置内部上拉或下拉电阻。请为cx3的io口没有内不上拉电阻或下拉电阻吗?我们设计电路时必须自己考虑外部上拉下拉来提升驱动能力吗?

0 Likes
1 Solution
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

请查看FX3 TRM

YiZ_31_0-1619322870016.png

 

View solution in original post

0 Likes
5 Replies
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

请查看FX3 TRM

YiZ_31_0-1619322870016.png

 

0 Likes

你这个截图的资料文件时啥,可以发我一下吗?

0 Likes
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

FX3 TRM可以在FX3 SDK中找到

0 Likes

假如我要把GPIO44 脚设置为下拉并把驱动加到最强,如下设置就可以了吧?

CyU3PGpioSetIoMode(44,CY_U3P_GPIO_IO_MODE_WPD);
CyU3PSetGpioDriveStrength(CY_U3P_DS_FULL_STRENGTH);

0 Likes
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

可以的

0 Likes