Hot!parallel communication in pic16f877A with MikroC

Author
ger@
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2018/04/08 07:13:54
  • Location: 0
  • Status: offline
2018/04/12 14:04:32 (permalink)
0

parallel communication in pic16f877A with MikroC

Hi,
i'm using a pic 16f887A with the AD667 wich need a parallel communication, i looked trough the datasheet of the pic and i'e configured the PORTD, TRISE, and the ADCON1 as indicated, but it did not work
here's the configurations i'am using:
  CMCON = 0x07;             // desable comparators
  ADCON1 = 0b00001111;     // configure all analogue pins to digital
  portd = 0xff ;
  PIE1.B7 = 0 ;             // The interrupt enable bit PSPIE
  PIR1.B7 = 0 ;            // The interrupt flag bit PSPIF
  TRISE = 0x10110111;      // active parallele mode
 
what am i missing??
#1

0 Replies Related Threads

    Jump to:
    © 2018 APG vNext Commercial Version 4.5