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 13 matches
CCS Forum Index
Author Message
  Topic: dsPIC and CAN interrupt
Honken

Replies: 0
Views: 3384

PostForum: General CCS C Discussion   Posted: Fri Apr 04, 2008 9:50 am   Subject: dsPIC and CAN interrupt
Hi,

I have a working driver for the CAN module in dsPIC30F.

But I don't get the interrupt to fire for CAN1 or CAN2.

this is a piece from the list file, the reset vectors.
Does any one know ...
  Topic: how fast can spi_xfer() send?
Honken

Replies: 1
Views: 3735

PostForum: General CCS C Discussion   Posted: Wed Jan 23, 2008 8:40 am   Subject: how fast can spi_xfer() send?
What is the maximum speed that spi_xfer() function can send a byte?

I have a MCU running @ 96 Mhz, and can only get up to 1.2 Mbit when I declare baudrate to be 1500000 in #spi setup.
  Topic: printf sometime doesn't output correct data??
Honken

Replies: 8
Views: 7309

PostForum: General CCS C Discussion   Posted: Sat Jan 19, 2008 3:57 am   Subject: printf sometime doesn't output correct data??
I forgot to add the code above the fprintf function.

Yes I convert the handle to ASCII before I use the fprintf,

// Make it a char
handle = handle + 0x30;

wonder if it has to be something ...
  Topic: CANbus on dsPIC30?
Honken

Replies: 5
Views: 8376

PostForum: General CCS C Discussion   Posted: Sat Jan 19, 2008 3:52 am   Subject: CANbus on dsPIC30?
I have rewrited the CAN library for the PIC18 so it works with the dsPIC30.
  Topic: printf sometime doesn't output correct data??
Honken

Replies: 8
Views: 7309

PostForum: General CCS C Discussion   Posted: Fri Jan 18, 2008 4:29 am   Subject: printf sometime doesn't output correct data??
I tested that but then I get "0 49R>test.txt1 2"

with %c I get "0 1R>test.txt1 2"

And I want "0 1R>test.txt"

Really strange
  Topic: printf sometime doesn't output correct data??
Honken

Replies: 8
Views: 7309

PostForum: General CCS C Discussion   Posted: Thu Jan 17, 2008 10:40 am   Subject: printf sometime doesn't output correct data??
boolean loadCANfile(char filenname[], int8 handle, struct file_handle * hFile)
{

// This fprintf will output more than "test.txt" it will add 2 more byte from memory
fprintf ...
  Topic: printf sometime doesn't output correct data??
Honken

Replies: 8
Views: 7309

PostForum: General CCS C Discussion   Posted: Thu Jan 17, 2008 6:32 am   Subject: printf sometime doesn't output correct data??
I am running v4.066 with a dsPIC30F6010A and noticed that sometimes after I added or removed some code the printf function outputs more data after the NULL termination.

I looks like it does someth ...
  Topic: DSPIC30F6010A and #FUSE
Honken

Replies: 2
Views: 5159

PostForum: General CCS C Discussion   Posted: Sun Dec 23, 2007 8:08 am   Subject: DSPIC30F6010A and #FUSE
That helped!

Thanks
  Topic: DSPIC30F6010A and #FUSE
Honken

Replies: 2
Views: 5159

PostForum: General CCS C Discussion   Posted: Fri Dec 21, 2007 10:03 am   Subject: DSPIC30F6010A and #FUSE
I am trying to get correct FUSE for the oscillator on a DSPIC30F6010A.

I want to run HS on primary osc.

But when I use the following fuse

#FUSES LP //Low power osc <20 ...
  Topic: CANbus on dsPIC30?
Honken

Replies: 5
Views: 8376

PostForum: General CCS C Discussion   Posted: Thu Dec 13, 2007 1:25 am   Subject: CANbus on dsPIC30?
Hi,

has anyone made a source code for controlling the 2 CAN's in the dsPIC30F6010?

I realy need to get the two CAN intefaces running.

Henrik
  Topic: label_address() doesn't give full address when parsing
Honken

Replies: 0
Views: 3086

PostForum: General CCS C Discussion   Posted: Tue Oct 10, 2006 3:30 am   Subject: label_address() doesn't give full address when parsing
When I parse the label_address() within a function like the one below the address get cut.

The constant variable "f1" is located at address 0x041A.
But in the test function I only got ad ...
  Topic: MCP2515 nad speed over 125kbit
Honken

Replies: 1
Views: 4081

PostForum: General CCS C Discussion   Posted: Sat Aug 05, 2006 5:11 am   Subject: MCP2515 nad speed over 125kbit
Hi

I have a strange problem, I can't get my mcp2515 to send data over 125 kbit/s. When it does I only get error frames.

I think there is to do with the CNF1 register, I use a 16 MHz clock to dri ...
  Topic: Howto place large function over two banks???
Honken

Replies: 1
Views: 9974

PostForum: General CCS C Discussion   Posted: Wed Mar 03, 2004 3:25 am   Subject: Howto place large function over two banks???
Hi,

I have searched the forum about this problem but didn't find any answere.

My problem is that I have a function that need 0x0D5A of ROM.
So it must use two segments of ROM for this but it wi ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group