Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Ads

Discussion Groups

Discussion Groups | Piclist | I2C Bootloader

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

I2C Bootloader - probe2it - Sep 2 7:57:00 2002

Hi all,
I'm trying to write a I2C bootloader for my pic 16f876 project.
The original bootloader that i want to adapt is for the UART port
(and work without interrupt).
I've a lot of problem working with I2C without interrupt handler (by
reading only SSPSTAT and SSPBUF registers).
In particular my problem is that when i receive correctly the address
(correctly acknowleged), when I read SSPBUF address, the BF flag stay
high, so I cannot process next data byte. (Manuals say that when
SSPBUF is read BF flag go low).

Anyone have suggestions (or better a sample of I2C slave working good
without interrupt ?)

Thanks a lot.

Bob.




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )