Author |
Message |
Topic: CAN bus newbie questions... Also, thoughts & experiences |
jseidmann
Replies: 7
Views: 8203
|
Forum: General CCS C Discussion Posted: Mon Mar 10, 2008 6:25 am Subject: CAN bus newbie questions... Also, thoughts & experiences |
So I take it you mean that you just stuff them in one byte at a time, and send floating point values using the PIC 4 byte floating point format?
Is it true that when you send the CAN message via th ... |
Topic: CAN bus newbie questions... Also, thoughts & experiences |
jseidmann
Replies: 7
Views: 8203
|
Forum: General CCS C Discussion Posted: Sun Mar 09, 2008 5:40 pm Subject: CAN bus newbie questions... Also, thoughts & experiences |
Here are some of the answers that I have found while looking (with help of PCM Programmer's assitance...)
-Pull Up/Pull Down resistors not needed
-Max distance is 40 Meters for 1 MBit, and 500 m ... |
Topic: CAN bus newbie questions... Also, thoughts & experiences |
jseidmann
Replies: 7
Views: 8203
|
Forum: General CCS C Discussion Posted: Sat Mar 08, 2008 12:55 pm Subject: CAN bus newbie questions... Also, thoughts & experiences |
Hi All,
I am currently moving my application from an RS-485 based communications system to a CAN bus system due to the benefits of CAN (such as arbitration, broadcasting, message resending, etc...) ... |
Topic: EEPROM Variable getting written - but not in code! |
jseidmann
Replies: 7
Views: 7735
|
Forum: General CCS C Discussion Posted: Fri Nov 30, 2007 12:48 pm Subject: EEPROM Variable getting written - but not in code! |
Did you have issues with the internal EEPROM? |
Topic: EEPROM Variable getting written - but not in code! |
jseidmann
Replies: 7
Views: 7735
|
Forum: General CCS C Discussion Posted: Fri Nov 30, 2007 8:05 am Subject: EEPROM Variable getting written - but not in code! |
I'm not sure what you mean by a 'refresh' routine in your post.
I am checking all the deta before it is being sent from the PC to the PIC, and I am checking it on the PC and on the PIC as well, a ... |
Topic: EEPROM Variable getting written - but not in code! |
jseidmann
Replies: 7
Views: 7735
|
Forum: General CCS C Discussion Posted: Thu Nov 29, 2007 8:27 am Subject: EEPROM Variable getting written - but not in code! |
I put the code onto a different microcontroller (brand new), and ran the same test and after 4-5 hours I had the same problem happening again.
However, doing the calculation, that does come out ... |
Topic: EEPROM Variable getting written - but not in code! |
jseidmann
Replies: 7
Views: 7735
|
Forum: General CCS C Discussion Posted: Thu Nov 29, 2007 8:02 am Subject: EEPROM Variable getting written - but not in code! |
I have a fairly length program, so I cannot publish it here, but my problem is this: My program is an RS-232 based program, and via RS-232 you can change the variables in the EEPROM, so to test the p ... |
Topic: Strings in function act as if they are STATIC, but are not! |
jseidmann
Replies: 5
Views: 5563
|
Forum: General CCS C Discussion Posted: Fri Jul 27, 2007 12:12 pm Subject: Strings in function act as if they are STATIC, but are not! |
Is there an easy way to initialize them? Is there a function built in to do so? |
Topic: Strings in function act as if they are STATIC, but are not! |
jseidmann
Replies: 5
Views: 5563
|
Forum: General CCS C Discussion Posted: Fri Jul 27, 2007 11:57 am Subject: Strings in function act as if they are STATIC, but are not! |
Hello,
I have a function in my code that does some work with strings, and I declare two strings in the function (s
char s[4];
char sTemp1[8];
The problem is that I would assu ... |
Topic: using CCP to create 1KHz signal |
jseidmann
Replies: 17
Views: 25012
|
Forum: General CCS C Discussion Posted: Fri Mar 24, 2006 3:23 pm Subject: using CCP to create 1KHz signal |
PCM,
Thanks for your post! I tried it with a T1_DIV_2 and that worked no problem. I just had to change the CCP_1 value to get the frequency to what it should be and voila, it worked perfectly. T ... |
Topic: using CCP to create 1KHz signal |
jseidmann
Replies: 17
Views: 25012
|
Forum: General CCS C Discussion Posted: Fri Mar 24, 2006 12:51 pm Subject: using CCP to create 1KHz signal |
PCM,
We manufacture a finished product here and there is a socket where the microcontroller goes. I have simply switched the PIC18F252 to the PIC18F2620 and burned the HEX file to it. The circuit ... |
Topic: using CCP to create 1KHz signal |
jseidmann
Replies: 17
Views: 25012
|
Forum: General CCS C Discussion Posted: Fri Mar 24, 2006 7:49 am Subject: using CCP to create 1KHz signal |
Thank you rberek,
I am at a loss as to what the problem could be. I will e-mail the code to CCS tech support and see if they can get it working. If anyone out there has a PIC18F2620 in use and do ... |
Topic: using CCP to create 1KHz signal |
jseidmann
Replies: 17
Views: 25012
|
Forum: General CCS C Discussion Posted: Thu Mar 23, 2006 10:14 am Subject: using CCP to create 1KHz signal |
rberek,
I would appreciate that very much. I think version 3.242 would be fine to use it with. If you let me know the results, I would greatly appreciate it. If it comes out with a simulated 1.1 ... |
Topic: using CCP to create 1KHz signal |
jseidmann
Replies: 17
Views: 25012
|
Forum: General CCS C Discussion Posted: Thu Mar 23, 2006 9:36 am Subject: using CCP to create 1KHz signal |
Does anybody have a PIC18F2620 where they could test out the code that I posted above and see if they can get the 1.1KHz signal? I"m kind of at a loss at what the problem is. Also, if anyone else ha ... |
Topic: using CCP to create 1KHz signal |
jseidmann
Replies: 17
Views: 25012
|
Forum: General CCS C Discussion Posted: Tue Mar 21, 2006 1:18 pm Subject: using CCP to create 1KHz signal |
newguy,
after you suggested it, I tried it and unfortunately it did not help. If you have any further ideas though, i'd be glad to hear it.
Thanks |
|