Author |
Message |
Topic: write a 64K xmodem file to a 24c512 using i2c on a PIC16F690 |
antiwingates
Replies: 1
Views: 3801
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 11:13 am Subject: write a 64K xmodem file to a 24c512 using i2c on a PIC16F690 |
Hi folks.
I am not able to do a full write of a 64KB .bin file of a 24c512 i2c eeprom using a XMODEM 128 protocol.
Write work fine until 0x2000h (8192bytes) address, the pic hang-up.
If i comment ... |
Topic: using i2C and PWM at the same time in 16f876 |
antiwingates
Replies: 8
Views: 10028
|
Forum: General CCS C Discussion Posted: Wed Jun 09, 2010 6:11 am Subject: Same problem |
I did the TRIS by the compiler, remove the FAST_IO.
Same problem. No good results
The only thing that i think is to change to another pins of other port and read ext_eeprom, to check the result. ... |
Topic: using i2C and PWM at the same time in 16f876 |
antiwingates
Replies: 8
Views: 10028
|
Forum: General CCS C Discussion Posted: Wed Jun 02, 2010 10:00 am Subject: i'm wrong |
Yeap, you're right.
I've change my code to generate using a table a sinewave, and that's works great.
see code:
void speech (void)
{
unsigned int sample=0;
unsigned int data=0 ... |
Topic: using i2C and PWM at the same time in 16f876 |
antiwingates
Replies: 8
Views: 10028
|
Forum: General CCS C Discussion Posted: Tue Jun 01, 2010 4:09 am Subject: Here my code |
The goal it's read each byte of a sinewave waveform using i2c and send to the CCP1 to generate an analog waveform.
#int_timer2
void temporizador1()
{
if (contador) contad ... |
Topic: using i2C and PWM at the same time in 16f876 |
antiwingates
Replies: 8
Views: 10028
|
Forum: General CCS C Discussion Posted: Mon May 31, 2010 9:48 am Subject: using i2C and PWM at the same time in 16f876 |
Hi Folks.
I'm using the 24c256 code library to read an external eeprom to perform a DAC using the PWM port on RC2 and RC3.
Very disapointed. i can't use them at the same time 'cause, change base ... |
|