Author |
Message |
Topic: Pwm decoder from rc transmitter |
Tufican
Replies: 0
Views: 24005
|
Forum: Code Library Posted: Thu Jan 26, 2012 5:37 am Subject: Pwm decoder from rc transmitter |
I write this code. It reads 4 pwm signals from a remote controller from 1 pin with 4 to 1 multiplexer.
You can use this program for your quadcopter multicopter helicopter or plane.
You can add i ... |
Topic: CAN Example Change Frequency |
Tufican
Replies: 27
Views: 84007
|
Forum: General CCS C Discussion Posted: Fri Oct 07, 2011 2:48 pm Subject: CAN Example Change Frequency |
Well i found the mistake, a quite stupid one.
It was not the 120 Ohm resistor, I don't use one because for the distances and bit rates I use at the moment, I don't need one.
According to the dat ... |
Topic: can bus baud problem(125k OK!) (250k OK!) 500k (FAIL!!): |
Tufican
Replies: 6
Views: 19400
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2011 3:01 pm Subject: can bus baud problem(125k OK!) (250k OK!) 500k (FAIL!!): |
First you must open the datasheet of your PIC micro that are you using and look for the register that control the CAN bus baudrate.
Second, go to your code(MPLAB IDE) and, in debug mode, put the cu ... |
Topic: can bus baud problem(125k OK!) (250k OK!) 500k (FAIL!!): |
Tufican
Replies: 6
Views: 19400
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2011 9:18 am Subject: can bus baud problem(125k OK!) (250k OK!) 500k (FAIL!!): |
Did you check the ASM generated(Program Memory)?
Specifically the Baudrate setting part.
May be is a bug in the code compiler, I remember something similar with I2C.
Thank you e.blue
But i d ... |
Topic: can bus baud problem(125k OK!) (250k OK!) 500k (FAIL!!): |
Tufican
Replies: 6
Views: 19400
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2011 7:58 am Subject: can bus baud problem(125k OK!) (250k OK!) 500k (FAIL!!): |
This thread has instructions on how to download a program to calculate
the CAN bus baud rate settings, and how to use the program:
http://www.ccsinfo.com/forum/viewtopic.php?t=22138
Thank you so mu ... |
Topic: can bus baud problem(125k OK!) (250k OK!) 500k (FAIL!!): |
Tufican
Replies: 6
Views: 19400
|
Forum: General CCS C Discussion Posted: Mon Oct 03, 2011 2:37 pm Subject: can bus baud problem(125k OK!) (250k OK!) 500k (FAIL!!): |
hello everybody :)
I have a problem about my ccs c canbus development kit.
I can set my baud to 50 - 125 - 200 max to 250.
The true and good working 125k.
http://img28.imageshack.us/img28/449/t ... |
Topic: PS/2 keyboard driver/decoder, interrupt driven, 16F and up |
Tufican
Replies: 14
Views: 138126
|
Forum: Code Library Posted: Mon Sep 19, 2011 12:54 pm Subject: doesn't work :((( |
hi everybody i have a problem
i m using ccs c canbus kit pic18f4580
i wrote and add this lines to ps2 code
#include <18f4580.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP,NOBROWNOUT,NOPUT
#use ... |
Topic: canbus kit baud rate settings help me please |
Tufican
Replies: 4
Views: 9723
|
Forum: General CCS C Discussion Posted: Thu Mar 10, 2011 2:15 pm Subject: canbus kit baud rate settings help me please |
thank you so so so much man here is great forum THANKS |
Topic: canbus kit baud rate settings help me please |
Tufican
Replies: 4
Views: 9723
|
Forum: General CCS C Discussion Posted: Thu Mar 10, 2011 1:25 pm Subject: canbus kit baud rate settings help me please |
Your baud rate is set when you call can_init(); Within that function there is a call to: can_set_baud();
If you look at the can_set_baud() function you'll see it setting the baud rate. The manual f ... |
Topic: canbus kit baud rate settings help me please |
Tufican
Replies: 4
Views: 9723
|
Forum: General CCS C Discussion Posted: Thu Mar 10, 2011 10:49 am Subject: canbus kit baud rate settings help me please |
Hi everybody I have a canbus development kit and I can't find what is my baud rate?
How can I change this baud rate?
can_putd(0x400, buffer, 8 1, TRUE, FALSE);
Where is baud rate sett ... |
|