I2C based slave device register reading | Cypress Semiconductor
I2C based slave device register reading
I am reading a slave device register value of one byte in a infinite for loop using I2C block. the logic i am using is :
i am getting value of register in rd_Buff. this is working fine for some time but logic gets hangs at some place and my code is not running further. What may be the reason? I used debugger to check where the code is stoping. I found that when master is generating restart i get stuck for waitng.