Author |
Message |
Topic: MAX521 Driver |
StuartH
Replies: 0
Views: 28368
|
Forum: Code Library Posted: Tue Jul 11, 2006 4:22 pm Subject: MAX521 Driver |
This is a simple driver for the Maxim MAX521 8 channel digital to analogue converter (DAC). It assumes that I2C has been set up elsewhere in your program.
////////////////////////////////////// ... |
Topic: PIC18LF452 programming woes - ICSP |
StuartH
Replies: 22
Views: 23592
|
Forum: General CCS C Discussion Posted: Tue Jul 11, 2006 4:08 pm Subject: PIC18LF452 programming woes - ICSP |
Ben, just set A4 to float. (input). That should sort the problem without hardware modification.
Sorry I couldn't be more helpful on the DIY board. |
Topic: Writing EE values during powerup |
StuartH
Replies: 2
Views: 5206
|
Forum: General CCS C Discussion Posted: Fri Mar 17, 2006 7:13 am Subject: Writing EE values during powerup |
Do you mean a one-off configuration? That is, you only want to write to the EEPROM once on the first powerup after the device has been programmed, but ignoring the initialization routine at the next a ... |
Topic: Sending +++ to modem |
StuartH
Replies: 6
Views: 18915
|
Forum: General CCS C Discussion Posted: Wed Mar 08, 2006 6:44 pm Subject: Sending +++ to modem |
...or you pull down the CTS Line. In standart configuration the modem should interpret this as ATH !
DTR actually, for every modem I've come across. |
Topic: Problem with driving a MAX6952 |
StuartH
Replies: 4
Views: 16960
|
Forum: General CCS C Discussion Posted: Sun Mar 05, 2006 1:14 pm Subject: Problem with driving a MAX6952 |
As I said, read the datasheet and look for the traps...
The device powers up in low power standby mode. Your code as it stands won't work because you don't make any attempt to enable the LED driver ... |
Topic: Problem with driving a MAX6952 |
StuartH
Replies: 4
Views: 16960
|
Forum: General CCS C Discussion Posted: Sun Mar 05, 2006 9:56 am Subject: Problem with driving a MAX6952 |
I posted some code for a MAX6953 under my old username quite a while back. That should illustrate the things you have to do.
It's been a long time since I used it and my copy of the datasheet is buri ... |
Topic: Bug with configuration bits in PIC18F2520? |
StuartH
Replies: 6
Views: 9025
|
Forum: General CCS C Discussion Posted: Tue Sep 27, 2005 3:13 pm Subject: Bug with configuration bits in PIC18F2520? |
I've had problems with this device with the brownout voltage select not programming correctly. It didn't matter in my application so I just ignored it, although this fuse worked properly in a 4520.
... |
Topic: Using a PIC on a breadboard... |
StuartH
Replies: 17
Views: 19786
|
Forum: General CCS C Discussion Posted: Fri Sep 23, 2005 6:03 am Subject: Using a PIC on a breadboard... |
I've never had any serious problems with solderless breadboards either. In fact, they've saved me a whole heap of development time. I've run many different types of PIC, with clock rates from 1-16MHz ... |
Topic: 18f2520 internal oscillator 16mhz pll enabled rs232 |
StuartH
Replies: 3
Views: 5552
|
Forum: General CCS C Discussion Posted: Mon Sep 05, 2005 12:59 pm Subject: 18f2520 internal oscillator 16mhz pll enabled rs232 |
Thw 2520/4520 series has some silicon problems. I suggest you read the Silicon Errata document available on the Microchip website to see if any of the information is applicable to you.
As you seem ... |
Topic: PIC18F452 and PIC18F4520 |
StuartH
Replies: 4
Views: 6629
|
Forum: General CCS C Discussion Posted: Wed Aug 24, 2005 4:46 am Subject: PIC18F452 and PIC18F4520 |
I suspect that when Microchip get the bugs out of the silicon the 4520 will become a very popular chip - and, as the replacement for the 452, I would expect CCS to provide support for it in a future v ... |
Topic: PIC18F452 and PIC18F4520 |
StuartH
Replies: 4
Views: 6629
|
Forum: General CCS C Discussion Posted: Tue Aug 23, 2005 2:04 pm Subject: PIC18F452 and PIC18F4520 |
The 452 might be technically obsolete, but if you've got a stock of the things then keep using them in preference to the 4520. At the moment the 4520 (and 2520) is a nightmare.
The thread reference ... |
Topic: 18F4520 and I2C Master |
StuartH
Replies: 4
Views: 6711
|
Forum: General CCS C Discussion Posted: Sun Aug 21, 2005 7:54 am Subject: 18F4520 and I2C Master |
Well, I've got quite a lot of these 4520s, and Digikey seem a tad expensive to me - my company is only a two man outfit and we're not rich enough to take that kind of loss lightly. I've been giving it ... |
Topic: mixing soft and hard UARTs in PIC16F877A |
StuartH
Replies: 1
Views: 3930
|
Forum: General CCS C Discussion Posted: Sun Aug 21, 2005 7:38 am Subject: mixing soft and hard UARTs in PIC16F877A |
Short answer is yes, you can. |
Topic: 18F4520 and I2C Master |
StuartH
Replies: 4
Views: 6711
|
Forum: General CCS C Discussion Posted: Fri Aug 19, 2005 4:59 pm Subject: 18F4520 and I2C Master |
Unfortunately, the distributor I have to deal with has already stopped stocking 452s without warning, hence the change. Oh, and I thought they were equivalent, too! Maybe I'll just prune back the code ... |
Topic: 18F4520 and I2C Master |
StuartH
Replies: 4
Views: 6711
|
Forum: General CCS C Discussion Posted: Fri Aug 19, 2005 4:21 pm Subject: 18F4520 and I2C Master |
These 4520s of mine seem intent on a rapid and violent journey to the nearest bin! After yesterday's WDT bother, the MSSP module is now playing silly bu***rs - actually, it won't work at all.
Using ... |
|