20719 LHLGPIO

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

cross mob
Eric_wang
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

请问:

       客户使用20719 I2C接口,发现除了映射到P25和P29管脚,通过super MUX映射到其他端口都无法使用。

       看资料介绍:

       LHL GPIOs are different from Arm GPIOs in few ways. LHL GPIOs can operate in low power modes and support mux-able peripherals, whereas Arm GPIOs can operate only in active mode with limited functionality. The functionalities that can be brought out to LHL I/Os are I2C, SPI, PUART, ACLK., and so on

    如果20719有16个GPIO支持LHL,为什么无法映射到其他端口,麻烦说明一下原因,谢谢!

0 Likes
1 Solution
Eric_wang
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

目前已找到原因,是没有接上拉电阻导致。管脚都是开漏输出的。

非常感谢Owen!我们的疏忽导致的问题。

View solution in original post

6 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

请使用API wiced_hal_i2c_select_pads(scl_i2c, sda_i2c) 配置I2C的引脚。

0 Likes

这个API,我们试过,没有效果!是不是和WICED版本有,我们使用的WICED6.1.0.85?谢谢!

0 Likes

我需要和FW team的人确认一下再回复你。

0 Likes

好的,非常感谢!另外串口可以通过API随意映射,只是I2C有问题。

0 Likes
Eric_wang
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

目前已找到原因,是没有接上拉电阻导致。管脚都是开漏输出的。

非常感谢Owen!我们的疏忽导致的问题。

Thanks for your sharing. I think it will be helpful with other users.

0 Likes