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 24 matches
CCS Forum Index
Author Message
  Topic: change the pointer from 8 bits to 16 bits
sv_shady

Replies: 4
Views: 5453

PostForum: General CCS C Discussion   Posted: Wed Jun 25, 2008 2:29 am   Subject: change the pointer from 8 bits to 16 bits
The error has nothing to with the pointer. You cant declare such a huge array. This is more than 1MB... Look up into the datasheet how much RAM the MCU has and you must get in this limit.
  Topic: I2C - reading from slave problem
sv_shady

Replies: 1
Views: 3935

PostForum: General CCS C Discussion   Posted: Sat Jun 21, 2008 2:44 am   Subject: I2C - reading from slave problem
Come on guys... I don't think that nobody can help me. After more testin I've found out that the SSPBUF register of the master i set with the value it is supposed to read, but the bit for transmission ...
  Topic: I2C - reading from slave problem
sv_shady

Replies: 1
Views: 3935

PostForum: General CCS C Discussion   Posted: Sun Jun 15, 2008 4:31 am   Subject: I2C - reading from slave problem
Hi, this is probably my third topic on i2c problems... I have no problems with writing to slave, but now I have to read from slave and of course it doesn't work...
The master is PIC18F4620 and here ...
  Topic: using float64 and cos; sin; acos and asin
sv_shady

Replies: 21
Views: 30592

PostForum: General CCS C Discussion   Posted: Mon Jun 02, 2008 1:44 am   Subject: using float64 and cos; sin; acos and asin
If the arguments for cos and sin are relatively small finite number why dont you do a look-up table ?
  Topic: PORT C problem on PIC18F2550
sv_shady

Replies: 9
Views: 19826

PostForum: General CCS C Discussion   Posted: Sun May 25, 2008 11:29 pm   Subject: PORT C problem on PIC18F2550
Post your source, otherway we are just having a chat Smile
  Topic: Strange thing with i2c
sv_shady

Replies: 10
Views: 9922

PostForum: General CCS C Discussion   Posted: Sun May 25, 2008 7:57 am   Subject: Strange thing with i2c
Just in case someone else encounters the same problem, or is just curios what's the soluten I have slightly changed the interrupt routine:#int_SSP
void SSP_isr(void)
{

int incomi ...
  Topic: Strange thing with i2c
sv_shady

Replies: 10
Views: 9922

PostForum: General CCS C Discussion   Posted: Sat May 24, 2008 1:37 am   Subject: Strange thing with i2c
I decided to test the problem more extensively. I have changed the slave address to 0xA0 and put all the received bytes into an array and this is the result:(137,130,160,137,129,160,137,130,160,0, ...
  Topic: Strange thing with i2c
sv_shady

Replies: 10
Views: 9922

PostForum: General CCS C Discussion   Posted: Sat May 24, 2008 1:34 am   Subject: Strange thing with i2c
I decided to test the problem more extensively. I have changed the slave address to 0xA0 and put all the received bytes into an array and this is the result:(137,130,160,137,129,160,137,130,160,0, ...
  Topic: Strange thing with i2c
sv_shady

Replies: 10
Views: 9922

PostForum: General CCS C Discussion   Posted: Fri May 23, 2008 4:17 pm   Subject: Strange thing with i2c
Excuse me for the delay, but I had some problems...this routine
#int_SSP
void SSP_isr(void)
{
int incoming, state;
state = i2c_isr_state();
if(state < 0x80& ...
  Topic: PIC18F2520 and PWM problem
sv_shady

Replies: 2
Views: 4845

PostForum: General CCS C Discussion   Posted: Sat May 17, 2008 3:16 pm   Subject: PIC18F2520 and PWM problem
This is my source code:
#include <18F2520.h>
#device adc=8

#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale
#FUS ...
  Topic: Strange thing with i2c
sv_shady

Replies: 10
Views: 9922

PostForum: General CCS C Discussion   Posted: Wed Apr 30, 2008 10:45 am   Subject: Strange thing with i2c
Here is the source of the sender:

#include <16F877A.h>
#device adc=8

#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz& ...
  Topic: Strange thing with i2c
sv_shady

Replies: 10
Views: 9922

PostForum: General CCS C Discussion   Posted: Wed Apr 30, 2008 5:37 am   Subject: Strange thing with i2c
Here is the .lst file with #opt 0:

#int_SSP
.................... void SSP_isr(void)
.................... {
.................... int incoming, state;
.................... st ...
  Topic: Strange thing with i2c
sv_shady

Replies: 10
Views: 9922

PostForum: General CCS C Discussion   Posted: Wed Apr 30, 2008 4:14 am   Subject: Strange thing with i2c
I have encountered this strange thing with the i2c_isr_state() This is my source:

#include <18F2520.h>
#device adc=8

#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 ...
  Topic: EEPROM 93C56 16bit support
sv_shady

Replies: 0
Views: 27630

PostForum: Code Library   Posted: Tue Apr 29, 2008 12:25 pm   Subject: EEPROM 93C56 16bit support
This is an enhanced 9356.c file which supports EEPROM Disable Function and 16bit mode of organizing eeprom memory. It is extensively tested and it works fine.

#define EEPROM_SELECT PIN_C7
#define ...
  Topic: Question for 18F4431 and SSP interrupt
sv_shady

Replies: 9
Views: 6986

PostForum: General CCS C Discussion   Posted: Wed Apr 16, 2008 2:39 pm   Subject: Question for 18F4431 and SSP interrupt
Yes I DO have this line... Here is the .h file of my project #include <18F4431.h>
#device adc=8

#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch Dog ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group