Author |
Message |
Topic: PIC24/dsPICĀ® Compiler Comments |
picer
Replies: 36
Views: 127569
|
Forum: General CCS C Discussion Posted: Tue Dec 09, 2008 9:38 am Subject: PIC24/dsPICĀ® Compiler Comments |
My question was from Dec 02, the non response (especially from ccs) made my decision for me. ah well... |
Topic: Odd behavior in while loop (I2C comms) |
picer
Replies: 4
Views: 7489
|
Forum: General CCS C Discussion Posted: Tue Mar 15, 2005 9:43 am Subject: Odd behavior in while loop (I2C comms) |
As someone said before
It seems to me like your I2C receive routine is not working the way you expect it to. We can't check this because you didn't post your I2C routines....
Understand, my [spam] ... |
Topic: Odd behavior in while loop (I2C comms) |
picer
Replies: 4
Views: 7489
|
Forum: General CCS C Discussion Posted: Tue Mar 15, 2005 8:01 am Subject: Odd behavior in while loop (I2C comms) |
I2C seems to be working without issues with single byte transfers, I can cycle 0-100% duty (pushing other button) and it never misses a beat. My master code right now does not resend if it misses com ... |
Topic: Odd behavior in while loop (I2C comms) |
picer
Replies: 4
Views: 7489
|
Forum: General CCS C Discussion Posted: Mon Mar 14, 2005 8:11 pm Subject: Odd behavior in while loop (I2C comms) |
I'm trying to send the freq to a pic at startup via I2C so that I can have selectable freq. After it gets this freq it then gets the duty cycle (freq stays the same during operation). Here's where it ... |
Topic: One more I2C |
picer
Replies: 7
Views: 12179
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2005 11:13 am Subject: One more I2C |
And I'm now using 877a as master and 819 as slave since the datasheets seem to indicate the 819 is slave I2C only, maybe that was my original problem with I2C comms so I'm now at the point of trying t ... |
Topic: Who wants I2C master/slave code |
picer
Replies: 20
Views: 33259
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2005 11:09 am Subject: Who wants I2C master/slave code |
I am very very interested in making I2C work, please review http://www.ccsinfo.com/forum/viewtopic.php?t=22031
I think I'm getting into the area that your talking about with error handling, etc bu ... |
Topic: One more I2C |
picer
Replies: 7
Views: 12179
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2005 8:05 am Subject: One more I2C |
sspcon is being set properly without adding the sspcon line. It posted my responce as guest  |
Topic: One more I2C |
picer
Replies: 7
Views: 12179
|
Forum: General CCS C Discussion Posted: Mon Feb 28, 2005 8:41 am Subject: One more I2C |
Thanks for the above example, it's still doing the same thing unless I missed something you said. |
Topic: One more I2C |
picer
Replies: 7
Views: 12179
|
Forum: General CCS C Discussion Posted: Sat Feb 26, 2005 12:47 pm Subject: One more I2C |
I know not another one...
I tried to make my routines as simple as i can and go from there, I have a master (819) sending 0x44 to the slave (877a) and the slave just gets the data and prints it to ... |
Topic: i2c issues if pwm routine is enabled |
picer
Replies: 9
Views: 15651
|
Forum: General CCS C Discussion Posted: Tue Feb 15, 2005 10:18 am Subject: i2c issues if pwm routine is enabled |
There is nothing connected to the PWM now, just checking it with a scope. |
Topic: i2c issues if pwm routine is enabled |
picer
Replies: 9
Views: 15651
|
Forum: General CCS C Discussion Posted: Mon Feb 14, 2005 8:16 am Subject: i2c issues if pwm routine is enabled |
Thanks for your help, will give it a shot. |
Topic: i2c issues if pwm routine is enabled |
picer
Replies: 9
Views: 15651
|
Forum: General CCS C Discussion Posted: Sun Feb 13, 2005 11:48 pm Subject: i2c issues if pwm routine is enabled |
I tried to use the I2C routines in the ccs examples but couldn't get them to work so after searching here I found the above I2C routines that a few seem to be using with success. So these I2C routine ... |
Topic: i2c issues if pwm routine is enabled |
picer
Replies: 9
Views: 15651
|
Forum: General CCS C Discussion Posted: Sun Feb 13, 2005 10:58 pm Subject: i2c issues if pwm routine is enabled |
The above code is in the main routine of the slave main(), just took out what was in the main while loop and added the pwm stuff.
The full i2c code is in the link above also, I didn't write that ... |
Topic: i2c issues if pwm routine is enabled |
picer
Replies: 9
Views: 15651
|
Forum: General CCS C Discussion Posted: Sun Feb 13, 2005 9:58 pm Subject: i2c issues if pwm routine is enabled |
I finally got the following to work between a 819 (slave) and 877A (master)
http://www.ccsinfo.com/forum/viewtopic.php?t=21456&sid=1e2c7f51d403d8fd45f8bb39789f7218
Now the problem, I have ano ... |
Topic: Help with software PWM |
picer
Replies: 15
Views: 25092
|
Forum: General CCS C Discussion Posted: Tue Feb 08, 2005 10:10 pm Subject: Help with software PWM |
Yes, set the tris up. Doesn't make any difference at all. |
|