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 137 matches
CCS Forum Index
Author Message
  Topic: PIC18LF6680 3.3V ECAN performance
alexz

Replies: 0
Views: 3459

PostForum: General CCS C Discussion   Posted: Thu Jun 08, 2006 3:10 am   Subject: PIC18LF6680 3.3V ECAN performance
Can the PIC18LF6680 achieve 1M Baud CAN rate when supplyed from 3.3V? Oscillator 20MHz
Has anybody got working CAN using a 3.3V PIC ?

I have got my software configured for 1Mbps and it works fi ...
  Topic: FRAM
alexz

Replies: 4
Views: 7310

PostForum: General CCS C Discussion   Posted: Fri Oct 28, 2005 7:18 am   Subject: FRAM
I have noticed, a lot of people in this forum recomend using FRAM.
If I am looking for a fast external memory (not necessarily non volatile) about 128Mbytes capacity, would it be better to consider t ...
  Topic: Bootloader data
alexz

Replies: 1
Views: 4421

PostForum: General CCS C Discussion   Posted: Wed Oct 19, 2005 4:39 am   Subject: Bootloader data
I want to send some data(hex file produced by buld from an application) to the bootloader and see it is programming the program memory and running the application (the hex file).
I have opened the he ...
  Topic: returning float union
alexz

Replies: 6
Views: 10854

PostForum: General CCS C Discussion   Posted: Fri Apr 22, 2005 8:02 am   Subject: returning float union
Okay, how do you expect people to help when they assume that you are using CCS compiler!?!?! Mad Why are you asking these questions on the Microchip forum? Good luck and maybe someone else will w ...
  Topic: returning float union
alexz

Replies: 6
Views: 10854

PostForum: General CCS C Discussion   Posted: Fri Apr 22, 2005 7:55 am   Subject: returning float union
Are you using the CCS compiler? I get an error if I try unsigned but otherwise it compiles just fine.

Actually C18 at the moment
  Topic: returning float union
alexz

Replies: 6
Views: 10854

PostForum: General CCS C Discussion   Posted: Fri Apr 22, 2005 7:49 am   Subject: returning float union
Try declaring
unsigned float getAvStepsPerMm(void)

as
float getAvStepsPerMm(void)



already tried
  Topic: returning float union
alexz

Replies: 6
Views: 10854

PostForum: General CCS C Discussion   Posted: Fri Apr 22, 2005 6:33 am   Subject: returning float union
I have got a definition of the following union:
extern union unionFloat
{
float fl;
unsigned char cha[4];
};
extern union unionFloat AvStepsPerMm;
extern union unionFloat AvStepsPerMm_inv ...
  Topic: Pointer to union
alexz

Replies: 11
Views: 14457

PostForum: General CCS C Discussion   Posted: Thu Apr 21, 2005 7:44 am   Subject: Pointer to union
You don't need a pointer to the union if you are just trying to pass and address


writeSFlash(4,unionFloat.cha);
writeSFlash(4,&unionFloat.cha[0]);
writeSFlash( ...
  Topic: Pointer to union
alexz

Replies: 11
Views: 14457

PostForum: General CCS C Discussion   Posted: Thu Apr 21, 2005 7:30 am   Subject: Pointer to union
Thank you for the help Mark.
I think I have found the way to do it

writeSFlash(0x04,(unsigned char *)ptr_uFloat);
  Topic: Pointer to union
alexz

Replies: 11
Views: 14457

PostForum: General CCS C Discussion   Posted: Thu Apr 21, 2005 7:24 am   Subject: Pointer to union

writeSFlash(sizeof(ptr_unionFloat->cha),ptr_unionFloat->cha);


Mark, I can't change it, because this function is called a lot and addresses of variables and arrays are pass ...
  Topic: Pointer to union
alexz

Replies: 11
Views: 14457

PostForum: General CCS C Discussion   Posted: Thu Apr 21, 2005 7:19 am   Subject: Pointer to union
and how is the other function declared?


extern void writeSFlash(uchar noBytes, uchar *sfData);
  Topic: Pointer to union
alexz

Replies: 11
Views: 14457

PostForum: General CCS C Discussion   Posted: Thu Apr 21, 2005 7:16 am   Subject: Pointer to union
I pass the pointer to another function like so: ptr_uFloat->fl
I get the error: Error [1146] type mismatch in argument 2

I need to pass the address of the value in the uFloat.fl
  Topic: Pointer to union
alexz

Replies: 11
Views: 14457

PostForum: General CCS C Discussion   Posted: Thu Apr 21, 2005 7:06 am   Subject: Pointer to union
Right,
and how to use it?
I mean, I want to point to the UNION_FLOAT.fl
  Topic: Pointer to union
alexz

Replies: 11
Views: 14457

PostForum: General CCS C Discussion   Posted: Thu Apr 21, 2005 6:30 am   Subject: Pointer to union
I have got the following union:

extern union unionFloat
{
float fl;
unsigned char cha[4];
};

How to make a pointer to it and how to use it?
Thank you
  Topic: Understanding Embedded Systems book
alexz

Replies: 4
Views: 8193

PostForum: General CCS C Discussion   Posted: Wed Mar 23, 2005 2:54 am   Subject: Understanding Embedded Systems book
Has anybody got to recommend a good Embedded Systems book.
I am not new in embedded stuff, but I need a deeper understanding of how embedded systems work(NOT for the beginner, but advanced)
 
Page 1 of 10 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group