dspic30f2010中的I2C编程 [英] I2C Programming in dspic30f2010

查看:114
本文介绍了dspic30f2010中的I2C编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

我是I2C编程的新手。但我想通过I2C协议中的一个主M / C访问两个控制器。请帮我,我该怎么办。

My dear,
I am new in I2C programming. But I want to access two controllers through one master M/C in I2C protocol.Help me please how do I do it.

推荐答案

无法回答在这里简短。您需要微控制器和I2C设备的数据表。许多器件制造商(如控制器的Microchip)都有关于将I2C总线与其器件一起使用的其他应用笔记。您还应该阅读 I2C总线规范和用户手册 [ ^ PDF ]。另一个很好的在线资源是 http://www.i2c-bus.org/i2c-bus/ [< a href =http://www.i2c-bus.org/i2c-bus/target =_ blanktitle =New Window> ^ ]。



如果您对某些代码有特定问题,可以在此处提出。但您可能会在Microchip论坛中获得更好的帮助。
That can't be answered in short here. You need the data sheets of your micro controller and the I2C devices. Many device manufactureres (like Microchip for your controller) have additional application notes about using the I2C bus with their devices. You should also read the The I2C-Bus Specification and User Manual[^ PDF]. Another good online resource is http://www.i2c-bus.org/i2c-bus/[^].

If you have a specific problem with some code you may ask this here. But you probably get better help in the Microchip forums.


阅读:


这篇关于dspic30f2010中的I2C编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆