完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我尝试在WICE Studio 6.1中运行SNIP.Hal.GPIO示例。
当我配置WICEDYP04作为GPIO,输出低,但始终保持高,电压仅下降到2.9V。 WICEDDYP04 @ PIN CONFIG是否为GPIO? 或者它被锁在内部作为另一个函数。 以上来自于百度翻译 以下为原文 I try to run snip.hal.gpio example in WICED Studio 6.1. When I config WICED_P04 as GPIO and output low, but it always keep high, the voltage only drop to 2.9V. Could WICED_P04@ pin config as GPIO? or it has been locked internally as another function . |
|
相关推荐
3个回答
|
|
|
是的,使用P4或P24作为GPIO存在一个问题。P4/P24/BTY-CKLY-Req是在同一个PAD上的PIN阻塞,默认情况下启用BTY-CKLY-Req,这就是为什么您不能使用P4或P24的原因。
我们会尽快解决这个问题。 以上来自于百度翻译 以下为原文 Yes, there is an issue with using P4 or P24 as a GPIO. P4/P24/BT_CLK_REQ are pin muxed on the same pad and the BT_CLK_REQ is enabled by default which is why you will not be able to use either P4 or P24. We will try to fix this issue as soon as possible. |
|
|
|
|
|
你好,
请将以下代码添加到项目的init部分中,以断开p24的内部连接。 关于定义CRYPADYFCNCCTLADADR40X33201B8 定义了ReG32(x)(*(易失性符号**)(x)) 未签名的Val= ReG32(CRYPADYFCNYCTLYADR4)和; RG32(CRYPADYFCNYCTLYADR4)=Val~(7和lt;lt;12); 以上来自于百度翻译 以下为原文 Hi, Please add the following code to the init part of your project to disconnect the internal connection of P24 . #define cr_pad_fcn_ctl_adr4 0x003201b8 #define REG32(x) (*(volatile unsigned*)(x)) unsigned val = REG32(cr_pad_fcn_ctl_adr4) & ~(0x0000F000); REG32(cr_pad_fcn_ctl_adr4) = val | (7 << 12); |
|
|
|
|
|
嗨,伊苏, 谢谢你的回复。 你好,ZHXH, 是的,它有效。我可以控制P4引脚作为GPIO。 谢谢您。 以上来自于百度翻译 以下为原文 Hi yssu, Thanks for your response. Hi zhxh, Yes, it works. I can control P4 pin as GPIO. Thank you. |
|
|
|
|
只有小组成员才能发言,加入小组>>
786个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7102 浏览 0 评论
2477 浏览 1 评论
2166 浏览 1 评论
4031 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2074 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7592浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6141浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
742浏览 2评论
710浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
7987浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-3 12:14 , Processed in 0.700988 second(s), Total 76, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2153