Author |
Message |
Topic: DSPIC 64-bit Floating Point |
oxo
Replies: 2
Views: 11265
|
Forum: General CCS C Discussion Posted: Mon Oct 23, 2017 12:55 am Subject: DSPIC 64-bit Floating Point |
Thanks very muchly. |
Topic: efficient code |
oxo
Replies: 6
Views: 16783
|
Forum: General CCS C Discussion Posted: Thu Oct 12, 2017 4:31 am Subject: efficient code |
Same here.
Unless you are using multiple compilation units, "static" outside of a function does nothing I believe. |
Topic: PIC24 + enc28j60 freeze |
oxo
Replies: 23
Views: 49166
|
Forum: General CCS C Discussion Posted: Thu Oct 12, 2017 3:53 am Subject: PIC24 + enc28j60 freeze |
The CCS ported code is flaky with DSPIC. I believe it doesn't respect some of the spi timing correctly.
Our solution was to rewrite the low level code using CCS spi functions entirely.
Now it wo ... |
Topic: DSPIC 64-bit Floating Point |
oxo
Replies: 2
Views: 11265
|
Forum: General CCS C Discussion Posted: Thu Oct 12, 2017 3:42 am Subject: DSPIC 64-bit Floating Point |
Hi all,
Does anyone have timing comparisons for 32 vs 64 bit floating point on DSPIC?
(yeah, I know I could try it myself, but this may be quicker) |
Topic: code question |
oxo
Replies: 3
Views: 12188
|
Forum: General CCS C Discussion Posted: Fri Sep 01, 2017 12:26 am Subject: code question |
Be thankful it's not i = i + (int8)1;
:D |
Topic: PIC reset problem |
oxo
Replies: 19
Views: 44938
|
Forum: General CCS C Discussion Posted: Fri Sep 01, 2017 12:24 am Subject: PIC reset problem |
Sorry I forget to mention mplabX IPE v 3.65. Yes PCM programmer is right. I'm just using it to write to chip and mainly I am using ccs IDE to write the code and can never it to hex. I cannot understan ... |
Topic: Graphic LCD |
oxo
Replies: 17
Views: 39124
|
Forum: General CCS C Discussion Posted: Wed Aug 02, 2017 5:02 am Subject: Graphic LCD |
Gotta leave something for the student to do ;) |
Topic: 2 servos |
oxo
Replies: 5
Views: 13432
|
Forum: General CCS C Discussion Posted: Wed Aug 02, 2017 4:20 am Subject: 2 servos |
School project ? |
Topic: [RESOLVED] Not enough RAM for all variables ? |
oxo
Replies: 6
Views: 17183
|
Forum: General CCS C Discussion Posted: Wed Aug 02, 2017 4:18 am Subject: [RESOLVED] Not enough RAM for all variables ? |
How is the font defined?
I define my fonts as
const unsigned int8 font7x5[99][5] =
{
// char 32 == ' '
0x00, 0x00, 0x00, 0x00, 0x00,
etc...
const puts it in ROM i ... |
Topic: Graphic LCD |
oxo
Replies: 17
Views: 39124
|
Forum: General CCS C Discussion Posted: Wed Aug 02, 2017 3:39 am Subject: Graphic LCD |
Either
sprintf(temp_value, "%c", MENU);
or
sprintf(temp_value, "%c", &MENU[0]); |
Topic: Write Integer to EEPROM |
oxo
Replies: 13
Views: 27434
|
Forum: General CCS C Discussion Posted: Thu Jul 27, 2017 4:31 am Subject: Write Integer to EEPROM |
several thousand projects
Superman. |
Topic: PIC24EP and I2C issue |
oxo
Replies: 20
Views: 41564
|
Forum: General CCS C Discussion Posted: Tue Jul 25, 2017 2:53 am Subject: PIC24EP and I2C issue |
Can confirm, that at least as far as the address for the I2C2 command register, 5.074 does fix things.
Can also confirm that a problem that was introduced by 5.072, and not fixed in 5.073 (again on ... |
Topic: PIC24EP and I2C issue |
oxo
Replies: 20
Views: 41564
|
Forum: General CCS C Discussion Posted: Mon Jul 24, 2017 9:17 am Subject: PIC24EP and I2C issue |
Oh sure, I do that, but using the CCS IDE selector.
Trouble is they may break something which has already been tested and may not show up for a while, so I stick with 5.070 until we ship  |
Topic: PIC24EP and I2C issue |
oxo
Replies: 20
Views: 41564
|
Forum: General CCS C Discussion Posted: Mon Jul 24, 2017 8:52 am Subject: PIC24EP and I2C issue |
I informed CCS of this problem a few weeks ago.
The latest update, 5.074 says they have fixed it. I have not tried it yet - usually CCS updates break something else and I'm at a tight part of the p ... |
Topic: Clock speed reality check |
oxo
Replies: 4
Views: 12622
|
Forum: General CCS C Discussion Posted: Fri Jun 23, 2017 6:36 am Subject: Clock speed reality check |
Thanks, thats what I suspected  |
|