PIC16F877A & AD5301 using I2C protocol in assembly

Status
Not open for further replies.

kimo128

Newbie level 1
Joined
Oct 8, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
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.
 

Attachments

  • i2c_ccs.txt
    814 bytes · Views: 43
  • i2c_assembly.txt
    2.3 KB · Views: 53
  • proteus.JPG
    103.7 KB · Views: 50

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…