Replies: 8 comments 18 replies
-
Beta Was this translation helpful? Give feedback.
-
Now to your questions:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Now we can answer the 2nd part of your question with the EM2 schematics:
|
Beta Was this translation helpful? Give feedback.
-
According to my latest test with "STP" branch I report following :
When Osci connected to A side - strange signal detected.
Note : This is the way I controlled i2c side selector switches. By default all switches are initialized with HIGH state. Which corresponds to ENABLED. If switch at B side is switched to LOW - LPC_I2C2 on B side stops working completly ( which is what I expected, thus B switch seem to be working correctly ?) P.S - No Idea what elso to experiment regarding that. Need an advice. |
Beta Was this translation helpful? Give feedback.
-
Also please note : according to EM schematics - there should be pull up resistors integrated within OBC for I2C lines. However .... If I just connect SDA, SCL lines from OBC to arduino - nothing works. I had to place those 4.7k resistors on ARDUINO side in order to achieve results described above. !!! In my understanding (based on what I googled) for the whole I2C line (all devices) there should only be one pair of pull up resistors. So what is wrong here ? why connecting dirrectly SDA, SCL ( and GROUND ARDUINI - GROUND OBC) did not worked without pull up resistors on arduino side ? |
Beta Was this translation helpful? Give feedback.
-
ok
Do you have the same issue on side C/D (i2C0) ? |
Beta Was this translation helpful? Give feedback.
-
Image above is the CORRECT signal on B side with LPC_I2C2 Blue line is SDA arduino address is decimal 57. Message is "OBC_hello" With the same code setup I reconnect to A side. And get a "strange signal" Nothing on a SDA line. And some strange stuff at SCL |
Beta Was this translation helpful? Give feedback.
-
I want to write a function that will send data over i2c into arduino for a test.
How should I know which freequency to use ?
LPC_I2C0
LPC_I2C1
LPC_I2C2
LPC_I2C3
???
Can you please tell which side (X+, X-,Y+,Y-) correspond to which LPC_I2C* device ?
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 ?
Beta Was this translation helpful? Give feedback.
All reactions