Author |
Message |
Topic: PIC24HJ128GP202 + FUSES + setup_oscillator |
pasini
Replies: 0
Views: 2263
|
Forum: General CCS C Discussion Posted: Mon Feb 02, 2009 8:21 am Subject: PIC24HJ128GP202 + FUSES + setup_oscillator |
Hi,
I have a project with PIC24HJ128GP202 and I have some doubts about FUSES and setup_oscillator.
I want the PIC to run at 40MIPS from internal oscillator and datasheet says that the basic frequ ... |
Topic: 24HJ128GP202 Compiler Doubt |
pasini
Replies: 8
Views: 6437
|
Forum: General CCS C Discussion Posted: Tue Jan 27, 2009 12:02 pm Subject: PROBLEM SOLVED AND UNDERSTOOD !!!!!!!!! |
Hi all,
I solved the problem.
The thing is that I was including all the files in the project. As CCS answered me, I have to add the statment #include "abc.c" as a driver file in the main f ... |
Topic: 24HJ128GP202 Compiler Doubt |
pasini
Replies: 8
Views: 6437
|
Forum: General CCS C Discussion Posted: Tue Jan 27, 2009 7:22 am Subject: 24HJ128GP202 Compiler Doubt |
I updated to MPLAB 8.20 and CCS 4.085 but no way I can compile the files. I tought it could be Windows Vista but even with XP I cannot compile anything.
I am becoming upset with this problem :(
Th ... |
Topic: 24HJ128GP202 Compiler Doubt |
pasini
Replies: 8
Views: 6437
|
Forum: General CCS C Discussion Posted: Mon Jan 26, 2009 10:54 am Subject: 24HJ128GP202 Compiler Doubt |
The way you write it, I can compile the code. But the problem is when I separate the code into multiple files, such as init.h init.c and so on.
My project will increase in size so I really would like ... |
Topic: 24HJ128GP202 Compiler Doubt |
pasini
Replies: 8
Views: 6437
|
Forum: General CCS C Discussion Posted: Mon Jan 26, 2009 6:53 am Subject: Error still there |
I included the #device statement but the error is still there. The compiler says the error is in the init.h file ! Now files are like these:
#include <24HJ128GP202.h>
#device ADC=10
#fus ... |
Topic: 24HJ128GP202 Compiler Doubt |
pasini
Replies: 8
Views: 6437
|
Forum: General CCS C Discussion Posted: Sun Jan 25, 2009 4:57 pm Subject: 24HJ128GP202 Compiler Doubt |
Hi, I'm using PIC24HJ128GP202, MPLAB 8.14 and CCS 4.084
I am new to 16bit MCU, but I have good knowledge of 8bits MCU and CCS compiler.
Since, PIC24 is a 16 bit compiler and from the datasheets, ... |
Topic: Another problem with timer1 - PIC16F913 |
pasini
Replies: 1
Views: 3011
|
Forum: General CCS C Discussion Posted: Mon Dec 08, 2008 10:36 am Subject: Another problem with timer1 - PIC16F913 |
MPLAB 8.10 / CCS 3.223 / PIC16F913
Hi I have a PIC 16F913 with 32kHz crystal. I want the timer1 to be interrupted every 250ms to verify PIN status and count 4ticks to make 1second. If I set the ti ... |
Topic: USB CDC / PIC18LF2550 |
pasini
Replies: 2
Views: 4223
|
Forum: General CCS C Discussion Posted: Thu Nov 27, 2008 8:19 am Subject: USB CDC / PIC18LF2550 |
PIC18LF2550 - MPLAB 8.10 CCS4.082
Hi, I can exchange data with the computer (hyperterminal) as CDC device but suddenly PIC stops working. It is powered but it seams to crash. I think the connection ... |
Topic: PIC16F913 + EEPROM (internal) |
pasini
Replies: 4
Views: 6433
|
Forum: General CCS C Discussion Posted: Mon Nov 17, 2008 7:00 pm Subject: PIC16F913 + EEPROM (internal) |
MPLAB 8.10 + CCS3.223 + PIC16F913
Hi, I am trying to read/write data from the internal eeprom of the PIC but I have no success. I cannot read or write anything. But if I initialize data with #rom d ... |
Topic: PIC16F913 / LCD pins |
pasini
Replies: 1
Views: 3758
|
Forum: General CCS C Discussion Posted: Wed Sep 24, 2008 8:24 am Subject: PIC16F913 / LCD pins |
Hi,
I am using PIC16F913 as a LCD driver, with 3 commons and 15 segments. Some segments are working fine and I can see them on the LCD, but others are not working. Watching the oscilloscope, I notice ... |
Topic: 5V tolerant inputs |
pasini
Replies: 1
Views: 3080
|
Forum: General CCS C Discussion Posted: Mon Jun 04, 2007 6:11 pm Subject: 5V tolerant inputs |
Hi all,
I am using PIC18F87J50 at 3.3V
When you say that digital pins are 5V tolerant are UART/I2C/SPI pins included ?
If so, I can connect MCU at 3.6V to a I2C peripheral working at 5V, correct ? ... |
Topic: string comparison error |
pasini
Replies: 1
Views: 4696
|
Forum: General CCS C Discussion Posted: Thu Dec 14, 2006 6:52 pm Subject: string comparison error |
MPLAB 7.41 CCS 4.005 PIC18F2550
Hi all,
I am just trying to compare a string to a constant but I am receiving 2 compiler errors:
1) attempt to create a pointer to a constant
2) a numeric expressio ... |
Topic: USB + UART(RS232) Interrupt |
pasini
Replies: 1
Views: 5192
|
Forum: General CCS C Discussion Posted: Tue Dec 05, 2006 7:11 pm Subject: USB + UART(RS232) Interrupt |
Hi All,
MPLAB 7.41 CCS 4.005
PIC18F2550
I am trying to read a character from the UART (RS232 with MAX232) that comes from my equipo and send it to the USB. USB is working fine and data is reachin ... |
Topic: I2C with 3 PICs |
pasini
Replies: 18
Views: 20484
|
Forum: General CCS C Discussion Posted: Sun Nov 12, 2006 6:08 pm Subject: I2C with 3 PICs |
Hi,
I have faced some problems with multiple devices in the I2C bus (1 MCU + 1 I/O expander + 1 LCD driver). It worked fine with 1 device but not 2. Try removing the FORCE_HW from the #use I2C stat ... |
Topic: I2C with 3 PICs |
pasini
Replies: 18
Views: 20484
|
Forum: General CCS C Discussion Posted: Sun Nov 12, 2006 6:05 pm Subject: I2C with 3 PICs |
Hi,
I have faced some problems with multiple devices in the I2C bus (1 MCU + 1 I/O expander + 1 LCD driver). It worked fine with 1 device but not 2. Try removing the FORCE_HW from the #use I2C stat ... |
|