CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 66 matches
CCS Forum Index
Author Message
  Topic: 18LF's not programming while 18F's are...
TSchultz

Replies: 28
Views: 69301

PostForum: General CCS C Discussion   Posted: Thu Jun 16, 2005 5:07 am   Subject: 18LF's not programming while 18F's are...
Ran into a similiar problem with the PIC18LF8720 chips a while ago.

After doing a great deal of testing, and having several discussions with Microchip the solution was to ensure all of the followin ...
  Topic: RS232 to RS485
TSchultz

Replies: 3
Views: 7038

PostForum: General CCS C Discussion   Posted: Sat May 07, 2005 6:34 am   Subject: RS232 to RS485
If you are just starting out with RS485 save yourself some trouble and use one of the trasceiver chips that have fail-safe features. This will ensure you always have a valid logic level when no node ...
  Topic: RS422 comm slowing down the CPU
TSchultz

Replies: 2
Views: 5988

PostForum: General CCS C Discussion   Posted: Thu Apr 21, 2005 6:52 am   Subject: RS422 comm slowing down the CPU
You really need to reduce the code in your serial interrupt handler. You should just receive, maybe validate, the packet, then once you have the full packet set a flag so a handler in the main loop c ...
  Topic: Framing and Overrun Errors on RS485 bus
TSchultz

Replies: 5
Views: 13374

PostForum: General CCS C Discussion   Posted: Wed Apr 06, 2005 10:02 am   Subject: Framing and Overrun Errors on RS485 bus
For a turn-around delay, in a strict environment where I have designed all nodes, I normally use a delay of 3-5 byte periods (most of my links operate at 57.6Kbps or 115.2Kbps). If I have a PC involv ...
  Topic: Framing and Overrun Errors on RS485 bus
TSchultz

Replies: 5
Views: 13374

PostForum: General CCS C Discussion   Posted: Wed Apr 06, 2005 6:30 am   Subject: Framing and Overrun Errors on RS485 bus
One thing you need to make sure of is that there is a turn-around delay before any node transmits. This is especially critical if the connection is a 2 wire, half duplex interface. There has to be a ...
  Topic: ICD-U40 with Linux
TSchultz

Replies: 2
Views: 31420

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Mon Apr 04, 2005 7:23 am   Subject: ICD-U40 with Linux
Unfortunately I have not yet seen a debug environment for the PIC micros that runs natively under Linux. There are native debuggers for the Atmel AVR and TI MSP430 micros.

You may have luck runnin ...
  Topic: write sector on 128 mb card didn't work but on 32m it work
TSchultz

Replies: 3
Views: 7891

PostForum: General CCS C Discussion   Posted: Wed Mar 30, 2005 10:16 am   Subject: write sector on 128 mb card didn't work but on 32m it work
Unless the 128MB card has multiple <=32MB partitions it will have a FAT32 format, the 32MB card will have a FAT16 format.
  Topic: power down & on mmc by micro
TSchultz

Replies: 1
Views: 5210

PostForum: General CCS C Discussion   Posted: Tue Mar 29, 2005 2:02 pm   Subject: power down & on mmc by micro
I have seen instances where the MMC needs to be powered OFF then back ON to force a hardware reset of the device. Normally you can just use the software reset sequence but I have encountered instance ...
  Topic: Seeking device suggestion--controller w/ 2 asynch counters
TSchultz

Replies: 8
Views: 12087

PostForum: General CCS C Discussion   Posted: Tue Mar 29, 2005 7:28 am   Subject: Seeking device suggestion--controller w/ 2 asynch counters
As a deviation you may want to look at the Renesas M16C families. Some of the devices actually have on-chip peripherals arranged to directly handle the motor control with the quadrature encoder with ...
  Topic: Running Average Computation
TSchultz

Replies: 15
Views: 34012

PostForum: General CCS C Discussion   Posted: Sun Feb 27, 2005 5:14 pm   Subject: Running Average Computation
If you want things to come up to speed quicker, preprocess the reading and compare with the last, if the difference is larger than X, say 25%, then set last value to equal the current value, this wil ...
  Topic: 1 bit shifting to right on 3-wire serial communication. why?
TSchultz

Replies: 1
Views: 5274

PostForum: General CCS C Discussion   Posted: Sat Feb 19, 2005 8:22 am   Subject: 1 bit shifting to right on 3-wire serial communication. why?
I suspect you may be using the wrong signaling with your SPI. You can setup the SPI for any of the 4 modes. Using the wrong mode can cause a problem like this. Also it looks like you are shifting l ...
  Topic: Ohms to temperature formula for PT-100 RTD
TSchultz

Replies: 13
Views: 53943

PostForum: General CCS C Discussion   Posted: Tue Feb 15, 2005 11:39 am   Subject: Ohms to temperature formula for PT-100 RTD
There are a few items you are going to have a very good handle on to get anywhere near that kind of accuracy/resolution. The biggest one will the the current excitation for the RTD, there is a trade- ...
  Topic: I wanna use E-Stop (B0 Interrupt)
TSchultz

Replies: 4
Views: 7517

PostForum: General CCS C Discussion   Posted: Tue Feb 01, 2005 11:56 am   Subject: I wanna use E-Stop (B0 Interrupt)
What I have always done is to have the e-stop circuitry hardwired to the motor control. I then bring a digital signal back from this circuit to the micro so it "know's" the e-stop status.

This i ...
  Topic: SD memory card what is the dirty little secret.
TSchultz

Replies: 39
Views: 82151

PostForum: General CCS C Discussion   Posted: Tue Dec 28, 2004 8:42 am   Subject: SD memory card what is the dirty little secret.
I have had a few problems with a couple of MMC cards, but I have been able to "fix" them. It seems that the partition table can be easily corrupted in these things and depending on what you have for ...
  Topic: RTOS using CCS Compiler
TSchultz

Replies: 5
Views: 16898

PostForum: General CCS C Discussion   Posted: Mon Dec 27, 2004 11:09 am   Subject: RTOS using CCS Compiler
I have normally written real time applications using a home brew pseudo task engine that runs in an endless loop. With carefull optimization of the underlying routines and some thought to the overall ...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group