Applications

Sourcing PIC16F873A-I/SP: A Parameter Verification Checklist Before You Order

Package and Pin Count: The First Mechanical Check

The PIC16F873A-I/SP is documented as a Skinny Plastic DIP (SP) with 28 pins. Those two parameters answer the first questions on any purchase order: whether the board has a through-hole footprint that accepts the part, whether a socket in the assembly will take the body, and whether the line is set up for insertion rather than surface-mount placement.

Mechanical checks are cheap before the order and expensive afterwards. A board laid out for a different package cannot be corrected in the purchasing department, so compare the documented package description and pin count with the assembly drawing, the socket specification and the incoming inspection criteria, and make sure all three say the same thing.

The package designator also sits inside the order code. Order codes that look similar can describe different packages, so match the complete code and the package description together rather than the base part number alone. If a quotation or a label shows only a base number, ask for the full ordering code before the line is approved. At goods-in, the pin count and the body style are the two features an inspector can confirm without powering the board.

A narrow plastic DIP integrated circuit held by its ends in one hand

Program and Data Memory: Matching Flash, SRAM and EEPROM to Your Firmware

Three memory figures are documented for this device: 4K words x 14 bits of Flash program memory, 192 Bytes of SRAM and 128 Bytes of EEPROM.

The Flash figure is quoted in words of 14 bits, not in bytes. That matters at the purchasing desk, because firmware toolchains and build reports often express program size in a different unit. Compare the documented figure with the way your own toolchain reports usage, and let the firmware owner confirm the fit rather than converting the number in a spreadsheet and ordering against the conversion.

SRAM is the working space the firmware uses for variables and for the stack while it runs. The documented 192 Bytes is a fixed quantity, so if the application was written and validated against a particular SRAM budget, that budget has to be checked against this figure before a source is approved.

EEPROM holds data that must survive power removal — settings, counters, calibration constants. The documented 128 Bytes is a fixed allotment, so confirm with engineering that the non-volatile storage requirement fits inside it.

None of the three sizes can be changed by configuration. The purchasing check is that the order line, the label and the device documentation all describe the same densities.

A DIP integrated circuit seated in the ZIF socket of a device programmer

Clock Frequency and What It Means for Current Consumption

The documented clock frequency for this device is 20 MHz. Supply current is documented at two operating conditions: 4 mA at 4 MHz XT and 15 mA at 20 MHz HS.

Both figures belong in the purchasing conversation, because current consumption follows the operating point the application actually uses. A design that runs at the lower documented condition and a design that runs at 20 MHz HS do not present the same load to the power budget, and carrying a single number into that budget can size the source wrongly in either direction.

The two documented conditions are reference points, not a curve. If the application runs at a different frequency or under a different oscillator mode, do not interpolate between the figures — ask engineering to confirm the value for that operating point from the device documentation, and record which condition the budget was built on.

Both documented current conditions take their names from oscillator modes, XT and HS, so the timing element on the board is part of the operating condition rather than an accessory to it. When a supplier confirms a current figure, the frequency and mode it was measured at are part of the answer, and it is worth asking for them in writing.

A small metal-can quartz crystal held in anti-static tweezers

Supply Voltage and Current Draw: Confirming the Power Budget

The documented operating voltage is 4.0V to 5.5V. Within that window the device is specified with a quiescent current of 19 µA and a supply current of 4 mA at 4 MHz XT or 15 mA at 20 MHz HS.

The voltage check is about the whole operating cycle, not the nominal rail. The supply that feeds the device has to keep the rail inside the documented window at every point in the cycle, including the tolerance of the source and any drop along the feed path. If the rail approaches an edge of the window under any condition, that is an engineering question to settle before it becomes an order.

The two current figures serve different purposes. Quiescent current sets the floor of the standby budget for equipment that spends most of its life idle, and 19 µA is the documented figure to carry into that calculation. Active supply current sets the load the device presents while it runs, at the clock condition chosen in the previous section.

Keep both numbers on the same worksheet as the rest of the board's consumption, with the operating condition written beside each one. A power budget whose entries have lost their conditions cannot be re-checked later.

A black DC power adapter with its barrel connector and coiled cable

Operating Temperature: Verifying the Rated Range Against Your Environment

The documented operating temperature is -40°C TA to +85°C. The figure is given as TA, so it describes the air temperature around the part, which means the comparison to make is with the ambient at the part's location inside the assembly — not with the room temperature on the bench where the board was tested.

Two ends of the range need checking. The hot end is usually set by the enclosure and by other heat sources near the device, and the ambient around the part can be higher than the ambient in the room. The cold end is set by storage, transport and start-up in a cold environment. Both ends of the application's expected ambient have to fall inside the documented range.

If the assembly itself is specified over a narrower window than the device, the narrower window is the one to verify, provided it sits inside the documented range. Where the two do not overlap, that is a design decision, not a purchasing one.

On the order line, confirm that the temperature range quoted back to you matches the documented -40°C TA to +85°C, and record it with the package and pin count so the three mechanical and environmental attributes travel together through the approval.

Analog and Serial Interfaces: ADC Resolution, SPI, I2C and USART

The device is documented with a 10-bit ADC, and its serial interfaces are MSSP (SPI/I2C) plus USART.

The ADC resolution figure describes the granularity of the conversion, and it is the number to compare against the measurement requirement the application has to meet. Resolution alone does not describe the analog front end around the converter, so the channel count, the reference arrangement and the input range should come from the device documentation rather than being assumed from the resolution figure.

On the serial side, the documented set gives you SPI and I2C through the MSSP block and a USART for asynchronous serial communication. The purchasing question is whether the system's connectivity needs are covered by that set. If the design needs SPI and I2C at the same time, or needs more serial channels than the documented interfaces provide, that has to be resolved from the device documentation and the schematic before a source is approved.

Write the interface requirement down as a list — the buses used, and for the analog side the resolution the measurement depends on — and check that list against the documented interfaces line by line. It is a short exercise that prevents an approved order line from resting on an assumption about which interfaces the part provides.

The Consolidated Verification Checklist for Your Order Line

The table below collects every documented parameter for the PIC16F873A-I/SP in one place, so the order line can be checked against a single reference.

ParameterDocumented value
PackageSkinny Plastic DIP (SP)
Pin count28
Flash program memory4K words x 14 bits
SRAM192 Bytes
EEPROM128 Bytes
Clock frequency20 MHz
Operating voltage4.0V to 5.5V
Quiescent current19 µA
Supply current4 mA @ 4 MHz XT / 15 mA @ 20 MHz HS
Operating temperature-40°C TA +85°C
ADC resolution10-bit
InterfacesMSSP (SPI/I2C) + USART

Work through the checks in this order:

  1. Package style and pin count against the board footprint and socket specification.
  2. Flash, SRAM and EEPROM sizes against the firmware's program, working and non-volatile budgets, keeping the Flash figure in its documented unit.
  3. Clock frequency against the operating point the application uses, and the supply current figure recorded for that same condition.
  4. Operating voltage window against the rail at every point in the operating cycle.
  5. Quiescent current against the standby budget.
  6. Operating temperature range against the ambient at the part's location inside the assembly.
  7. ADC resolution against the measurement requirement, with the rest of the analog front end confirmed from the documentation.
  8. Interface set against the buses the system needs.
  9. Complete order code against the package description, not the base part number alone.

Alongside the checklist, ask the supplier for the current device datasheet revision, the ordering and package information, and any errata document for the revision being supplied. These are the documents your engineering team needs to close the parameter questions above; the checklist only tells you which questions to ask.

How to Request a Quote

Send NexCir the full order code, the package description as Skinny Plastic DIP (SP), the 28-pin count and the operating temperature range of -40°C TA to +85°C, together with the quantity you need and the operating conditions your application uses — clock frequency, oscillator mode, supply rail and the ambient at the board.

Include the checklist items you have already verified and flag the ones still open with your engineering team. A request that carries the complete order code and the verified parameters can be matched against the requirement without a round of questions, and any remaining ambiguity is visible before the quotation is prepared rather than after the parts arrive.

To start, send your requirement list to NexCir and request a quotation.

References

  1. ww1.microchip.com

Related Articles

Two black microchips placed on a reflective metal surface, with a pink anti-static bag and a hand nearby.

Reading the DSPIC30F2010-30I/SP Ordering Code: Industrial Temperature Range and 28-Lead SPDIP Package

## Why the Ordering Code Deserves a Check Before You Accept a Quote A quotation...

Read More
Electromagnetic and solid state relays on green work surface with tools such as multimeter and pliers.

Electromagnetic Relay vs. Solid State Relay: How to Choose?

Choosing the right switch can feel overwhelming. A wrong choice leads to system failure, costing...

Read More
OBD scanner connected under car dashboard near the driver's seat for diagnostics.

How to Choose Between TJA1043 and TJA1042 for Standby Power Optimization?

Car batteries drain quickly if electronics stay on. This is a huge problem for design...

Read More
A flux capacitor prototype with glowing electrical components in a workshop setting, surrounded by tools and diagrams.

Is the Flux Capacitor Real? How Supercapacitors Are Changing Energy Storage?

Do you remember the "Flux Capacitor" from the movie *Back to the Future*? It promised...

Read More

Need reliable semiconductor sourcing? Contact NexCir for a fast quotation.

Request a Quote