I2C Issue in MAC57D5xx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2C Issue in MAC57D5xx

325 Views
AS06
Contributor I

Hi All,

I am using MAC57D5xxEVB for my project purpose. Also an LCD touch display which is connected to the MAC57D5MB. The touch data will be send via I2c.

Now i am facing one issue in I2c driver of EVB. I am unable to set the slave address in IBDR register. During debugging I have tried to set the address but it is showing '0' every time. I set IBFD(frequency register) scale factor to get the clock frequency around 400KHz. By referring RM I got to know that all peripherals are using system clock only. (System Clock Divider 3 Configuration Register - Configured with division factor - 8, we are using PLL0 clock source).

Could you please guide me what will be the issue.

If possible please provide an example code for i2c.

 

Thanks in advance.

#I2C #MAC57D5xx @PetrS 

 

Labels (1)
0 Kudos
Reply
0 Replies