RobertK66 / obc_1769_core

Implements hardware abstractions and Layer2(3) modules for usage of the OBC hardware in cubesat projects
GNU General Public License v3.0
1 stars 1 forks source link

I2C #22

Closed kodsurf closed 2 years ago

kodsurf commented 2 years ago

image

I want to write a function that will send data over i2c into arduino for a test.

1) image

How should I know which freequency to use ?

2)
image

LPC_I2C0 LPC_I2C1 LPC_I2C2 LPC_I2C3

???

Can you please tell which side (X+, X-,Y+,Y-) correspond to which LPC_I2C* device ?

3) I also remember that LPC_I2C devices should be switched ??? depending on which side we indent to use.

Please explain it again here in issues. How to select which I2C side on OBC (X+,X-,Y+,Y-) should be used and how to switch it ?

kodsurf commented 2 years ago

Extremely simple arduino code to receive transmitted data image

Extremely simple arduino to transmit

image

Works well between 2 arduino nano if connected as

image

For OBC I should also use 4.7k resistor ? ( without resistors nothing works)