Buy(Cart) Contact NSDSP Home

USB Powered 5V Configuration

NSDSP based on PIC16F1454 must be used for all 5V configurations

When NSDSP is powered by USB, the EN pin (see pinout) must be tied to VDD to ensure NSDSP does not enter sleep mode while USB cable is attached. Since USB voltage is 5V, it can be used to power NSDSP and target device directly. Sometimes, the voltage supplied by USB is slightly less than 5V. Voltage variation does not pose a problem for NSDSP because it can operate at any voltage between 3.6 and 5.5V.

Schematics

For the locations of the NSDSP pins, refer to the pinout diagram. Only PIC pins used for connecting NSDSP are shown. For the list of connections necessary to run the PIC, refer to the datasheet for your PIC device.

This schematics does not show any ESD protection devices which may or may not be needed for the application.

To enable programming and debugging, MCLR, PGC, and PGD pins must be connected. Also USB ground, NSDSP ground and PIC ground must be connected together. R1 is necessary to prevent damages to PIC or NSDSP. R2 must be at least 1kΩ. Using higher values, up to 10kΩ, will decrease power consumption during programming, but may interfere with high speed programming rates. Traces connecting PGC and PGD pins must be kept as short as possible. If longer traces are needed, it is best not to run them parallel to each other. Do not connect any diodes or capacitors to PGC or PGD pins.

 

PGC and PGD pins

If your PIC has several pairs of PGD/PGC pins, you can use any pair, but you must use it as a pair. Do not combine pins from different pairs.

PGC or PGD pins are busy during programming and debugging. However, you can use them during run time.

To use PGC and PGD as inputs, connect them to the source through resistors. Resistors must be at least 10kΩ (more if values of R1/R2 were increased above 1kΩ). Resistors must be connected directly to PIC's PGC or PGD pins, not to corresponding NSDSP's pins. Configure NSDSP to put PGC and PGD pins into the high impedance state while not in use. Otherwise NSDSP will drive these pins.

To use PGC and PGD as outputs, connect them directly or through protective resistors. Combined impendance must be at least 10kΩ (more if values of R1/R2 were increased above 1kΩ). Configure NSDSP to put PGC and PGD pins into the high impedance state while not in use. Otherwise NSDSP will drive these pins causing power dissipation through R1 or R2. Make sure that devices connected to these pins can tolerate high frequency signaling during programming or debugging.

To use PGC and PGD to detect USB state, configure NSDSP to alter the state of the pins depending on USB state. Once configured, you can read the state of these pins to detect when USB connection is established, and when NSDSP enters UART mode.

If not using PGC and PGD configure them as inputs. Configure NSDSP to drive both pins low when not in use.

 

MCLR pin

NSDSP will drive MCLR pin high at all times (except when programming or debugging). Therefore, you can omit any MCLR circuicity that would otherwise be necessary to keep MCLR high. If your PIC does not have an internal pull-up on the MCLR, you may consider adding 100kΩ pull-down resistor to the MCLR line to prevent MCLR going high until NSDSP is fully functional

If your PIC device allows using MCLR as a GP input, you must enable MCLRE and LVP configuration bits.

 

UART pins

To communicate with the host computer through USB, your PIC can use UART. RX and TX pins must be connected as shown. Also USB ground, NSDSP ground and PIC ground must be connected together. When not in use, NSDSP drives its TX pin high at all times.

If UART is not needed, leave NSDSP's TX pin unconnected, and connect its RX to VDD.

If UART flow control is required, RTS and CTS pins must be connected too. While NSDSP is not in the UART mode with flow control, the state of RTS is undefined. If flow control is not needed, leave NSDSP's RTS unconnected and connect CTS to ground.

For more details on UART communicatons, click here

 

There may be special considerations for your specific PIC device. Please visit the Supported Devices section, find your device and read the documentation.

NSDSP-1-5V uses this configuration. You can purchase it and use it for prtotyping.

To order pre-programmed NSDSP chips for 5V configurations, click on one of the links below.

Model Package
5V: PIC16F1454 DIP SOIC SSOP QFN
Northern Software Home NSDSP Contact Us Purchase/Vew Cart

© 2007-2018 Northern Software Inc. All Rights Reserved.