CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Help using enhanced shockburst for the NRF24L01
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
teletype-guy



Joined: 11 Oct 2005
Posts: 8
Location: AZ

View user's profile Send private message Visit poster's website

PostPosted: Thu Apr 04, 2013 6:38 pm     Reply with quote

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 inputs), there is no problem sending 5V signals to it to it.

The 3.3V out of the 24L01 can go to a TTL-COMPATIBLE input (VIH = 2.0V) on the pic, if you have one available, with no problem.

If your pic input has cmos thresholds (VIH ~= 3.5V), then you need to add a gate in between. Connect your 3.3V signal to the input of a 5v-POWERED AHCT gate (or HCT in a pinch), and connect the gate output to the pic. You will want a non-inverting gate (or two inverters in series, or change your code for an inverted level...).

Check the DC spec on each pic input and it will tell you if the pic input pin has ttl or cmos thresholds.


gil
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group