Author |
Message |
Topic: CAN bus problem [solved] |
RHA
Replies: 3
Views: 7625
|
Forum: General CCS C Discussion Posted: Wed Aug 29, 2012 11:36 pm Subject: CAN bus problem [solved] |
For a first test the internal Clock is ok, but it is not stable enough for example when the temperature changes (I've had the problem). |
Topic: CAN-Communication disturbed when Controller gets warm/hot |
RHA
Replies: 4
Views: 8856
|
Forum: General CCS C Discussion Posted: Tue Aug 14, 2012 7:22 am Subject: CAN-Communication disturbed when Controller gets warm/hot |
A late reply is better than no reply:
It was the oscillator. With an external crystal everything works fine. |
Topic: CAN-Communication disturbed when Controller gets warm/hot |
RHA
Replies: 4
Views: 8856
|
Forum: General CCS C Discussion Posted: Tue Jul 10, 2012 6:45 am Subject: CAN-Communication disturbed when Controller gets warm/hot |
Thanks for the hint. I will make a try with an external oscillator within the next days. |
Topic: CAN-Communication disturbed when Controller gets warm/hot |
RHA
Replies: 4
Views: 8856
|
Forum: General CCS C Discussion Posted: Mon Jul 09, 2012 11:35 pm Subject: CAN-Communication disturbed when Controller gets warm/hot |
Hi,
I have a project where 2 Motors for blinds have to be synchronized. They both works with a PIC18F46k80 with internal oscillator (16Mhz) and the motors (speeds) are controlled by PWM. For synchr ... |
Topic: Static charge resetting pic |
RHA
Replies: 29
Views: 38478
|
Forum: General CCS C Discussion Posted: Mon Jun 25, 2012 1:43 am Subject: Static charge resetting pic |
In the past i have made some projects where port pins are directly connected to a connector to the outside and i made some easy steps to face the problems with ESD :
Disable MCLR-Pin in config fuse ... |
Topic: 2 rotary encoders interrupt problem |
RHA
Replies: 10
Views: 12663
|
Forum: General CCS C Discussion Posted: Mon Jun 18, 2012 11:33 pm Subject: 2 rotary encoders interrupt problem |
Like written in another thread :
I always use code like this (for 2 motors with encoder) :
//******************************************************************************************************
... |
Topic: CAN bus speed 1 mb |
RHA
Replies: 9
Views: 13422
|
Forum: General CCS C Discussion Posted: Wed Jun 13, 2012 2:05 am Subject: CAN bus speed 1 mb |
You will need following :
#define CAN_BRG_SYNCH_JUMP_WIDTH 0 //synchronized jump width ( Tq = X+1)
#define CAN_BRG_PROPAGATION_TIME 0 //propagation time select ( Tq = X+1 ... |
Topic: 1 master and 2 slave |
RHA
Replies: 12
Views: 16063
|
Forum: General CCS C Discussion Posted: Sun Jun 03, 2012 11:15 pm Subject: 1 master and 2 slave |
An easy way should be CAN. |
Topic: can bus help me plz |
RHA
Replies: 17
Views: 20058
|
Forum: General CCS C Discussion Posted: Mon Apr 16, 2012 11:12 pm Subject: can bus help me plz |
Thanks for telling us what the problem was |
Topic: CAN-Bootloader for PIC18F |
RHA
Replies: 9
Views: 11175
|
Forum: General CCS C Discussion Posted: Sun Apr 15, 2012 11:32 pm Subject: CAN-Bootloader for PIC18F |
After working a little bit with the bootloader and setup I'm really satisfied with it. It works fine and with ease. You can setup all things you need. Only some little bugs in the GUIĀ“s are a little ... |
Topic: can bus help me plz |
RHA
Replies: 17
Views: 20058
|
Forum: General CCS C Discussion Posted: Sun Apr 15, 2012 11:24 pm Subject: can bus help me plz |
Maybe you have to setup CAN like this :
//--- Setup CAN for 200kbps at 16 MHz (has to be done before loading CAN-Routines) ---
#define CAN_BRG_SYNCH_JUMP_WIDTH 0 // synchronized jump w ... |
Topic: rotary encoder |
RHA
Replies: 5
Views: 10666
|
Forum: General CCS C Discussion Posted: Wed Apr 11, 2012 11:18 pm Subject: rotary encoder |
I always use code like this (for 2 motors with encoder) :
//******************************************************************************************************
//********************************* ... |
Topic: CAN-Bootloader for PIC18F |
RHA
Replies: 9
Views: 11175
|
Forum: General CCS C Discussion Posted: Wed Apr 11, 2012 7:16 am Subject: CAN-Bootloader for PIC18F |
OK, i got it working.
I had some problems because of my installation of MPLab and of my hardware. But after fixing that i got it working in a short time.
@RF_Developer :
You can code the addres ... |
Topic: CAN-Bootloader for PIC18F |
RHA
Replies: 9
Views: 11175
|
Forum: General CCS C Discussion Posted: Sun Apr 08, 2012 4:52 pm Subject: CAN-Bootloader for PIC18F |
Hi sarodrig,
i was ill last week, but on monday i have ordered a CAN-Adapter and the bootloader (with secure function) it it know it is already sended. On next tuesday i will test it and send a rep ... |
Topic: CAN-Bootloader for PIC18F |
RHA
Replies: 9
Views: 11175
|
Forum: General CCS C Discussion Posted: Fri Mar 30, 2012 5:07 pm Subject: CAN-Bootloader for PIC18F |
I've tested the free version of the DS30Loader (serial) and it worked fine so I think I will give the CAN-Version a try.
Today I've ordered a USC<->CAN-Adapter from IXXAT and when I have expl ... |
|