EmbeddedRelated.com

Re: microchip's USART code..

Started by Ken Wilson in Piclist21 years ago 3 replies


I2C data line (SDA) goes low and hangs

Started by Basic Poke in Piclist16 years ago 2 replies

I have a PIC18F66J50 with a Microchip EEPROM on the I2C port. Sometimes when I program the MCU using MPLAB, the I2C data line (SDA) goes low...

I have a PIC18F66J50 with a Microchip EEPROM on the I2C port. Sometimes when I program the MCU using MPLAB, the I2C data line (SDA) goes low and stays there. Any read or write I then attempt results in a bus collision error and doesn't work. Here is the sequence of events: * cycle power to the MCU/EEPROM board * compile with MPLAB * program the target device with MPLAB. There is cha...


Problem in assembling

Started by chadalawadabalakrishna in Piclist16 years ago 9 replies

I use Microchip MPASM to assemble. But it doesn't accept keywords like PORTA etc. Kindly inform me if there is any error in the logic of...

I use Microchip MPASM to assemble. But it doesn't accept keywords like PORTA etc. Kindly inform me if there is any error in the logic of the program: #include ORG 00H MOVLW b'00000000' TRIS PORTB MOVLW b'00000011' TRIS PORTA MOVF PORTA,0 SUBLW 00000000 BTFSS STATUS,2 GOTO LOOP1 MOVF PORTA,0 SUBLW 00000001 BTFSS STATUS,2 GOTO LOOP2 MOVF PORTA,0 SUBLW 00


Need help to read 6 DIP switches on a single input

Started by ransom peek in Piclist20 years ago 5 replies

Need help to read 6 DIP switches on a single input Microchip

Need help to read 6 DIP switches on a single input Microchip