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 12 matches
CCS Forum Index
Author Message
  Topic: SPI2 read does not work on dsPIC30F6014A
YUM

Replies: 1
Views: 3968

PostForum: General CCS C Discussion   Posted: Thu Oct 27, 2011 7:52 am   Subject: SPI2 read does not work on dsPIC30F6014A
Hello,

I do a simple read on the SPI2 of a dsPIC30F6014A.
No way to get it run - the read value is always 0x00.

Here is the code snippet of some settings:

/* */
/* global he ...
  Topic: SPI Master - Writing other than 8 Bit data?
YUM

Replies: 7
Views: 7965

PostForum: General CCS C Discussion   Posted: Wed Oct 01, 2008 2:40 am   Subject: SPI Master - Writing other than 8 Bit data?
Hello,

i have to send any number less than 8 bit (precoding for eeproms (93C46, 93C56 etc....).

what exactly do you mean by ccs-software-builtin-routines? ... i know about the driver-files " ...
  Topic: SPI Master - Writing other than 8 Bit data?
YUM

Replies: 7
Views: 7965

PostForum: General CCS C Discussion   Posted: Wed Oct 01, 2008 1:27 am   Subject: SPI Master - Writing other than 8 Bit data?
Good Morning

Simple question:

Is there a way to use the CCS compiler (3.227, PIC16F73 as master SPI) function spi_write to send out a number of bits other than 8 or do i have to write an own cod ...
  Topic: INIT eeprom with int32 values (#ROM INT32 adr=.....)
YUM

Replies: 5
Views: 7647

PostForum: General CCS C Discussion   Posted: Thu Jun 26, 2008 3:40 am   Subject: INIT eeprom with int32 values (#ROM INT32 adr=.....)
thank you, PCM Programmer, this is feasible, though there does not seem to be a direct way to do it.

yum
  Topic: INIT eeprom with int32 values (#ROM INT32 adr=.....)
YUM

Replies: 5
Views: 7647

PostForum: General CCS C Discussion   Posted: Thu Jun 26, 2008 12:48 am   Subject: INIT eeprom with int32 values (#ROM INT32 adr=.....)
good morning!

i use:
PIC16F877A and data eeprom (256 bytes, starting at address 0x2100)
compiler ver. 3.227
  Topic: INIT eeprom with int32 values (#ROM INT32 adr=.....)
YUM

Replies: 5
Views: 7647

PostForum: General CCS C Discussion   Posted: Wed Jun 25, 2008 1:52 am   Subject: INIT eeprom with int32 values (#ROM INT32 adr=.....)
hello,

i think the title say it all:

i want to initialize the eeprom with int32 data, without splitting the 4 - byte data by hand before.

#rom int32 adr = { does not work.

someone in the f ...
  Topic: SPI AND I2C AND RS232 all together?
YUM

Replies: 2
Views: 4632

PostForum: General CCS C Discussion   Posted: Wed Feb 20, 2008 12:56 am   Subject: ... in reply
Hello and thanks for this first answer,

but it leads me to other questions:

1.)
why does CCS use different methods (#USE..., setup_....) to setup modules?
wouldn't it be nicer to have all of t ...
  Topic: SPI AND I2C AND RS232 all together?
YUM

Replies: 2
Views: 4632

PostForum: General CCS C Discussion   Posted: Tue Feb 19, 2008 3:09 am   Subject: SPI AND I2C AND RS232 all together?
Hello,

I would like to have on a PIC16F73:
1.) RS232 AND
2.) either (determined by a pin on start-up): SPI OR I2C

unluckily CCS (3.227) uses difference setup processes for these interfaces (# ...
  Topic: MPLAB 7.5
YUM

Replies: 9
Views: 22032

PostForum: General CCS C Discussion   Posted: Wed Jul 11, 2007 5:37 am   Subject: MPLAB crash
Hi,

I used MPLAB 7.50, 7.61a in conjunction with CCS 3.227 on Windows XP.
It crashed every few minutes, always when i pressed the programming tab or the compiling tab.

Of course i have read nea ...
  Topic: Can i mix STANDARD_IO with FIXED_IO ?
YUM

Replies: 2
Views: 5617

PostForum: General CCS C Discussion   Posted: Tue Apr 11, 2006 4:42 am   Subject: Can i mix STANDARD_IO with FIXED_IO ?
Say, i have all pins on portb as inputs, is the following declaration correct ?
Can i leave the ouput - declaration for the fixed_io blank ?

#use standard_io(A)
#use fixed_io(b_outputs=)
#use s ...
  Topic: Can i mix STANDARD_IO with FIXED_IO ?
YUM

Replies: 2
Views: 5617

PostForum: General CCS C Discussion   Posted: Tue Apr 11, 2006 3:40 am   Subject: Can i mix STANDARD_IO with FIXED_IO ?
Is it possible to declare PORTB as fixed_io (with all pins set as outputs) and
declare PORTC for compiling as standard_io ?

Can i even declare some pins of a PORT as fixed_io's and other pins of t ...
  Topic: SIZE OF A FUNCTION ?
YUM

Replies: 3
Views: 9377

PostForum: General CCS C Discussion   Posted: Fri Jul 23, 2004 1:04 am   Subject: SIZE OF A FUNCTION ?
Does anyone know, how i can determine the size of a function (subroutine) ?
for example:

unsigned char dummy_function (unsigned char uhu)
{



}

In the list file i can only see the st ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group