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 11 matches
CCS Forum Index
Author Message
  Topic: cannot display characters using lcd.h and usb_cdc.h (solved)
pfsdanny

Replies: 1
Views: 4481

PostForum: General CCS C Discussion   Posted: Mon Jan 17, 2011 4:02 am   Subject: memory too large
I just modify the statement

From

struct commProp {
unsigned int8 count;
unsigned int8 size;
unsigned int8 buffer[20];
} uart, usb;
To

struct commProp {
...
  Topic: cannot display characters using lcd.h and usb_cdc.h (solved)
pfsdanny

Replies: 1
Views: 4481

PostForum: General CCS C Discussion   Posted: Mon Jan 17, 2011 12:37 am   Subject: cannot display characters using lcd.h and usb_cdc.h (solved)
Hi,

Here is my code
tester01.h :-

#FUSES NOBROWNOUT //No brownout reset
#FUSES BORV19
#FUSES NOPUT //No Power Up Timer
#FUSES NOCPD ...
  Topic: code has no effect at line sleep(SLEEP_IDLE) SOLVED
pfsdanny

Replies: 1
Views: 3220

PostForum: General CCS C Discussion   Posted: Sat Dec 18, 2010 2:01 am   Subject: code has no effect at line sleep(SLEEP_IDLE) SOLVED
I use the following code to work arround

#asm
sleep SLEEP_IDLE
#endasm
  Topic: code has no effect at line sleep(SLEEP_IDLE) SOLVED
pfsdanny

Replies: 1
Views: 3220

PostForum: General CCS C Discussion   Posted: Sat Dec 18, 2010 1:27 am   Subject: code has no effect at line sleep(SLEEP_IDLE) SOLVED
Hi,
PCD V4.112, PIC24F16KA102, the complier report the following message

Warning 207 Code has no effect

The error point to the following code
sleep(SLEEP_IDLE);

I try sleep() and ...
  Topic: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
pfsdanny

Replies: 10
Views: 16405

PostForum: General CCS C Discussion   Posted: Wed Dec 01, 2010 2:43 am   Subject: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
Problem solved. I must add code to reset the Atmel chips.

output_low(spiRst); // pull the Atmel chip /RST pin low to reset the Atmel
delay_us(1); // Atmel chip needs 625ns pluse t ...
  Topic: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
pfsdanny

Replies: 10
Views: 16405

PostForum: General CCS C Discussion   Posted: Tue Nov 30, 2010 10:57 pm   Subject: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
Thanks, the HP logic analyzer seems affordable. Will try it and post the result.
  Topic: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
pfsdanny

Replies: 10
Views: 16405

PostForum: General CCS C Discussion   Posted: Mon Nov 29, 2010 4:28 am   Subject: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
Made a master using 24FJ128GA006 and a slave using 18F13K50. Below is the software listing.

Master in 24FJ128GA006

.
#define spi_sel PIN_B14
.
.
setup_spi2(SPI_MASTER | SPI_L_TO_H| SPI_ ...
  Topic: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
pfsdanny

Replies: 10
Views: 16405

PostForum: General CCS C Discussion   Posted: Sun Nov 21, 2010 11:02 pm   Subject: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
Thanks, I have already read that before. So my code only use spi_read().

I'm trying to make a new board contains PIC24 and PIC18 to test the PIC24 SPI function. This take time, make the PCB solde ...
  Topic: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
pfsdanny

Replies: 10
Views: 16405

PostForum: General CCS C Discussion   Posted: Sun Nov 21, 2010 9:37 pm   Subject: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
The hardware is sure to works. The connection is below

PIC24 Atmel AT86RF212
B14 ---> /SEL
SDO ---> MOSI
SD ...
  Topic: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
pfsdanny

Replies: 10
Views: 16405

PostForum: General CCS C Discussion   Posted: Sat Nov 20, 2010 9:21 am   Subject: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
I have check scope, all signals spiSel, CLK, SDO is ok and the code 0x9C sends correctly, but the SDI does not show anything. I only got a dual trace scope that I cannot measure the timing between si ...
  Topic: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
pfsdanny

Replies: 10
Views: 16405

PostForum: General CCS C Discussion   Posted: Sat Nov 20, 2010 1:53 am   Subject: SPI problems with 24F16KA102 to Atmel AT86RF212 (SOLVED)
Hi,

I have a project to follow up. The board contains PIC 24F16KA102 and Atmel AT86RF212. These chips use SPI to communicate. My job is to write a program to read the Atmel register. My proble ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group