PIC18f4520 I2C module interfacing problems..need urgent help

Status
Not open for further replies.

ALIARIF93

Junior Member level 1
Joined
Jun 24, 2012
Messages
15
Helped
0
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
1,421
Hello,
does anyone know any site related to I2C module explanation in PIC 18f4520?I want to contr
 

Hello ALIARIF93, you can find the explanation of use of the I2C bus, for PIC18F4520 in the datasheet on page 170.

Greetings!
 

Thanx...But datasheet did'nt explain it with examples...
any other link??
 

Hello ALIARIF93, examples depend on the programming language you are using and the device you are communicating with the microcontroller. Normally, in the datasheets of the device to which you want to communicate, there is the protocol to use. Which compiler are you using and which device you want to communicate?

Greetings!
 

i'm using IMU module with PIC18f4520 with I2C module using MPLAB C18 compiler!!!!!
 

Hello ALIARIF93, unfortunately I don't use MPLAB C18 and therefore I can't help you. Normal in the modules that communicate via I2C, is to see the command sequence in the datasheet for the device, and transfer this information to the programming language you are using. Anyway, for someone else can help, you would post the site where to find the datasheet of the IMU module you are using, because it appears many different IMU modules searching in Google.

Greetings!
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…