Author |
Message |
Topic: CAN bus connector |
Benzino
Replies: 5
Views: 7015
|
Forum: General CCS C Discussion Posted: Tue Apr 13, 2010 5:25 am Subject: CAN bus connector |
Hi Will,
The CCS CAN dev kit that I have comes with the 3 pin male header for CAN High, CAN Low, and Ground.
In my development, I only use two things for the CAN connection. The official Dsub9 ... |
Topic: 18F CAN-BUS BOOTLOADER |
Benzino
Replies: 10
Views: 18185
|
Forum: General CCS C Discussion Posted: Tue Apr 13, 2010 4:59 am Subject: 18F CAN-BUS BOOTLOADER |
Hi Lotusx,
Thank you very much for the update. I will try it out! |
Topic: 18F CAN-BUS BOOTLOADER |
Benzino
Replies: 10
Views: 18185
|
Forum: General CCS C Discussion Posted: Fri Mar 26, 2010 8:01 am Subject: 18F CAN-BUS BOOTLOADER |
Hi Lotusx,
thank you very much, I will have a look at it. |
Topic: 18F CAN-BUS BOOTLOADER |
Benzino
Replies: 10
Views: 18185
|
Forum: General CCS C Discussion Posted: Wed Mar 10, 2010 8:13 am Subject: 18F CAN-BUS BOOTLOADER |
Hi,
I am looking to do the same thing. There are many things that I still do not understand after I read AN247 document and many topics on this forum.
If anyone could confirm that it works or/an ... |
Topic: CCS CAN bus demo board ex_can_ccs_a.c [solved] |
Benzino
Replies: 1
Views: 3794
|
Forum: General CCS C Discussion Posted: Tue Mar 02, 2010 2:13 pm Subject: CCS CAN bus demo board ex_can_ccs_a.c [solved] |
ok, my bad apparently the 18F458 and 18F4580 is quite different for ADC pin and value.
Sorry about posting silly question. |
Topic: CCS CAN bus demo board ex_can_ccs_a.c [solved] |
Benzino
Replies: 1
Views: 3794
|
Forum: General CCS C Discussion Posted: Tue Mar 02, 2010 12:44 pm Subject: CCS CAN bus demo board ex_can_ccs_a.c [solved] |
Hi,
Has anyone come across with the read_adc() issue using ex_can_ccs_a.c file on the CCS CAN bus demo board?
I have my CAN stuff working for both node a and b (I took node c and d out because I ... |
Topic: Has anyone use PIC16F690 with MCP2515? |
Benzino
Replies: 26
Views: 47740
|
Forum: General CCS C Discussion Posted: Fri Feb 26, 2010 9:48 am Subject: Has anyone use PIC16F690 with MCP2515? |
Hi,
I'm not an expert here but you can post your code here and there will be someone to look at it e.g. PCM programmer. I will help if I know anything.
Cheers, |
Topic: CCS CAN bus demo board EX10.c |
Benzino
Replies: 12
Views: 10424
|
Forum: General CCS C Discussion Posted: Tue Feb 23, 2010 12:30 pm Subject: CCS CAN bus demo board EX10.c |
Yes, it is. I have my PIC program like this.
#include <16F876A.h>
#device ADC=10
#fuses HS,NOPROTECT,NOLVP,NOWDT
#use delay(clock=2500000)
#use rs232(baud=9600, xmit=PIN_C6, r ... |
Topic: CCS CAN bus demo board EX10.c |
Benzino
Replies: 12
Views: 10424
|
Forum: General CCS C Discussion Posted: Tue Feb 23, 2010 6:32 am Subject: CCS CAN bus demo board EX10.c |
Hi,
The chip on the board looks ok as well as the joints on the RS-232.
However, strange thing did happen when I open up the PICkit 2 Programmer.
The PIC works every time I open that program. I d ... |
Topic: CCS CAN bus demo board EX10.c |
Benzino
Replies: 12
Views: 10424
|
Forum: General CCS C Discussion Posted: Mon Feb 22, 2010 2:50 pm Subject: CCS CAN bus demo board EX10.c |
Hi,
My compiler version is 4.093.
Do you need the circuit diagram? I can upload it on the forum. |
Topic: CCS CAN bus demo board EX10.c |
Benzino
Replies: 12
Views: 10424
|
Forum: General CCS C Discussion Posted: Mon Feb 22, 2010 2:12 pm Subject: CCS CAN bus demo board EX10.c |
Hi,
The pin diagram below shows how the pins on CCS CAN bus demo board are connected.
http://img251.imageshack.us/img251/5711/pinconnection.jpg
CS -> RB1
SI -> RC1
SO -> RC0
SCLK ... |
Topic: CCS CAN bus demo board EX10.c |
Benzino
Replies: 12
Views: 10424
|
Forum: General CCS C Discussion Posted: Mon Feb 22, 2010 1:41 pm Subject: CCS CAN bus demo board EX10.c |
Hi,
I did for the mcp2510_init() function and it didn't pass through the first function.
void mcp2510_init(void) {
printf("\r\n 10"); <---------- St ... |
Topic: CCS CAN bus demo board EX10.c |
Benzino
Replies: 12
Views: 10424
|
Forum: General CCS C Discussion Posted: Mon Feb 22, 2010 1:18 pm Subject: CCS CAN bus demo board EX10.c |
Hi,
I did as you suggested (also changed <> to "" for #include "can-mcp2510.c").
This is what I receive on the hyper terminal
hello?
1
.
and below is the pa ... |
Topic: CCS CAN bus demo board EX10.c |
Benzino
Replies: 12
Views: 10424
|
Forum: General CCS C Discussion Posted: Mon Feb 22, 2010 12:21 pm Subject: CCS CAN bus demo board EX10.c |
Hi,
I'm using the CCS CAN bus demo board and the example code that comes with it.
I reprogram node B (16F876A) because I am going to use something similar to this setup with the example code EX1 ... |
Topic: Has anyone use PIC16F690 with MCP2515? |
Benzino
Replies: 26
Views: 47740
|
Forum: General CCS C Discussion Posted: Mon Feb 22, 2010 9:28 am Subject: Has anyone use PIC16F690 with MCP2515? |
Hi,
I got the CCS CAN bus demo kit afterward so that I know that there is no problem with the hardware side before I implement the protocol to my own software and hardware.
I will let you know h ... |
|