Author |
Message |
Topic: PIC18F6722 development board |
M0KHZ
Replies: 0
Views: 2463
|
Forum: General CCS C Discussion Posted: Sun Dec 14, 2008 5:05 am Subject: PIC18F6722 development board |
Thought this might be of interest, I’ve just finished creating a dev board for a PIC18F6722. Here are the specs:
ICD / ICSP interface
EEPROM 2x 512
2 x RS232
Header for graphic LCD ( T6963T � ... |
Topic: 48 bit data type |
M0KHZ
Replies: 3
Views: 3768
|
Forum: General CCS C Discussion Posted: Mon Nov 17, 2008 3:15 pm Subject: 48 bit data type |
Thanks guys, you've given me loads to sleep on, I don't think a new compiler is the answer here
Kevin - M0KHZ |
Topic: 48 bit data type |
M0KHZ
Replies: 3
Views: 3768
|
Forum: General CCS C Discussion Posted: Mon Nov 17, 2008 11:45 am Subject: 48 bit data type |
I’m thinking about starting an application that requires a 48 bit word
to be calculated (FTW), the calc is straight forward,
FTW = (2 raised to the power of 48 * (DDS_out/DDS_Clock)).
Is th ... |
Topic: An array of Strings |
M0KHZ
Replies: 6
Views: 6350
|
Forum: General CCS C Discussion Posted: Fri Nov 14, 2008 2:07 pm Subject: An array of Strings |
Sorry for the delay in responding, but the day job has got in the way of fun!
Thanks for the answer guys. It's now working.
Kevin - M0KHZ |
Topic: An array of Strings |
M0KHZ
Replies: 6
Views: 6350
|
Forum: General CCS C Discussion Posted: Wed Nov 12, 2008 11:41 am Subject: An array of Strings |
I've gone around in circles regarding this issue, and don't understand
why the code below doesn't compile.
compiler - Version 3.249
compiler error message:
Array of bits not permitted
Any ... |
Topic: Multiple EEPROMs on I2C Bus |
M0KHZ
Replies: 4
Views: 5665
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2008 3:17 am Subject: Multiple EEPROMs on I2C Bus |
Thanks guys, as usual I was doing something stupid
I've checked the schematic and all OK, tonight I'll modify the code and try again, I'll let you know how I get on.
Kevin |
Topic: Multiple EEPROMs on I2C Bus |
M0KHZ
Replies: 4
Views: 5665
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2008 1:39 am Subject: Multiple EEPROMs on I2C Bus |
I have two EEPROMs on my I2C bus, the chip select lines are:
EEPROM A – A0 Low, A1 Low, A2 Low
EEPROM B – A0 High, A1 Low, A2 Low
I am able to write and read to EEPROM with:
write_eeprom(poi ... |
Topic: 18F6722 serial interrupt problems. |
M0KHZ
Replies: 3
Views: 5721
|
Forum: General CCS C Discussion Posted: Sun Aug 17, 2008 2:57 am Subject: 18F6722 serial interrupt problems. |
THANKS guys, you've really helped sort out a big headache! the FIFO is now filling on interrupt
All I have to do now is sort out the rest of the code!
Kevin - M0KHZ |
Topic: 18F6722 serial interrupt problems. |
M0KHZ
Replies: 3
Views: 5721
|
Forum: General CCS C Discussion Posted: Sat Aug 16, 2008 9:03 am Subject: 18F6722 serial interrupt problems. |
Any pointers as to what I'm doing wrong here!
I'm trying to populate a FIFO using a serial interrupt routine.
To prove the comms ports are set up the code below (without the ISR) works fine:
#i ... |
Topic: Sum bytes in a string? |
M0KHZ
Replies: 2
Views: 3930
|
Forum: General CCS C Discussion Posted: Mon Jul 14, 2008 1:56 am Subject: Sum bytes in a string? |
Maybe just a Monday morning thing but how do I sum all the bytes in a string (mod 256) to enable a check sum to be developed?
Kevin - M0KHZ |
Topic: eDIP320-8 Driver |
M0KHZ
Replies: 0
Views: 2948
|
Forum: General CCS C Discussion Posted: Tue Jul 08, 2008 4:07 am Subject: eDIP320-8 Driver |
Has anyone on the group any experience with the eDIP320-8 intelligent graphic display?
I’m hoping some one has a suite of driver routines, including routines for the touch
display, they’d like ... |
Topic: Random reset - 18F4550 |
M0KHZ
Replies: 3
Views: 4756
|
Forum: General CCS C Discussion Posted: Sun Feb 24, 2008 11:57 am Subject: Random reset - 18F4550 |
Hi Eric
I've modified the code to include #fuses NOWDT
and it's been running for nearly half an hour perfectly!
Looks as though this has been the problem all along.
I'll keep it running overni ... |
Topic: Random reset - 18F4550 |
M0KHZ
Replies: 3
Views: 4756
|
Forum: General CCS C Discussion Posted: Sun Feb 24, 2008 11:24 am Subject: Random reset - 18F4550 |
Hi Eric
I'll try the NOWDT, and let you know.
I forgot to mention I'm using an external clock (gps derived 10Mhz) hence the #fuses EC_IO statement.
Back shortly
Kevin - M0KHZ |
Topic: Random reset - 18F4550 |
M0KHZ
Replies: 3
Views: 4756
|
Forum: General CCS C Discussion Posted: Sun Feb 24, 2008 11:07 am Subject: Random reset - 18F4550 |
Hi Guys, this issue is bugging the life out of me!
I've stripped the code down to basics, and I'm still getting a semi random reset.
The MCLR is being pulled up to 5V with a 3K3 resistor (have chang ... |
Topic: Mapping pins to LCD.C |
M0KHZ
Replies: 6
Views: 5178
|
Forum: General CCS C Discussion Posted: Sat Feb 16, 2008 11:38 am Subject: Mapping pins to LCD.C |
Hi It was no problem, the link you posted had a link to the 4x20 anyway, the code works a treat, thanks again.
The next stage to to structure the code!
I'm thinking state machine, and have an id ... |
|