32-Bit MCU Blends Together Old And New

Dec. 13, 2007
Microchip moves MIPS Technologes' 32-bit microcontroller into the standard chip arena.

Microchip needed to move into the 32-bit space, which was encroaching on its 8- and 16- bit market. But the company didn’t follow the line of ARM adopters. Instead, it looked at the silicon landscape and chose MIPS Technologies’ M4K core to herald its entry into this competitive space (Fig. 1). It has lots of company, too.

Almost all of ARM’s licensees are adopting its Cortex-M3 with standard parts for its low-end, 32-bit model. Meanwhile, established 32-bit platforms like Freescale’s Coldfire continue to compete at the low end.

Microchip isn’t the only company to recently release a new 32-bit platform. Atmel also has chimed in with the AVR32 and its completely new architecture.

MAKING A MIPS MICRO Microchip’s initial offering, the PIC32MX3xx, is based on a 72-MHz MIPS32 M4K core (see tables 1 and 2). The core is built using the base MIPS low-power core with a five-stage pipeline. The flash memory has a basic prefetch cache. There’s a separate 12-kbyte boot flash area as well. Also, operating systems can lock and load cache entries. Both flash memory areas support Microchip’s code protection system.

The new chips deliver a significant power boost, raising the bar on Microchip’s product line. With features like the singlecycle multiply and high-performance divide unit, designers can tackle more ambitious computational applications.

The chip’s basic memory management unit (MMU) includes a 4-Gbyte virtual address space. A fast fixed-memory translation unit maps four areas—kernel code/data and user data/code. The fourchannel DMA integrates cyclic redundancy checking (CRC). The channels also can run while the processor is in idle mode. The PIC32’s vectored interrupt controller supports up to 63 interrupts. A full shadow register set permits an immediate switch to interrupt mode, too.

The PIC32’s debug capabilities are a step up from Microchip’s standard offerings, with eight hardware breakpoints that can be combined and cascaded. Microchip’s two-wire debug interface works with the PIC32 in addition to JTAG.

A full trace capability utilizes MIPS Technologies’ hardwarebased trace-compression facility, which can substantially reduce trace storage requirements. The trace interface employs five pins that can be used for other purposes if trace isn’t enabled.

MELDING 8 BITS AND 32 BITS The PIC32 line shares peripheral interface blocks with its 8- and 16-bit siblings. This allows for easier migration between platforms, especially if applications are written in C. Such consistency isn’t new, though. NEC Electronics was one of the first companies to achieve it, concentrating on hardware compatibility.

Freescale’s Controller Continuum effort sports the 32-bit Coldfire architecture, which moves even higher in the 32-bit space, though many of those peripherals aren’t shared with the lower-end instances. Freescale’s CodeWarrior tied the 8- and 16-bit platforms together. Microchip takes this approach as well. Its MPLAB integrated development environment (IDE) makes migration as easy as a selection change and rebuild.

One typical peripheral, the 16-channel, 10-bit analog-to-digital converter (ADC), operates at a 400-ksample/s rate and can run during processor sleep or idle modes (Fig. 2). A pair of comparators complements the ADC. Likewise, the pair of UARTs has LIN and IrDA support.

32-BIT TOOLS Software was never an issue, since the MIPS32 architecture is well-supported. All of these tools were tuned for the PIC32, giving developers a range of IDEs, operating systems, and middleware.

Microchip’s USB-powered PIC32 Starter Kit includes the development module and the MPLAB IDE v8.00 (Fig. 3). The IDE comes with the C32 Student Edition. The module plugs into optional expansion boards. Modules also are available for the Explorer 16 development board.

The PICMX300 starts at $2.95. It comes in 64- and 100-pin thin quad flat packs (TQFPs). The PIC32 Starter Kit costs $49.

Microchip
www.microchip.com

MIPS Technologies
www.mips.com

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!