Author |
Message |
Topic: Software RS232 resource usage |
FISH6942
Replies: 1
Views: 2818
|
Forum: General CCS C Discussion Posted: Thu Apr 05, 2007 8:21 am Subject: Software RS232 resource usage |
I've added a simple software RS232 port on an unused GP I/O pin. The only thing it's being used for is to send out two bytes at startup. After these two bytes are sent it's not used again. The hard ... |
Topic: #include "filename.asm" |
FISH6942
Replies: 1
Views: 3244
|
Forum: General CCS C Discussion Posted: Thu Dec 28, 2006 4:53 pm Subject: #include "filename.asm" |
We're implementing three interrupt handlers and another function in assy language. We'd like to keep the assy source in separate files in order to keep the C source a little cleaner. The only exampl ... |
Topic: 18F toggling pin problem |
FISH6942
Replies: 6
Views: 9010
|
Forum: General CCS C Discussion Posted: Fri Nov 17, 2006 12:29 pm Subject: 18F toggling pin problem |
You may want to look at this topic: http://www.ccsinfo.com/forum/viewtopic.php?t=28710&highlight= |
Topic: Redirecting CCP2 PWM to altenate pin on 18F6310 |
FISH6942
Replies: 6
Views: 10201
|
Forum: General CCS C Discussion Posted: Tue Oct 31, 2006 2:55 pm Subject: Redirecting CCP2 PWM to altenate pin on 18F6310 |
I loaded V4.013 and it is properly writing to this config register. (both bits high)
FWIW, I had our Microchip FAE write a similar program using their C18 compiler. I loaded their hex file and ran ... |
Topic: Redirecting CCP2 PWM to altenate pin on 18F6310 |
FISH6942
Replies: 6
Views: 10201
|
Forum: General CCS C Discussion Posted: Tue Oct 31, 2006 12:29 pm Subject: Redirecting CCP2 PWM to altenate pin on 18F6310 |
PCM - I should have mentioned that I'm not using any built-in functions for controlling the PWM, I'm writing all the control registers directly (seems safer that way).
Your last suggestion regard ... |
Topic: Redirecting CCP2 PWM to altenate pin on 18F6310 |
FISH6942
Replies: 6
Views: 10201
|
Forum: General CCS C Discussion Posted: Mon Oct 30, 2006 8:54 am Subject: Redirecting CCP2 PWM to altenate pin on 18F6310 |
Post your version of the compiler. You can find this at the top of the .LST
file, which will be in your project directory.
CCS PCH C Compiler, Version 3.224
MPLAB V7.30 |
Topic: Redirecting CCP2 PWM to altenate pin on 18F6310 |
FISH6942
Replies: 6
Views: 10201
|
Forum: General CCS C Discussion Posted: Sun Oct 29, 2006 9:38 am Subject: Redirecting CCP2 PWM to altenate pin on 18F6310 |
RC1 is the default pin for CCP2 and RE7 is the alternate pin. I can get the desired PWM signal to come out on RC1 but when attempting to redirect to RE7, it stops on RC1 (as expected) but never shows ... |
Topic: Clean way to write to non-contiguous outputs |
FISH6942
Replies: 1
Views: 3623
|
Forum: General CCS C Discussion Posted: Mon Jul 31, 2006 2:00 pm Subject: Clean way to write to non-contiguous outputs |
Using a PIC18F6310 with two large banks of LEDs. Each LED is connected to it's own output. The order that the LEDs are displayed doesn't correspond with the output ports. In other words, LEDs 0-7 a ... |
Topic: Interesting UART situation |
FISH6942
Replies: 3
Views: 26537
|
Forum: General CCS C Discussion Posted: Mon Mar 06, 2006 3:31 pm Subject: Interesting UART situation |
After looking at the errata, I reworked the code and got it to work properly for my application. However, I only need to write to the 9th address bit once during packet transmission. I found that if ... |
Topic: Interesting UART situation |
FISH6942
Replies: 3
Views: 26537
|
Forum: General CCS C Discussion Posted: Sat Mar 04, 2006 9:39 am Subject: Interesting UART situation |
ckielstra - You are correct, the eratta describes the problem. I'll go with their suggested fix. It was really baffling as to why this was happening.
Thanks!! |
Topic: 9 bits rs232 communication failure |
FISH6942
Replies: 2
Views: 11695
|
Forum: General CCS C Discussion Posted: Fri Mar 03, 2006 3:18 pm Subject: Re: 9 bits rs232 communication failure |
Attention,
CCs complier does not send 9 bits on rs232 please check it
I'm currently working with their compiler in a 9-bit application and it definitely does send all 9 bits for me. |
Topic: Interesting UART situation |
FISH6942
Replies: 3
Views: 26537
|
Forum: General CCS C Discussion Posted: Fri Mar 03, 2006 3:16 pm Subject: Interesting UART situation |
I came across an interesting situation with an RS-485 app I'm putting together. I'm using the 9th bit and setting it for the first byte of the packet and clearing it for the rest of the packet.
... |
Topic: Source file sharing |
FISH6942
Replies: 2
Views: 6688
|
Forum: General CCS C Discussion Posted: Tue Feb 28, 2006 9:35 am Subject: Source file sharing |
Hi - I've been using the CCS compiler off and on for the past 5 years but here's my first question on this board.
I have one file that is common between 4 different builds for 4 different boards. ... |
|