cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
2,188 Views
Registered: ‎06-04-2013

xiic_low_level_eeprom_example

I want to use the xiic_low_level_eeprom_example.c which is in the foder of the iic_v2_04_a\examples to test the IIC.but I find that it is still in the follow statement:

while ((StatusReg & XIIC_SR_BUS_BUSY_MASK) == 0) {
StatusReg = XIic_ReadReg(BaseAddress,
XIIC_SR_REG_OFFSET);

 

My  development board is SP605,and I have modify the macro EEPROM_ADDRESS as 0x54,and I don't want to use the intc,but I test the SDA and SCL pin on the EEPROM(U4),I find they don't have any change when I excute the start and the send function .

 

 

1 Reply
Highlighted
Visitor
Visitor
2,102 Views
Registered: ‎07-30-2013

Hi, I also have the same your problem !

It hangs in while loop

 

while ((TransmitComplete) || (XIic_IsIicBusy(&IicInstance) == TRUE))

But I don't know why ?

If you had sovle this problem, Please help me !!!!!!!!!

thanks you very much !

0 Kudos