CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 14 matches
CCS Forum Index
Author Message
  Topic: Help with PIC24EP512GP202 SPI and DMA(Solved)
pbraida

Replies: 7
Views: 16079

PostForum: General CCS C Discussion   Posted: Wed May 22, 2019 3:14 pm   Subject: Help with PIC24EP512GP202 SPI and DMA(Solved)
This is the functional test code to help anyone with the same problem:

#include <24EP512GP202.h>
#device ICSP=3
#use delay(internal=140MHz)

#FUSES NOWDT //Wa ...
  Topic: Help with PIC24EP512GP202 SPI and DMA(Solved)
pbraida

Replies: 7
Views: 16079

PostForum: General CCS C Discussion   Posted: Wed May 22, 2019 3:06 pm   Subject: Help with PIC24EP512GP202 SPI and DMA(Solved)
Ttelmah,

After many hours of tries and errors and with a help of CCS support.

The main issue is:

I only use the tx pin, but this PIC24 doesn't have any way of disabling the receiver part of ...
  Topic: Help with PIC24EP512GP202 SPI and DMA(Solved)
pbraida

Replies: 7
Views: 16079

PostForum: General CCS C Discussion   Posted: Wed May 22, 2019 8:56 am   Subject: Help with PIC24EP512GP202 SPI and DMA(Solved)
Yes, but it's still not working.

The above error was when copying the code to the message.

I still need help.

Pedro.
  Topic: Help with PIC24EP512GP202 SPI and DMA(Solved)
pbraida

Replies: 7
Views: 16079

PostForum: General CCS C Discussion   Posted: Wed May 22, 2019 7:56 am   Subject: Help with PIC24EP512GP202 SPI and DMA(Solved)
Hi all,

This lines are wrong.

#BANK_DMA #byte SPI1BUF=getenv("SFR:SPI1BUF")// i try this
//#byte SPI1BUF=getenv("SFR:SPI1BUF") // and this

The BANK_DMA is

unsigned in ...
  Topic: Help with PIC24EP512GP202 SPI and DMA(Solved)
pbraida

Replies: 7
Views: 16079

PostForum: General CCS C Discussion   Posted: Wed May 22, 2019 7:15 am   Subject: Help with PIC24EP512GP202 SPI and DMA(Solved)
Hi all,

Sorry, but this thing is make me crazy for days.

I try to use SPI (thanks Ttelmah for this) to transmite 124 bytes to other chip in master mode this works fine.

Now i am trying to put ...
  Topic: SPI problem with PIC24EP512GP202
pbraida

Replies: 3
Views: 10841

PostForum: General CCS C Discussion   Posted: Fri May 17, 2019 11:26 am   Subject: SPI problem with PIC24EP512GP202
Ttelmah, thanks a lot.
I thought the #use spi, did this for me.

Thanks again.

Pedro.
  Topic: SPI problem with PIC24EP512GP202
pbraida

Replies: 3
Views: 10841

PostForum: General CCS C Discussion   Posted: Fri May 17, 2019 8:47 am   Subject: SPI problem with PIC24EP512GP202
Hello all.

Anybody can help me?

My compiler version is 5.085.
The pic is PIC24EP512GP202.

The problem is:

I made a test program to send bytes by SPI1.
The SPI1 pins are connected to a sc ...
  Topic: Help with DMA in PIC18f26k42
pbraida

Replies: 3
Views: 11917

PostForum: General CCS C Discussion   Posted: Thu May 09, 2019 9:38 am   Subject: Help with DMA in PIC18f26k42(solved)
Thanks Ttelmah for your tip.

The correct commands are:
setup_dma(1,DMA_TRIGGER_SPI1TX,DMA_TRIGGER_NONE);

dma_start(1,DMA_SOURCE_ADDR_IS_SFR_GPR|DMA_INC_SOURCE_ADDR|DMA_DEST_ADDR_UNC ...
  Topic: Help with DMA in PIC18f26k42
pbraida

Replies: 3
Views: 11917

PostForum: General CCS C Discussion   Posted: Thu May 09, 2019 6:14 am   Subject: Help with DMA in PIC18f26k42
Hi all,

My compiler version is: 5.085.

Pic is 18f26k42.

The hardware works fine.

I am try to use dma with a ram buffer and spi.
char buffer_rx[3700];
If i use :

for(i=1;i& ...
  Topic: PIC 24EP512GU810 Bootloader problem
pbraida

Replies: 1
Views: 6856

PostForum: General CCS C Discussion   Posted: Fri Jun 03, 2016 8:06 am   Subject: PIC 24EP512GU810 Bootloader problem
This is the code for bootloader:

#define ROM_WRITE_CAN_MODIFY_CONFIG_BITS

#include <24EP512GU810.h>
#fuses NOWDT,RESET_AUX //The RESET_AUX fuse causes PIC to reset into Auxiliary Memory ...
  Topic: PIC 24EP512GU810 Bootloader problem
pbraida

Replies: 1
Views: 6856

PostForum: General CCS C Discussion   Posted: Fri Jun 03, 2016 5:22 am   Subject: PIC 24EP512GU810 Bootloader problem
First sorry for the bad English.

My compiler version is 5.059.

I am try to use the example: pcd_aux_bootloader.
My board has a PIC24EP512GU810 like the example, the bootloader works well. The ...
  Topic: Help with CCS HTTP Client
pbraida

Replies: 0
Views: 3058

PostForum: General CCS C Discussion   Posted: Thu Jan 29, 2015 4:25 am   Subject: Help with CCS HTTP Client
Hello,

First, sorry for the bad english.

It's possible to send this :

curl -X POST \
-H "X-Parse-Application-Id: XKOkUie4FHmY6ye4LK6dy77xwG2GvkFjgKG6F7nk" \
-H "X-Parse-R ...
  Topic: Where i download the Microchip Stack ported to CCS ???
pbraida

Replies: 3
Views: 5364

PostForum: General CCS C Discussion   Posted: Wed Feb 02, 2011 9:25 am   Subject: Where i download the Microchip Stack ported to CCS ???
Tank's
  Topic: Where i download the Microchip Stack ported to CCS ???
pbraida

Replies: 3
Views: 5364

PostForum: General CCS C Discussion   Posted: Wed Feb 02, 2011 8:41 am   Subject: Where i download the Microchip Stack ported to CCS ???
Hello,

Where i download the Microchip Stack ported to CCS ???

Tankyou.
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group