- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
请问:
客户使用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,为什么无法映射到其他端口,麻烦说明一下原因,谢谢!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
请使用API wiced_hal_i2c_select_pads(scl_i2c, sda_i2c) 配置I2C的引脚。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
这个API,我们试过,没有效果!是不是和WICED版本有,我们使用的WICED6.1.0.85?谢谢!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
我需要和FW team的人确认一下再回复你。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
好的,非常感谢!另外串口可以通过API随意映射,只是I2C有问题。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
目前已找到原因,是没有接上拉电阻导致。管脚都是开漏输出的。
非常感谢Owen!我们的疏忽导致的问题。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your sharing. I think it will be helpful with other users.