On Thu, 25 Sep 1997, Gavin Jackson wrote: > Hi there > > I am using a 74A for some async TX/RX and would like > to know what the best way of configuring BRGH is? > Either high speed or low speed as I understand that > there is a bug in one of the settings. > > I also wrote some code and ran it in the MPLAB > ver 3.22.02. The code is for the 74A is as follows: > > ORG 00H > BSF STATUS,RP0 > CLRF TRISA > CLRF TRISE > BCF STATUS,RP0 > BSF PORTA,0 > BSF PORTA,1 > BSF PORTA,4 > BSF PORTE,0 > END > > Non of these instructions seem to set the bits, > or that's what the simulator indicates. The only > bit which sets is Port A bit 4. Is it something to > do with their alternate functions? As far as I recall, Pin 4 on Port A is a voltage reference output for the A/D circuitry. I don't think you can set it. Someone else can clarify as i don't have my data book here. Rob > > Thanks in advance > > Gavin > vulcan@ihug.co.nz >