Author |
Message |
Topic: FAT.C and 2GB SD card |
rprodrigues
Replies: 1
Views: 3949
|
Forum: General CCS C Discussion Posted: Wed Oct 20, 2010 6:09 am Subject: FAT.C and 2GB SD card |
Hello all,
Anyone got the fat.c + mmcsd.c drivers working correctly for a 2GB SD with FAT32 ?
I am facing several errors when trying to write to the SD card.
BTW, the SD has no MBR.
Th ... |
Topic: Using HIGH and FAST interrupts with PIC18F2620 |
rprodrigues
Replies: 7
Views: 9537
|
Forum: General CCS C Discussion Posted: Sun Nov 02, 2008 3:57 pm Subject: Thank you! |
Ttelmah, ckielstra and PCM programmer,
thank you very much for the excelent explantion given!
Now I do know what is going on and how to handle it.
Thank you |
Topic: Using HIGH and FAST interrupts with PIC18F2620 |
rprodrigues
Replies: 7
Views: 9537
|
Forum: General CCS C Discussion Posted: Sun Nov 02, 2008 12:54 pm Subject: Using HIGH and FAST interrupts with PIC18F2620 |
Hello all,
I'm trying to use HIGH and FAST interrupts in PIC18F2620 so I can get one FAST interrupt for ext1 and one HIGH interrupt for timer0, but when I use
#int_ext1 FAST
void ISR_EXT1(v ... |
Topic: What is the timer 1 maximum external OSC frequency? |
rprodrigues
Replies: 2
Views: 3145
|
Forum: General CCS C Discussion Posted: Sat Aug 30, 2008 2:16 pm Subject: What is the timer 1 maximum external OSC frequency? |
Did you have a look at table 28-13 (page 380) of the PIC18F4550 data sheet?
No. Thank you! It's 50 kHz. |
Topic: What is the timer 1 maximum external OSC frequency? |
rprodrigues
Replies: 2
Views: 3145
|
Forum: General CCS C Discussion Posted: Sat Aug 30, 2008 1:34 pm Subject: What is the timer 1 maximum external OSC frequency? |
Hello all,
Can anyone tell me what is the maximum external crystal frequency for the Timer1 PIC18F4550 module?
Is it possible to use a 4.9152 MHz external crystal for the Timer 1 module?
Th ... |
Topic: Using both SPI and EUSART HW modules in PIC18F4550 |
rprodrigues
Replies: 2
Views: 4637
|
Forum: General CCS C Discussion Posted: Sat Aug 02, 2008 7:29 am Subject: Using both SPI and EUSART HW modules in PIC18F4550 |
This thread discusses the problem:
http://www.ccsinfo.com/forum/viewtopic.php?t=29028
Note that the register addresses given in treitmey's sample code are
for the 16F PICs. The addresses for the 1 ... |
Topic: Using both SPI and EUSART HW modules in PIC18F4550 |
rprodrigues
Replies: 2
Views: 4637
|
Forum: General CCS C Discussion Posted: Thu Jul 31, 2008 12:36 pm Subject: Using both SPI and EUSART HW modules in PIC18F4550 |
Hi all,
I do need to use both the SPI and EUSART hardware modules in PIC18F4550, but, as one may notice by seeing its datasheet, the EUSART and SPI (SSP) modules share the pin RC7 (RX/DT/SDO).
... |
Topic: PIC18F2620 + GPS: Software rs232 problem (solved) |
rprodrigues
Replies: 14
Views: 11605
|
Forum: General CCS C Discussion Posted: Wed Mar 12, 2008 3:53 pm Subject: PIC18F2620 + GPS: Software rs232 problem (solved) |
Should the max232 act that way or may be something wrong if it?
It shouldn't oscillate when nothing is being transmitted.
Hi, gribas,
Thank you very much for your help!
The problem w ... |
Topic: PIC18F2620 + GPS: Software rs232 problem (solved) |
rprodrigues
Replies: 14
Views: 11605
|
Forum: General CCS C Discussion Posted: Fri Mar 07, 2008 1:35 pm Subject: PIC18F2620 + GPS: Software rs232 problem (solved) |
Here's an interrupt driven version.
#include <18F2620.h>
#device adc=8
#FUSES NOWDT, WDT128, HS, NOPROTECT, NOIESO, NOBROWNOUT, BORV21, NOPUT, NOCPD,\
NOSTVREN,NOLV ... |
Topic: PIC18F2620 + GPS: Software rs232 problem (solved) |
rprodrigues
Replies: 14
Views: 11605
|
Forum: General CCS C Discussion Posted: Fri Mar 07, 2008 1:13 pm Subject: PIC18F2620 + GPS: Software rs232 problem (solved) |
Most GPS units speak when they want. They also say what they want.
This means the PIC has to be able to receive any sentence at any time.
That means its best to have a circular buffer to capture a ... |
Topic: PIC18F2620 + GPS: Software rs232 problem (solved) |
rprodrigues
Replies: 14
Views: 11605
|
Forum: General CCS C Discussion Posted: Fri Mar 07, 2008 12:25 pm Subject: PIC18F2620 + GPS: Software rs232 problem (solved) |
Here's an interrupt driven version.
#include <18F2620.h>
#device adc=8
#FUSES NOWDT, WDT128, HS, NOPROTECT, NOIESO, NOBROWNOUT, BORV21, NOPUT, NOCPD,\
NOSTVREN,NOLV ... |
Topic: PIC18F2620 + GPS: Software rs232 problem (solved) |
rprodrigues
Replies: 14
Views: 11605
|
Forum: General CCS C Discussion Posted: Thu Mar 06, 2008 2:35 pm Subject: PIC18F2620 + GPS: Software rs232 problem (solved) |
I think that even if he had other interrupts they would have been disabled because he's reading from inside an interrupt routine.
What drives the external interrupt? How do you know how many byte ... |
Topic: PIC18F2620 + GPS: Software rs232 problem (solved) |
rprodrigues
Replies: 14
Views: 11605
|
Forum: General CCS C Discussion Posted: Thu Mar 06, 2008 2:01 pm Subject: PIC18F2620 + GPS: Software rs232 problem (solved) |
Do you have any interrupts active, in code that is not shown ?
If so, those interrupts will probably disrupt the software UART.
No, I don't have any interrupts active. |
Topic: PIC18F2620 + GPS: Software rs232 problem (solved) |
rprodrigues
Replies: 14
Views: 11605
|
Forum: General CCS C Discussion Posted: Thu Mar 06, 2008 11:51 am Subject: PIC18F2620 + GPS: Software rs232 problem (solved) |
Hi all,
I am trying to receive data from a GPS unit (at 4800 bits/s) and trough a software rs232 interface.
The problem is that the data received from the software rs-232 has errors (garbage). S ... |
|