Author |
Message |
Topic: I2C Slave problems with a PIC18F6622 |
SB
Replies: 1
Views: 3066
|
Forum: General CCS C Discussion Posted: Thu Jan 24, 2008 8:54 am Subject: I2C Slave problems with a PIC18F6622 |
Just in case anyone is interested but I managed to fix my problem.
The i2c_isr_state() routine checks bit 0 of the SSP1BUF to see if it is a read or a write.
For some reason in the chip you have t ... |
Topic: I2C Slave problems with a PIC18F6622 |
SB
Replies: 1
Views: 3066
|
Forum: General CCS C Discussion Posted: Tue Jan 22, 2008 11:37 am Subject: I2C Slave problems with a PIC18F6622 |
I am using the Ex_slave.c example on a Pic18F6622 with a Diolan USB to I2C interface adapter.
I am unable to read from the Pic, the Diolan times out and reports that the Slave has dropped the SDA and ... |
Topic: Using Timer 3 & 4 to generate a PWM |
SB
Replies: 2
Views: 5283
|
Forum: General CCS C Discussion Posted: Thu Aug 17, 2006 10:13 am Subject: Using Timer 3 & 4 to generate a PWM |
Thank you, works perfectly now. |
Topic: Using Timer 3 & 4 to generate a PWM |
SB
Replies: 2
Views: 5283
|
Forum: General CCS C Discussion Posted: Thu Aug 17, 2006 9:46 am Subject: Using Timer 3 & 4 to generate a PWM |
I'm using a Microchip PIC18F8722 development board and want to generate 2 PWM signals at different frequencies.
I don't have any problem with using Timer 2 but am unable to get Timer 3 to work.
Belo ... |
Topic: 16F88 bootloader problem |
SB
Replies: 1
Views: 4933
|
Forum: General CCS C Discussion Posted: Thu Oct 13, 2005 8:27 am Subject: 16F88 bootloader problem |
I have looked at a selection of bootloaders (SparkFun Screamer, Tinybootloader, MicroCode Loader etc) all requiring the first 4 bytes to be a long jump to the start of my code. These all work fine whe ... |
Topic: Pic18f458 serial rate problem |
SB
Replies: 8
Views: 21268
|
Forum: General CCS C Discussion Posted: Mon Jan 19, 2004 7:49 am Subject: Pic18f458 serial rate problem |
Yes we are using a MAX232. We use this same design on another board using a 18F452 which works great at 115200 baud. |
Topic: Pic18f458 serial rate problem |
SB
Replies: 8
Views: 21268
|
Forum: General CCS C Discussion Posted: Mon Jan 19, 2004 7:28 am Subject: Pic18f458 serial rate problem |
I am using a bought serial cable and using..
#use rs232(baud=115200, xmit=PIN_C6, rcv=PIN_C7) |
Topic: Pic18f458 serial rate problem |
SB
Replies: 8
Views: 21268
|
Forum: General CCS C Discussion Posted: Mon Jan 19, 2004 6:09 am Subject: Pic18f458 serial rate problem |
Sorry I did mean to say 'garbaged' characters. |
Topic: Pic18f458 serial rate problem |
SB
Replies: 8
Views: 21268
|
Forum: General CCS C Discussion Posted: Mon Jan 19, 2004 5:06 am Subject: Pic18f458 serial rate problem |
Thanks for your suggestion but I get the same result using Teraterm so thats not it.
Also I don't have any problems with other baud rates which have greater error percentages. |
Topic: Pic18f458 serial rate problem |
SB
Replies: 8
Views: 21268
|
Forum: General CCS C Discussion Posted: Mon Jan 19, 2004 3:32 am Subject: Pic18f458 serial rate problem |
Does anyone know if I can run a PIC18F458 with a 20Mhz ocs at 115200 baud rate?
When I printf a sting I get lost characters when viewed with hyperterminal. |
|