FPGA Combines Hard-Core Cortex-M3 And Analog Peripherals

March 15, 2010
Technology editor Bill Wong examines Actel’s new SmartFusion line of FPGAs that incorporate a hard core ARM Cortex-M3 and configurable analog peripherals.

SmartFusion FPGA

$99 demo board

$999 evaluation kit

Actel is about to turn the microcontroller market on its end with its flash-based SmartFusion FPGA (Fig. 1), which incorporates an ARM Cortex-M3 microcontroller complete with peripherals such as serial ports and an eight-channel DMA. This combination alone would be impressive, yet SmartFusion also includes a configurable analog subsystem.

With up to 500,000 gates, the analog subsystem isn’t as customizable as the FPGA subsystem. But it is equally impressive and very powerful, incorporating its own digital processing engines to massage the digital side of the analog-to-digital converters (ADCs) and digital-to-analog converters (DACs).

The flash-based aspect of SmartFusion is key in two areas. First, along with on-chip RAM, it enables a single-chip solution. Second, it means the chip is up and running quickly. RAM-based FPGAs must first load their configuration from a serial flash memory chip. The use of flash technology allows up to 512 kbytes of application code and data for the Cortex-M3 to reside on chip as well.

On-chip SRAM tops out at 64 kbytes. The processor subsystem includes an external memory controller so the use of large amounts of off-chip memory is possible in addition to its ability to handle removable storage. There are also up to 41 I/O ports. The FPGA has an additional 128 I/O ports.

The 32-bit processor subsystem runs at 100 MHz, while the FPGA and analog subsystems are clocked at 350 MHz. The 12-bit ADCs run at up to 600 ksamples/s. The DACs are sigma-delta DACs. On-chip voltage, current, and temperature monitors along with 32 analog inputs can be tied to up to ten 50-ns comparators and the ADCs. The processor communicates with the analog compute engine that controls the DACs and ADCs. This essentially implements a multicore analog compute environment.

The FPGA gives developers great flexibility, including the option to augment the Cortex-M3 with additional soft-core processors such as a Cortex-M1 if necessary (see “FPGAs Pushing MCUs As The Platform Of Choice”). The Cortex-M1 is code-compatible with the Cortex-M3, but it’s designed for FPGA implementations. The hard-core Cortex-M3 is a more efficient implementation, though the ability to construct a custom multicore platform will be very useful in many applications.

SPLIT-PERSONALITY SOFTWARE

FPGAs have never been the easiest platform to work with from a software perspective, and dealing with lots of flexibility around a hard core could lead to programmer overload. That’s why Actel developed the MSS (Microcontroller SubSystem) Configurator. This software tool spans Actel’s Libero FPGA design suite and programmer integrated development environments (IDEs) such as those from Keil and IAR and Actel’s own Eclipse-based SoftConsole (see “A Total Eclipse?”) .

On the Libero side, MSS Configurator lays the groundwork for the Cortex-M3 and its peripherals. FPGA designers select configuration options as well as connections to the other subsystems. This allows MSS Configurator to generate the appropriate configuration as well as build and header files for software development.

Software developers can utilize the output of MSS Configurator and target platforms with preconfigured FPGA and analog support. They can also make more limited adjustments without needing to deal with FPGA designs and the complexity of RTL and FPGA design flows. Of course, some designers work on both sides of the fence. For them, MSS Configurator provides a mechanism that is consistent for both tool chains. This includes support for encryption IP.

The chip itself supports Actel’s FlashLock AES decryption when programming the FPGA. The software tool support includes a free GNU-based toolset as well as tool suites from IAR and Keil. The chip supports Arm’s CMSIS (Cortex Microcontroller Software Interface Standard) hardware abstraction layer (HAL). Micrium is providing middleware and operating system (OS) support, though the platform supports a range of operating systems.

Actel is initially delivering a low-cost $99 demo board (Fig. 2) and a $999 evaluation kit (Fig. 3). The kit provides access to all the I/O on the chip as well as more on-board RAM and flash memory. Both have an interface connector that works with daughter cards like the one for the Mixed-Signal Power Manager (MPM). The connector is designed for testing with a range of applications including motor control.

SmartFusion should have a major impact on how designers create applications solutions. The A2F200 will be the first SmartFusion chip available. Priced around $20, it has 200k gates, two ADCs, two DACs, 24 analog inputs, two analog outputs, 41 processor I/O ports, and 94 FPGA I/O ports. The FPGA has 4 kbytes of RAM, while the processor has 256 kbytes of flash and 64 kbytes of SRAM. The A2F200 will be bracketed by the A2F060 and the A2F500 with 60k gates and 500k gates respectively and a corresponding I/O complement.

SmartFusion looks to be the game changer that FPGAs have promised for software developers. This is especially true for designers who need a single-chip solution.

Actel

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!