View previous topic :: View next topic |
Author |
Message |
seidleroni Guest
|
Communicating via UART at 3.3V levels with a 5V VCC? |
Posted: Tue Apr 10, 2007 9:27 am |
|
|
I'm currently using the PIC18F252, and I plan on communicating with a low voltage system (maxstream 802.15.4 systems) which require a 2.8-3.4V UART voltage. The PIC has no problem interpreting this voltage as a '1', but the maxstream may have problems getting 5V on its receive line from the PIC. Is there any way to reduce the voltage from 5V to the acceptable range for the Maxstream system?
Is there any options available in software to change the UART voltage? I'm trying to not use a voltage divider if necessary.
Has anyone else worked with the Maxstream systems and sent UART commands at 5V and had problems?
Regards,
Seidleroni |
|
|
frequentguest Guest
|
|
Posted: Tue Apr 10, 2007 9:41 am |
|
|
This has been discussed on the forum before. Search the forum. |
|
|
seidleroni Guest
|
|
Posted: Tue Apr 10, 2007 2:15 pm |
|
|
I have been looking for a while, but I do not see any posts about it. Could you direct me to which one you're thinking of?
Seidleroni |
|
|
kevcon
Joined: 21 Feb 2007 Posts: 142 Location: Michigan, USA
|
|
|
newguy
Joined: 24 Jun 2004 Posts: 1907
|
|
|
f Guest
|
|
Posted: Tue Apr 10, 2007 2:28 pm |
|
|
i tried to post that before, but guests can't post links. I (optimistically) hoped seidleroni would be able to find that his/herself. |
|
|
Guest
|
|
Posted: Tue Apr 10, 2007 3:21 pm |
|
|
I looked at those posts and I see that there is no way to do it in software. I will just use the 5V to 3.3V resistor divider circuit.
Thanks!
jon |
|
|
Jannie Hamman
Joined: 16 Sep 2003 Posts: 6 Location: South Africa
|
Obvious answer?! |
Posted: Wed Apr 11, 2007 2:13 am |
|
|
Run the PIC from 3V3. It works fine.... _________________ Cheers,
Jannie |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
Re: Obvious answer?! |
Posted: Wed Apr 11, 2007 3:00 am |
|
|
Jannie Hamman wrote: | Run the PIC from 3V3. It works fine.... | This might be true for a hobby project but are you willing to risk angry customers because you knowingly made a bad design in a commercial product?
The standard PIC18F252 is only garuanteed to work from 4.2 to 5.5V. The PIC18LF252 is specified for lower voltages down to 2.0V but at a lower operating frequency defined as:
Figure 22-2 of PIC18Fxx2 datasheet wrote: | FMAX = (16.36 MHz/V) (VDDAPPMIN – 2.0V) + 4 MHz
Note: VDDAPPMIN is the minimum voltage of the PICmicro® device in the application. |
For 3.3V this means you can run the LF chip at a maximum of 25.3MHz. |
|
|
jaime
Joined: 25 Nov 2005 Posts: 56 Location: Porto - Portugal
|
|
|
Max
Joined: 15 Dec 2003 Posts: 51 Location: Italy
|
|
|
|