I2c Issues

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

We are using the CYBLE-022001-00 module, and attempting to communicate via I2c with the module being a slave. We can not get a response from the module. 

   
        
  • Using ports P5.0 and P5.1
  •     
  • Clock and Data signals look good to the module
  •     
  • Have tried all available settings for SCB block including 100 and 400khz as well as both fast and slow skew
  •    
   

Looking for suggestions.

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Just discover a typo in my last post.

   

I am talking about UDB and SCB components. For your configuration: you may use port 3 or port 5, whatever you like. No known issues.

   

 

   

Bob

View solution in original post

0 Likes
11 Replies
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received
        Did you use pull up resistors on the I2C lines?   
0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is a  example for I2C Slave. There is a PDF that explains the program in the Program files.

0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is the example with your device.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Hi William Fisher, 

Do you use CYBLE-022001-00 EVAL board to test I2C ? 

0 Likes
Anonymous
Not applicable

As a follow up, is there any issues using ports 5_0 and 5_1 for I2c as opposed to other ports such as 3_0 and 3_1?

0 Likes
Anonymous
Not applicable

I am experiencing the exact same problem that you were with P5.0 (I2C_SDA slave) and P5.1 (I2C_SDA).  All waveforms look good.  The device does not ACK a slave address of 0x08 (7-bit) or 0x10 (8bit).

This post indicates that the issue is Answered.  However, there is nothing supplied here by anybody that answered your original question about P5.0 and P5.1 being used on the CYBLE-022001-00 in conjunction with an SCB configured as either an EZI2C slave or an I2C slave.

Did you get this to work on these pins?  IF so, how?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

@William

   

That depends. An USB-based component cannot be routed to port 5, but an SCB based can use port 5.

   

Both component types may use port 3.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

We are using the SCB_1 component configured for the slave mode.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Just discover a typo in my last post.

   

I am talking about UDB and SCB components. For your configuration: you may use port 3 or port 5, whatever you like. No known issues.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

One of the issues I am still trying to solve on the current project is with the CYBLE-022001-00 module controlling a Linear Tech DAC via I2c. A button press on the device will trigger various analog levels on the DAC.

   

Is it possible to use the Bridge Control Panel to control the module and send commands via I2c to the DAC?

0 Likes