Author |
Message |
Topic: Help using enhanced shockburst for the NRF24L01 |
teletype-guy
Replies: 15
Views: 48099
|
Forum: General CCS C Discussion Posted: Thu Apr 04, 2013 6:38 pm Subject: Help using enhanced shockburst for the NRF24L01 |
Hey Unex:
It is really not that complicated. You have a pic running at 5V and a peripheral (24L01) running at 3.3V.
Since the peripheral has 5V-tolerant inputs (no upper clamp diodes on the inp ... |
Topic: hardware -- mixing 5V and 3.3V stuff |
teletype-guy
Replies: 13
Views: 26059
|
Forum: General CCS C Discussion Posted: Sun Mar 17, 2013 8:04 pm Subject: hardware -- mixing 5V and 3.3V stuff |
BTW, there are some 74 series style logic IC's that convert between voltages that are nice if you need them:
SN74LVC2G17DBV
dual input->output level converters.
Hey Ben: Yeah those are h ... |
Topic: hardware -- mixing 5V and 3.3V stuff |
teletype-guy
Replies: 13
Views: 26059
|
Forum: General CCS C Discussion Posted: Sun Mar 17, 2013 10:38 am Subject: hardware -- mixing 5V and 3.3V stuff |
Hey ttelmah:
Yeah, that's a good little chart for input voltages, though I disagree with the cmos levels a bit. To really study it in detail you have to look at the output level range of the sour ... |
Topic: hardware -- mixing 5V and 3.3V stuff |
teletype-guy
Replies: 13
Views: 26059
|
Forum: General CCS C Discussion Posted: Sat Mar 16, 2013 10:53 pm Subject: the bottom-line on 3.3-to-5v conversion |
Hi Jay:
So I'll have to call you when my ASR33 needs a tweak! I also have M14s, 15s, 28s, 31s, 35s, 43s...
I think the sparkfun 5-3V converters are just a mosfet/pullup design, like the app not ... |
Topic: Help using enhanced shockburst for the NRF24L01 |
teletype-guy
Replies: 15
Views: 48099
|
Forum: General CCS C Discussion Posted: Sat Mar 16, 2013 6:39 pm Subject: hardware -- mixing 5V and 3.3V stuff |
Hey UenX:
Careful with mixing 5V and 3.3V stuff. Check this post I did for you:
http://www.ccsinfo.com/forum/viewtopic.php?p=173289#173289 |
Topic: hardware -- mixing 5V and 3.3V stuff |
teletype-guy
Replies: 13
Views: 26059
|
Forum: General CCS C Discussion Posted: Sat Mar 16, 2013 6:36 pm Subject: hardware -- mixing 5V and 3.3V stuff (part 3) |
Part 3:
OK, the first two parts were background detail. Here is what I do for 5V, 3.3V, and conversions:
5V-only systems: HC is ancient now, but it is still an awesome family. Not too fast an ... |
Topic: hardware -- mixing 5V and 3.3V stuff |
teletype-guy
Replies: 13
Views: 26059
|
Forum: General CCS C Discussion Posted: Sat Mar 16, 2013 5:56 pm Subject: hardware -- mixing 5V and 3.3V stuff (part 2) |
Part 2:
Logic levels for "real" cmos are 30% and 70% of VCC. So,
at 5V-vcc: max-low and min-high levels are 1.5V and 3.5V
at 3.3V-vcc: max-low and min-high levels are 1.0V and 2. ... |
Topic: hardware -- mixing 5V and 3.3V stuff |
teletype-guy
Replies: 13
Views: 26059
|
Forum: General CCS C Discussion Posted: Sat Mar 16, 2013 5:31 pm Subject: hardware -- mixing 5V and 3.3V stuff |
Part 1:
Hi folks: There does not seem to be a place for hardware topics here (Darren?), so I am sticking this here in case it is of any interest, and also so I can point someone here from another ... |
Topic: out of rom |
teletype-guy
Replies: 13
Views: 17939
|
Forum: General CCS C Discussion Posted: Tue Nov 15, 2005 4:14 pm Subject: out of rom |
Hi Ringo:
When you uncomment lines, you are also adding the library function code (eg: strcmp) unless you have called it elsewhere. So you are adding much more code than just the call-and-pass-par ... |
Topic: How to program PIC16F877A through rs232 |
teletype-guy
Replies: 9
Views: 24730
|
Forum: General CCS C Discussion Posted: Mon Oct 24, 2005 1:53 pm Subject: How to program PIC16F877A through rs232 |
I agree with PCM-Programmer. This one has worked for years for me. You burn the bootloader into the pic once, and then use the downloader app from a winblows pc to send the hex file from your ccs co ... |
Topic: I2C problems -- not posting as guest this time |
teletype-guy
Replies: 4
Views: 9130
|
Forum: General CCS C Discussion Posted: Wed Oct 12, 2005 11:32 am Subject: fixed it |
Hi folks:
I solved my problem. I still believe this is a bug in compiler 3.235.
The problem was that as an I2C master in software mode (not using pic i2c hardware), my i2c chips were holding the ... |
Topic: I2C problems |
teletype-guy
Replies: 5
Views: 7422
|
Forum: General CCS C Discussion Posted: Wed Oct 12, 2005 11:29 am Subject: I2C problems |
Hi folks:
I solved my problem. I still believe this is a bug in compiler 3.235.
The problem was that as an I2C master in software mode (not using pic i2c hardware), my i2c chips were holding t ... |
Topic: I2C problems |
teletype-guy
Replies: 5
Views: 7422
|
Forum: General CCS C Discussion Posted: Wed Oct 12, 2005 11:28 am Subject: I2C problems |
Hi folks:
I solved my problem. I still believe this is a bug in compiler 3.235.
The problem was that as an I2C master in software mode (not using pic i2c hardware), my i2c chips were holding t ... |
Topic: I2C problems -- not posting as guest this time |
teletype-guy
Replies: 4
Views: 9130
|
Forum: General CCS C Discussion Posted: Tue Oct 11, 2005 10:15 am Subject: code snippet |
Hi folks:
Note that the pic does not get stuck -- it is the I2C chip that was being written to that is stuck. This is the code snippet -- it is normally a SLAVE pic (using built-in i2c hardware), ... |
Topic: I2C problems -- not posting as guest this time |
teletype-guy
Replies: 4
Views: 9130
|
Forum: General CCS C Discussion Posted: Tue Oct 11, 2005 10:15 am Subject: code snippet |
Hi folks:
Note that the pic does not get stuck -- it is the I2C chip that was being written to that is stuck. This is the code snippet -- it is normally a SLAVE pic (using built-in i2c hardware), ... |
|