Pic Microchip

Nov 28
2009

MICROCHIP PICMASTER PIC16 17 IN CIRCUIT EMULATOR EM167020 10 00008
MICROCHIP PICMASTER PIC16 17 IN CIRCUIT EMULATOR EM167020 10 00008
$40.00
Time Remaining: 6d 8h 25m
Buy It Now for only: $40.00

MICROCHIP PICMASTER 40 PIN HEADER INTFC CIRCUIT BOARD PIC16C6X 7X 04 01331
MICROCHIP PICMASTER 40 PIN HEADER INTFC CIRCUIT BOARD PIC16C6X 7X 04 01331
$35.00
Time Remaining: 6d 9h 18m
Buy It Now for only: $35.00

MICROCHIP TECHNOLOGY INC PIC16F84A20P FNFP PIC16F84A20P
MICROCHIP TECHNOLOGY INC PIC16F84A20P FNFP PIC16F84A20P
$25.00
Time Remaining: 20d 12h 20m
Buy It Now for only: $25.00

MICROCHIP TECHNOLOGY INC PIC16F628 USPP PIC16F628
MICROCHIP TECHNOLOGY INC PIC16F628 USPP PIC16F628
$25.00
Time Remaining: 1d 3h 37m
Buy It Now for only: $25.00

MICROCHIP TECHNOLOGY INC PIC16C65A 04 P USPP PIC16C65A04P
MICROCHIP TECHNOLOGY INC PIC16C65A 04 P USPP PIC16C65A04P
$25.00
Time Remaining: 1d 3h 37m
Buy It Now for only: $25.00

MICROCHIP TECHNOLOGY INC PIC16C55 XT P NSPP PIC16C55XTP
MICROCHIP TECHNOLOGY INC PIC16C55 XT P NSPP PIC16C55XTP
$25.00
Time Remaining: 14h 27m
Buy It Now for only: $25.00

MICROCHIP TECHNOLOGY INC PIC16F73ISP FNFP PIC16F73ISP
MICROCHIP TECHNOLOGY INC PIC16F73ISP FNFP PIC16F73ISP
$25.00
Time Remaining: 15d 7h 37m
Buy It Now for only: $25.00

Pic Microchip
Pic Microchip

Microchip expands low pin count, enhanced mid-range 8-bit PIC® microcontroller family

Microchip expands low pin count, enhanced mid-range

8-bit PIC® microcontroller family

 

Peripheral-rich devices are highest-memory PIC® MCUs in 8- and 18-pin packages; include eXtreme low power technology and mTouch™ capacitive touch sensing

Bangalore, May 30, 2011 [NASDAQ:  MCHP] — Microchip Technology Inc., a leading provider of microcontroller, analog and Flash-IP solutions, today announced the latest additions to its Enhanced Mid-Range core 8-bit PIC® microcontroller (MCU) family—the peripheral-rich, low pin count PIC12F(LF)1840 and PIC16F(LF)1847.  Featuring 7 KB and 14 KB of on-chip Flash memory, respectively, and up to 1 K RAM, the new devices are the highest-memory PIC® MCUs in 8- and 18-pin packages.  The "LF" versions feature eXtreme Low Power (XLP) Technology, for active currents of less than 40 µA/MHz and sleep currents down to 20 nA.  With their high level of peripherals and features, including mTouch™ capacitive touch-sensing and multiple communications peripherals, these general-purpose MCUs are well suited for a wide range of applications in the appliance (e.g. coffee makers, blenders, dishwashers); consumer (e.g. battery chargers, vacuum cleaners, printers, remote controls); and automotive markets (e.g. LED lighting, keyless entry, body electronics), among others.

 

Microchip's eXtreme Low Power Technology remains the industry standard for battery-friendly MCUs, helping to improve overall energy efficiency in a variety of applications.  The PIC12F(LF)1840 and PIC16F(LF)1847 MCUs are highly integrated, featuring multiple PWMs with independent time bases, a LIN-capable EUSART, and up to two I2C™/SPI interfaces.  The on-chip, 32-level Voltage Reference can be used as a simple Digital-to-Analog Converter, and the Data Signal Modulator enables designers to create custom bit patterns using a broad spectrum of inputs.

 

"The PIC12F(LF)1840 and PIC16F(LF)1847 demonstrate our commitment to low power, and providing our customers with the most energy-efficient devices on the market," said Steve Drehobl, vice president of Microchip's Security, Microcontroller and Technology Development Division.  "The new MCUs' combination of large memories, low power consumption and innovative peripherals give our customers the tools they need to extend battery life, reduce board space and, most importantly, lower their bill-of-materials costs."

Development Support

The PIC12F(LF)1840 MCUs are supported by the PICkit™ 2 Low Pin Count Demo Board (part # DM164120-1), while the PIC16F(LF)1847 MCUs are supported by the PICkit 18-pin Demo Board (part # DM164120-4).  All of the devices are supported by the PICkit 3 (part # PG164130) and MPLAB® ICD 3 (part # DV164035) debugger/programmers, as well as the PICDEM™ Lab Development Kit (part # DM163035).  The latter comes complete with a development board containing five popular 8-bit PIC MCUs; a bag of discrete components; a debugger/programmer and a CD containing a User's Guide, labs and application examples.  All of these tools can be purchased today, at microchipDIRECT (http://www.microchip.com/get/L0QX).

 

Packaging and availability

The PIC12F(LF)1840 MCUs are available in 8-pin PDIP, SOIC and 3 mm x 3 mm DFN SOIC packages. The PIC16F(LF)1847 MCUs are available in 18-pin PDIP, SOIC, SSOP and 4 mm x 4 mm UQFN packages. For further information, contact any Microchip sales representative or authorized worldwide distributor, or visit Microchip's Web site at http://www.microchip.com/get/MUP6.  To purchase products mentioned in this press release, go to microchipDIRECT or contact one of Microchip's authorized distribution partners.

 

About Microchip Technology

Microchip Technology Inc. (NASDAQ:  MCHP) is a leading provider of microcontroller, analog and Flash-IP solutions, providing low-risk product development, lower total system cost and faster time to market for thousands of diverse customer applications worldwide.  Headquartered in Chandler, Ariz., Microchip offers outstanding technical support along with dependable delivery and quality.  For more information, visit http://www.microchip.com/get/P0PE

###

Note:  The Microchip name and logo, MPLAB, and PIC are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries.  mTouch, PICDEM, and PICkit are trademarks of Microchip Technology Inc. in the U.S.A., and other countries.  All other trademarks mentioned herein are the property of their respective companies.

_________________________________________________________________________

 


About the Author

For editorial queries only, please contact:

Daphne Yuen (Microchip): (852) 2943 5115 (email: daphne.yuen@microchip.com)

Emilee (PRHUB): 080- 22998141, 22483008 (email: emilee@prhub.com)

Shruthi(PRHUB):080-22998141.22483008 (email:Shruthi@prhub.com

Do 16x16Bit division in assembler for PICMICRO (PIC18F series) with remainder as a fraction?

Do a regular 16x16bit division but the remainder needs to be a fraction. Ex:

526/1024=0.5

I need only a single precision after the dot. Code as got to be in assembler for the microchip PIC. The goal ids to display the result on an lcd tha is why i need the result as a fraction, not a remainder.

I haven't worked with the PIC18F chip, so I am not going to
attempt to provide the necessary assembly code. However, I
can suggest how you might accomplish your goal, because I've
done similar things on other small microprocessors.

The trick (while avoiding having to implement a floating
point divide function) is to scale your integer data.
For example, if you want a single digit of fraction,
multiply your integer dividend by 10 before performing an
integer division. In your example:

526/1024 becomes 5260/1024 = 5

so you know that the answer to be displayed is really "0.5"

If the problem is more general, so that there might be
digits on both sides of the decimal, this method will
still work.

For example, if the operands were 171 and 6, you would
scale the 171 to 1710, divide by 16 to produce 106. Thus
you would know to display "10.6".

Feeding the digits to the LCD requires a little
manipulation, but consider the following algorithm
using the values from my previous example (ie. dividend=107
and divisor=16). I'll put comments after a "#":

temp1 = dividend / divisor    # answer "left" of dot (ie. "10")
temp2 = dividend * 10    # 1710
temp3 = temp2 / divisor    # 106
temp4 = temp3 % 10    # answer "right" of the dot (ie. 6)

[Note, that the "%" operator is just the integer remainder
from the normal integer divide function.]

Therefore, on your LCD, you would display the
value of "temp1" (which is 10), followed by a
"." followed by the value of "temp4" (which is 6)
which would look like:

10.6

Microchip Pic Oscilloscope DIY Gadget

Comments are closed.