Author |
Message |
Topic: dsPIC33A support? |
dmendesf
Replies: 7
Views: 3892
|
Forum: General CCS C Discussion Posted: Tue Aug 20, 2024 11:58 pm Subject: dsPIC33A support? |
Asked them a few days ago. Still no answer... Probably a tough decision at this point. |
Topic: dsPIC33A support? |
dmendesf
Replies: 7
Views: 3892
|
Forum: General CCS C Discussion Posted: Sat Aug 10, 2024 4:20 pm Subject: dsPIC33A support? |
Anyone knows if dsPIC33A support is planned for future releases of CCS compiler? |
Topic: CCS USB support for PIC18F46J50 ? |
dmendesf
Replies: 1
Views: 10533
|
Forum: General CCS C Discussion Posted: Sat Sep 04, 2021 12:56 pm Subject: CCS USB support for PIC18F46J50 ? |
I need a USB pic with 2 serial ports and USB. I've used the PIC18F4550 and PIC18F45k50 a lot with the CCS USB stack without problems. Does it also work fine with the PIC18F45J50? Thanks. |
Topic: Is it possible to design Digital Filters (FIR) using CCS C ? |
dmendesf
Replies: 8
Views: 20785
|
Forum: General CCS C Discussion Posted: Wed Apr 18, 2018 7:28 am Subject: Is it possible to design Digital Filters (FIR) using CCS C ? |
Thanks for the pointers. Still a very crude implementation using ASM directly, but it´s a start.
Look at EX_FIR.C and FIR.C include file. |
Topic: Is it possible to design Digital Filters (FIR) using CCS C ? |
dmendesf
Replies: 8
Views: 20785
|
Forum: General CCS C Discussion Posted: Tue Apr 17, 2018 7:03 pm Subject: Is it possible to design Digital Filters (FIR) using CCS C ? |
Ttelmah, where you saw support for the DSP features of dspics? This is a long missing feature for me. One that Mikroc implements very well...
Daniel
For software FFT like this, there have been s ... |
Topic: Problem with PWM and PIC16F1619 |
dmendesf
Replies: 8
Views: 15599
|
Forum: General CCS C Discussion Posted: Thu Jan 05, 2017 12:07 pm Subject: Problem with PWM and PIC16F1619 |
Done.... let´s see how fast they fix it.
How can I report back this to CCS ?
At the top of this forum, it says:
CCS does not monitor this forum on a regular basis.
Please do not post bug Repo ... |
Topic: Problem with PWM and PIC16F1619 |
dmendesf
Replies: 8
Views: 15599
|
Forum: General CCS C Discussion Posted: Thu Jan 05, 2017 10:49 am Subject: Problem with PWM and PIC16F1619 |
Hi Ttelmah, thanks for this reminder. I plan to use the PID Math Accelerator to control the PWM duty (I´ll probably do the debug of this entire chip to CCS :D ) I also tried my code with PIN_C0 and i ... |
Topic: Problem with PWM and PIC16F1619 |
dmendesf
Replies: 8
Views: 15599
|
Forum: General CCS C Discussion Posted: Thu Jan 05, 2017 10:32 am Subject: Problem with PWM and PIC16F1619 |
Seems I found it. setup_ccp1 appears not to be working on this chip. I changed
setup_ccp1(CCP_PWM|CCP_TIMER2);
to:
#pin_select CCP1OUT = PIN_C6
#byte CCP1CON = 0x293
#byte CCPTMRS = ... |
Topic: Problem with PWM and PIC16F1619 |
dmendesf
Replies: 8
Views: 15599
|
Forum: General CCS C Discussion Posted: Thu Jan 05, 2017 9:15 am Subject: Problem with PWM and PIC16F1619 |
Hi Jay.... here´s a sample program... main.c:
#include <main.h>
void main()
{
setup_timer_2(T2_DIV_BY_4,63,1); //51,2 us overflow, 51,2 us interrupt
... |
Topic: Problem with PWM and PIC16F1619 |
dmendesf
Replies: 8
Views: 15599
|
Forum: General CCS C Discussion Posted: Thu Jan 05, 2017 8:26 am Subject: Problem with PWM and PIC16F1619 |
Hi, i´m trying to setup PWM with this PIC. It uses PIN MUX and I think I made some mistake. My CCS version is 5.066
I´m running from internal oscillator at 16MHz:
#use delay(internal=16000 ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
dmendesf
Replies: 286
Views: 1375665
|
Forum: Code Library Posted: Thu May 12, 2016 6:05 am Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
Hi Eduardo, fellow brazilian here from Rio de Janeiro. Sorry for the mistypings in the last messages but I was using a cell phone with typing corrections for portuguese, so it was a bit hard to type r ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
dmendesf
Replies: 286
Views: 1375665
|
Forum: Code Library Posted: Wed May 11, 2016 10:22 pm Subject: nRF24L01+ full driver by Eduardo Guilherme Brandt |
Thank you for your answer. I already found these websites (and others) talking about the differences between these clones. All of them use Arduino code to talk to them. I use this code with ccs and th ... |
Topic: nRF24L01+ full driver by Eduardo Guilherme Brandt |
dmendesf
Replies: 286
Views: 1375665
|
Forum: Code Library Posted: Wed May 11, 2016 7:46 pm Subject: New nrf clones |
Has anyone managed to make these new nrf clones with blobs instead of chips work with this code? I still don't. |
Topic: times ten in fewest CPU cycles? |
dmendesf
Replies: 13
Views: 14828
|
Forum: General CCS C Discussion Posted: Tue Nov 12, 2013 8:43 pm Subject: times ten in fewest CPU cycles? |
I think that the second option I posted can be faster than your approach and it needs "only" 512 words of memory. You should benchmark it and also a small variation using make8 to acess 16 b ... |
Topic: times ten in fewest CPU cycles? |
dmendesf
Replies: 13
Views: 14828
|
Forum: General CCS C Discussion Posted: Tue Nov 12, 2013 7:48 pm Subject: times ten in fewest CPU cycles? |
You can also trade less space for less speed using this:
k = a*256+b // b from 0 to 255, a from 0 to 15
10 * k = 10*a*256 + 10*b
union data_holder {
int8 data_byte[2];
... |
|