kimo128
Newbie level 1
Hello team,
I'm trying to communicate two devices using I2C protocol in assembly: PIC16f877A and AD5301.
I have simulated my assembly code in proteus 7.9 sp1 and it works fine but physically does not.
I thought it was my pcb but it isn't: I proved another program in CCS C language in the same pcb and componentes and it works very well, the DAC gives me voltaje values, etc.
This is very weird because I have prove that my physical stuff works fine with my program in C language but when I load the assembly code that works fine in simulation, it simply don't.
I would appreciate any help you can provide, thanks!!!
See attachments.
I'm trying to communicate two devices using I2C protocol in assembly: PIC16f877A and AD5301.
I have simulated my assembly code in proteus 7.9 sp1 and it works fine but physically does not.
I thought it was my pcb but it isn't: I proved another program in CCS C language in the same pcb and componentes and it works very well, the DAC gives me voltaje values, etc.
This is very weird because I have prove that my physical stuff works fine with my program in C language but when I load the assembly code that works fine in simulation, it simply don't.
I would appreciate any help you can provide, thanks!!!
See attachments.