Author |
Message |
Topic: IEEE to Microchip 32-bit Float Conversion; vice-versa: How? |
RKnapp
Replies: 8
Views: 27972
|
Forum: General CCS C Discussion Posted: Thu Mar 13, 2008 1:16 pm Subject: Oops -- Floating Point question is moot if using the C30 |
Friends,
Pls disregard my last answer. It's wrong.
I'm programming a dsPIC under MPLAB C30 (forced to do so because the CCS dsPIC compiler was too late in coming out) and if you look at page ... |
Topic: IEEE to Microchip 32-bit Float Conversion; vice-versa: How? |
RKnapp
Replies: 8
Views: 27972
|
Forum: General CCS C Discussion Posted: Wed Mar 05, 2008 9:50 pm Subject: More on this topic for MPLABS Users |
Friends,
This is an old topic, I admit, but I had to "re-solve" this problem when working with the MPLAB's compiler and some of you *might* be interested in my solution. If you're not, I ... |
Topic: Question re uses of synchronous Master / Slave SPI? |
RKnapp
Replies: 6
Views: 8966
|
Forum: General CCS C Discussion Posted: Fri Dec 01, 2006 2:54 pm Subject: Question re uses of synchronous Master / Slave SPI? |
Friends,
It was pointed out to me (thank you!) that the code fragment I just posted is garbled. I am therefore disabling HTML and merely re-posting the same code just in case anyone else wishes to ... |
Topic: Question re uses of synchronous Master / Slave SPI? |
RKnapp
Replies: 6
Views: 8966
|
Forum: General CCS C Discussion Posted: Fri Dec 01, 2006 2:18 pm Subject: Somehow I am getting up to 30Mbaud on dsPIC30F4013's SPI |
Friends,
I thank you very much, PCM and others, for so kindly sharing your expertise on so many topics. I just wished to report something interesting, that the SPI bus can reach speeds of up to 30 ... |
Topic: Question re uses of synchronous Master / Slave SPI? |
RKnapp
Replies: 6
Views: 8966
|
Forum: General CCS C Discussion Posted: Wed Aug 30, 2006 4:14 pm Subject: Question re uses of synchronous Master / Slave SPI? |
Ttelmah,
Thanks very much for your comments; they've helped me clarify my thinking.
I do really want bidirectional communication, and simultaneity is a plus. Thus, I2C seems less desirable to ... |
Topic: Question re uses of synchronous Master / Slave SPI? |
RKnapp
Replies: 6
Views: 8966
|
Forum: General CCS C Discussion Posted: Tue Aug 29, 2006 5:44 pm Subject: Question re uses of synchronous Master / Slave SPI? |
Friends,
CCS v3.249; PCWH, dsPIC -- but I think this applies to all previous SPI modules as well.
I am about to start a new board layout which will have several PICs on it. In the past, I made ... |
Topic: Math problems with 3.240 |
RKnapp
Replies: 14
Views: 17854
|
Forum: General CCS C Discussion Posted: Tue Dec 13, 2005 5:49 pm Subject: Still Something Squirrely about 3.241's Floating Point Math |
Friends,
Dang it, there is still something wrong with floating point math in PCWH v3.241. I'd submitted a bug report earlier and am always pleased with how responsive CCS is -- they quickly came o ... |
Topic: Interrupt problem with 12F675 |
RKnapp
Replies: 4
Views: 8876
|
Forum: General CCS C Discussion Posted: Tue Dec 06, 2005 12:58 pm Subject: Interrupt problem with 12F675 |
Todd,
I'm just starting on my morning coffee so this is sort of a dumb question, but I can't quite see how you'd "lock out" the state change resulting in an interrupt if a person sits on the button ... |
Topic: Math problems with 3.240 |
RKnapp
Replies: 14
Views: 17854
|
Forum: General CCS C Discussion Posted: Mon Dec 05, 2005 1:06 pm Subject: Yes -- on 3.240 all my math went to heck, too |
Yes, dang it.
Upgrading to PCWH v3.240 this morning (I've been on other projects for awhile, so my previous version is 2.235) caused all my floating point math running on my PIC18F8722s to go wild. ... |
Topic: ICD-U40 seems to erase internal EEPROM. Possible to avoid? |
RKnapp
Replies: 2
Views: 6263
|
Forum: General CCS C Discussion Posted: Wed May 18, 2005 5:03 pm Subject: ICD-U40 seems to erase internal EEPROM. Possible to avoid? |
That worked PERFECTLY -- setting to "Erase as Needed".
Thank you very, very much,
Robert |
Topic: ICD-U40 seems to erase internal EEPROM. Possible to avoid? |
RKnapp
Replies: 2
Views: 6263
|
Forum: General CCS C Discussion Posted: Wed May 18, 2005 2:27 pm Subject: ICD-U40 seems to erase internal EEPROM. Possible to avoid? |
Dear Friends,
I'm (back to) programming (after a long absence) an 18F8520 using the ICD-U40 dongle. Compiler is PCWH v3.224 and the dongle firmware is CCS v1.39 Rev #97.
I wanted to create a c ... |
Topic: CCS Board Logins |
RKnapp
Replies: 10
Views: 19191
|
Forum: General CCS C Discussion Posted: Fri May 14, 2004 10:00 pm Subject: CCS Board Logins |
One problem would be, however, that many problems are common across all chip lines. The unintended consequence might be that they would ignore all chips other than their own, when, in fact, if a pers ... |
Topic: WDT reset |
RKnapp
Replies: 3
Views: 9690
|
Forum: General CCS C Discussion Posted: Fri May 14, 2004 9:51 pm Subject: WDT reset |
Yes -- however, if you're using the debugger, it will always show that the restart cause is "normal power up." Not sure why... Just something to watch out for...
Robert |
Topic: Macro expansion problem |
RKnapp
Replies: 6
Views: 14778
|
Forum: General CCS C Discussion Posted: Fri Apr 23, 2004 1:46 pm Subject: Macro expansion problem |
ckielstra,
You have some good advice there for me. You can see that I wanted the toggle to not just fork over a true / false but actually alter the variable fed to it.
But based on your comme ... |
Topic: service the wrong interrupt |
RKnapp
Replies: 10
Views: 18637
|
Forum: General CCS C Discussion Posted: Fri Apr 23, 2004 1:28 pm Subject: service the wrong interrupt |
Neutone,
Causes jitter? Have you checked this? And if so, how do you avoid this?
Here's the top of my "clock" routine which is called when my 1Khz timer's interrupt fires. I wouldn't be get ... |
|