Author |
Message |
Topic: PIC18F4685 CAN receive doesn't work |
Ramona1805
Replies: 10
Views: 6915
|
Forum: General CCS C Discussion Posted: Mon Sep 06, 2010 12:01 am Subject: PIC18F4685 CAN receive doesn't work |
My Compiler Version is V4.108 |
Topic: PIC18F4685 CAN receive doesn't work |
Ramona1805
Replies: 10
Views: 6915
|
Forum: General CCS C Discussion Posted: Thu Sep 02, 2010 6:16 am Subject: PIC18F4685 CAN receive doesn't work |
I've changed some defines in can-18f4580 so that the communication to the cancase works:
#ifndef __CCS_CAN18F4580_LIB_DEFINES__
#define __CCS_CAN18F4580_LIB_DEFINES__
#ifndef CAN_DO_DEBUG
#defi ... |
Topic: PIC18F4685 CAN receive doesn't work |
Ramona1805
Replies: 10
Views: 6915
|
Forum: General CCS C Discussion Posted: Wed Sep 01, 2010 4:47 am Subject: PIC18F4685 CAN receive doesn't work |
I've looked up my code about this and found the same configuration as you posted: (should be the original code from the compiler.
void can_init(void) {
can_set_mode(CAN_OP_CONF ... |
Topic: PIC18F4685 CAN receive doesn't work |
Ramona1805
Replies: 10
Views: 6915
|
Forum: General CCS C Discussion Posted: Sun Aug 29, 2010 11:16 pm Subject: PIC18F4685 CAN receive doesn't work |
Ok.. now I get the message I send.. but even if only I send ones, the kbhit()-function gets always true..
do I have to delete a message when I've read it.. or whats wrong now?
I also tried out the ... |
Topic: PIC18F4685 CAN receive doesn't work |
Ramona1805
Replies: 10
Views: 6915
|
Forum: General CCS C Discussion Posted: Wed Aug 25, 2010 12:50 am Subject: PIC18F4685 CAN receive doesn't work |
Thank you for your fast reply collink.
That's what I've read in other threads too.. about the function can_kbhit().
So first of all I tried to show a combination on my PortD-LEDs.
if can_kbhit() re ... |
Topic: PIC18F4685 CAN receive doesn't work |
Ramona1805
Replies: 10
Views: 6915
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2010 1:04 am Subject: PIC18F4685 CAN receive doesn't work |
Hello everybody,
I've got a new problem working on my CAN-Communication.
I managed to send messages to my CANcaseXL without great problems.
But now I want to receive messages from CANalyzer.
I've ... |
Topic: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Ramona1805
Replies: 11
Views: 18131
|
Forum: General CCS C Discussion Posted: Mon Jun 28, 2010 1:05 am Subject: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
I'm sorry that I didn't write earlier but I've tested your idea already.
And you were right again.
Thank you very much!
And I hope that others with same problem like me would profit from this discu ... |
Topic: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Ramona1805
Replies: 11
Views: 18131
|
Forum: General CCS C Discussion Posted: Tue May 18, 2010 11:14 pm Subject: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Hi PCM Programmer,
thanks for fast reply..
the fish PUFFER is the german word for buffer I forgot to change it..
in order to read out the buffer-information I use the command from page 8: ... |
Topic: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Ramona1805
Replies: 11
Views: 18131
|
Forum: General CCS C Discussion Posted: Tue May 18, 2010 12:00 am Subject: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Thank you again PCM programmer!
I'm sorry about such stupid questions :/
but the next one came up.. :(
I tried to read out the display (buffer information) as I found in some threads as well..
H ... |
Topic: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Ramona1805
Replies: 11
Views: 18131
|
Forum: General CCS C Discussion Posted: Wed May 12, 2010 3:24 am Subject: separate Code into multiple c-Files |
Hello again,
I've got a new problem on i2c-communication to my display.
I wrote several functions in order to send commands to display
as you can see here:
//Display-Konstanten:
#define ... |
Topic: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Ramona1805
Replies: 11
Views: 18131
|
Forum: General CCS C Discussion Posted: Thu May 06, 2010 7:23 am Subject: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Thank you very much!!!!!
You saved my day!!!
Everything works fine now!
After changing the pullups the signal looks better and the display receives my commands!!!
First I tested my pr ... |
Topic: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Ramona1805
Replies: 11
Views: 18131
|
Forum: General CCS C Discussion Posted: Wed May 05, 2010 5:11 am Subject: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Hi PCM programmer,
At first thank you very much for your fast answer!
I did change my code like you told me to.
And now I really see a clock and data signal
But there are no real square-w ... |
Topic: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Ramona1805
Replies: 11
Views: 18131
|
Forum: General CCS C Discussion Posted: Wed May 05, 2010 12:46 am Subject: PIC18F458 18F4685 I2C to EA eDip320-8 Display doesn't work |
Hello everybody,
I need help because I don't know whats wrong.
I want to test an I2C-communication between PIC18f458 as Master (later on PIC18f4685) and my Display EAeDip320-8 (Slave).
But nothi ... |
|