Cypress技术william hill官网
直播中

李勇进

7年用户 231经验值
私信 关注
[问答]

怎么连接外部I2C设备

我有EZ-USB FX3超高速探索者工具包。我用SDK浏览和测试几个例子。我有一个带有I2C接口的小型OLED设备,我想用SCL—SDA引脚将设备与外部设备连接起来。如何连接和编程外围控制器使用OLED显示一些文本/图像?OLED设备我以前使用过ARDUNO,现在我想把显示设备和其他设备一起使用到FX3控制器。

以上来自于百度翻译


     以下为原文
  I have EZ-USB FX3 superspeed explorer kit. I browse and test several examples with the SDK. I have a small OLED device with I2C interface and I want to connect the device externally with the kit using SCL-SDA pins. How can I connect and program peripheral controller to use the OLED to display some text/image?
The OLED device I have used earlier with Arduino and now I want to use the display device along with other devices to FX3 controller.

回帖(3)

李月如

2018-11-8 15:15:34
您可以使用FX3 Explorer套件上的头销将I2C线连接到OLED显示器,并通过I2C发送来自FX3固件的命令。
谢谢
马纳斯

以上来自于百度翻译


     以下为原文
  You can use the header pins on the FX3 Explorer Kit to connect the I2C lines to your OLED display and send commands from FX3 firmware through I2C.
 
Thanks
Manas
举报

李勇进

2018-11-8 15:23:50
引用: wuerywds 发表于 2018-11-8 09:13
您可以使用FX3 Explorer套件上的头销将I2C线连接到OLED显示器,并通过I2C发送来自FX3固件的命令。
谢谢
马纳斯

感谢使用PIN通知。我将使用上拉寄存器来物理地连接设备。
我想要的SSD1306(FX3设备)的图书馆,所以我可以编程固件,并转移到超高速ExpReRoT工具包。
谢谢。

以上来自于百度翻译


     以下为原文
  Thanks to inform using pins. I will use pull-up register to connect the device physically.
I want the library of ssd1306 (for fx3 device) so I can program firmware and transfer into SuperSpeed Expolrer kit.
 
Thanks.
举报

刘辉

2018-11-8 15:31:36
引用: DDT6 发表于 2018-11-8 09:21
感谢使用PIN通知。我将使用上拉寄存器来物理地连接设备。
我想要的SSD1306(FX3设备)的图书馆,所以我可以编程固件,并转移到超高速ExpReRoT工具包。
谢谢。

你好,
我们不为SSD1306提供单独的库。如果这支持I2C从机,FX3应该能够与它通信。请参阅FX3SDK中的I2C示例固件代码。
当做,
-马杜

以上来自于百度翻译


     以下为原文
  Hi,
 
We do not provide separate libraries for the ssd1306. If this supports I2C slave, FX3 should be able to communicate with it. Please refer to I2C example firmware codes in FX3 SDK.
 
Regards,
- Madhu
举报

更多回帖

发帖
×
20
完善资料,
赚取积分