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: PIC18F2431 and SPI
brutus

Replies: 10
Views: 12741

PostForum: General CCS C Discussion   Posted: Sat Feb 11, 2012 9:58 am   Subject: PIC18F2431 and SPI
Hi,
1) according to the PIC18F2431 DS, the hw pins for SPI are

RC4 - SDI
RC5 - SCK
RC6 - SS
RC7 - SDO

So I expect to see some signals over C5 and C7 in MASTER configuration. Is it correct? ...
  Topic: PIC18F2431 and SPI
brutus

Replies: 10
Views: 12741

PostForum: General CCS C Discussion   Posted: Thu Feb 09, 2012 9:59 am   Subject: PIC18F2431 and SPI
Hi,
my compiler is 4.110.

Just to check, could you post the code you've used for the SPI?

Thanks,
Claudio
  Topic: PIC18F2431 and SPI
brutus

Replies: 10
Views: 12741

PostForum: General CCS C Discussion   Posted: Thu Feb 09, 2012 7:27 am   Subject: PIC18F2431 and SPI
Hi temtronic,
I've just done a lot of tests; the led is blinking, other functions seem ok, and I've tested many different configurations...

I'm sure that the problem is somewhere else, but in this ...
  Topic: PIC18F2431 and SPI
brutus

Replies: 10
Views: 12741

PostForum: General CCS C Discussion   Posted: Thu Feb 09, 2012 6:18 am   Subject: PIC18F2431 and SPI
Thanks both for the suggestions;
the fact is not "how" to use SPI, I've read a lot of documentation ( from microchip and CCS ) and I'm quite sure that the code is working...also because it' ...
  Topic: PIC18F2431 and SPI
brutus

Replies: 10
Views: 12741

PostForum: General CCS C Discussion   Posted: Wed Feb 08, 2012 8:57 am   Subject: PIC18F2431 and SPI
Hi all,
my SPI stuff on PIC18F2431 is a real headache!
I need send some from the master via SPI and receive them with a slave (same micro).

I've tried so many times to initialize the master, but ...
  Topic: Problem on programming 16F506
brutus

Replies: 3
Views: 8781

PostForum: General CCS C Discussion   Posted: Thu Jan 13, 2011 8:18 am   Subject: Problem on programming 16F506
Thanks,
I supposed it. I'm not sure why it was 0. In any case for me is not important a perfect calibration, in my application I don't need a great precision.
The problem is that also setting it to ...
  Topic: Problem on programming 16F506
brutus

Replies: 3
Views: 8781

PostForum: General CCS C Discussion   Posted: Thu Jan 13, 2011 5:01 am   Subject: Problem on programming 16F506
Hi,
I've read a thread ( http://www.ccsinfo.com/forum/viewtopic.php?t=43815 ) about some problems with 16F506. I have the same problem: at the address 0x3FF I get 0x00, and while programming I get th ...
  Topic: Cannot read from PORTF - PIC16F1946
brutus

Replies: 6
Views: 7469

PostForum: General CCS C Discussion   Posted: Fri Dec 17, 2010 3:21 am   Subject: Cannot read from PORTF - PIC16F1946
Ok guys,
Thanks both for the suggestions, I appreciate who shows me the right way...

The problem is that I'm using ADC, and even if I disable it (to try...) using the setup_adc_ports to NO_ANALOGS ...
  Topic: Cannot read from PORTF - PIC16F1946
brutus

Replies: 6
Views: 7469

PostForum: General CCS C Discussion   Posted: Thu Dec 16, 2010 12:40 pm   Subject: Cannot read from PORTF - PIC16F1946
Read the datasheet about Port F. This can be found in section12.7 (page
142). There is a note in 12.7.1 that explains your problem.

Next, if you look in the 16F1946.h header file, you will find ...
  Topic: Cannot read from PORTF - PIC16F1946
brutus

Replies: 6
Views: 7469

PostForum: General CCS C Discussion   Posted: Thu Dec 16, 2010 9:00 am   Subject: Cannot read from PORTF - PIC16F1946
Hi everybody,
My problem is that on my PortF I've a dip switch with physical pullups (10k), but I always get a low input all over the port.

The port configuration is this:

#use fast_io(A ...
  Topic: CC1100 CCS code??
brutus

Replies: 1
Views: 5025

PostForum: General CCS C Discussion   Posted: Mon May 12, 2008 11:45 am   Subject: CC1100 CCS code??
Hi anyone,
I've found a lot of code for the (ex) chipcon CC1000 rf transceiver; has anyone used the CC1100? Is it similar?

Thanks,
Claudio
  Topic: 18F252 and ds1307
brutus

Replies: 1
Views: 8863

PostForum: General CCS C Discussion   Posted: Wed Apr 14, 2004 8:23 am   Subject: 18F252 and ds1307
Hi,
i'm working with a 18f252 and a ds 1307 rtc. It really doesn't seem to work. I've tried every kind of thing...

I'm using 4k7 pullups resistors and this code...but no reply..no ack!!!

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


Powered by phpBB © 2001, 2005 phpBB Group