PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 360

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
4. Nothing is being received.
5. The PIC® is always receiving data via RS-232 even when none is being sent.
6. Compiler reports INVALID BAUD RATE.
346
First be sure the PIC® can send data. Use the following main() for testing:
When connected to a PC typing A should show B echoed back.
If nothing is seen coming back (except the initial "Start"), check the RCV pin on the PIC®
with a logic probe. You should see a HIGH state and when a key is pressed at the PC, a
pulse to low. Trace back to find out where it is lost.
A. Check that the INVERT option in the USE RS232 is right for your level converter. If the
RCV pin is HIGH when no data is being sent, you should NOT use INVERT. If the pin is low
when no data is being sent, you need to use INVERT.
B. Check that the pin is stable at HIGH or LOW in accordance with A above when no data is
being sent.
C. When using PORT A with a device that supports the SETUP_ADC_PORTS function make
sure the port is set to digital inputs. This is not the default. The same is true for devices with
a comparator on PORT A.
A. When using a software RS232 (no built-in UART), the clock cannot be really slow when
fast baud rates are used and cannot be really fast with slow baud rates. Experiment with the
clock/baud rate values to find your limits.
B. When using the built-in UART, the requested baud rate must be within 3% of a rate that
can be achieved for no error to occur. Some parts have internal bugs with BRGH set to 1 and
the compiler will not use this unless you specify BRGH1OK in the #USE RS232 directive.
main() {
}
printf("start");
while(TRUE)
putc( getc()+1 );

Related parts for PCDIDE COMPILER