I2C Issue in MAC57D5xx

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I2C Issue in MAC57D5xx

326 次查看
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 

 

标签 (1)
0 项奖励
回复
0 回复数