Solcansergiu, Dreamstime.com
Auto Id75594145 Solcansergiu Dreamstime 5fb5563cb40d6

Lockstepping the Cortex-M7 for Automotive Apps

Dec. 1, 2020
NXP’s S32K3 family includes a host of new features, including lockstep support for safety-critical applications.

What you’ll learn

  • What’s new with NXP’s S32K3 series.
  • How lockstep makes a difference with the S32K3.

NXP Semiconductors has used the Cortex-M7 core for a range of automotive microcontroller units (MCUs) starting with the S32K1 series. The new S32K3 series raises all the bars with more memory and performance as well as including features like lockstep mode (Fig. 1). Asymmetric Cortex systems-on-chip (SoCs) are common, but they’re typically a Cortex-M0+ and a higher-end Cortex-M or combined with a Cortex-A application processor. There are single-core S32K3s, but dual- and triple-core versions exist as well, running up to 240 MHz.

The S32K family targets automotive applications. They have up to 8 MB of flash and up to 256 kB SRAM memory with ECC support. The flash is setup as two blocks that allow an A/B firmware swap with automatic address translation. Firmware-over-the-air (FOTA) updates load into one block while the system runs from the other block. The switch occurs on reset with the ability to fallback to the original block if there are problems.

The chips are designed for safety-critical applications that meet ISO 26262 ASIL B/D requirements. The family has a fault collection and control unit with an HSE-B security engine that supports AES-128/192/256, RSA, and ECC. This also provides secure boot with key storage and side-channel attack protection. It’s intended to support ISO 21434 automotive security.

The systems have QSPI and serial ports as well as I3C, I2C, and up to eight CAN FD ports. The 10/100-Mb/s Ethernet supports time sensitive networking (TSN) and audio video bridging (AVB). Up to three 24-channel, 12-bit ADCs are available. The 16-bit eMIOS (enhanced modular input/output system) timer with logic control unit can handle motor-control chores.

The S32K3 family comes in BGA and MaxQFP packages (Fig. 2). The MaxQFP is 55% smaller than a conventional QFP while retaining the same number of pins. The architecture uses conventional QFP pins on the outside and a wraparound pin on the edge of the chip. The latter’s solder pad is partially under the chip. There are 10- × 10-mm, 100-pin chips as well as 16- × 16-mm, 172-pin versions of MaxQFP, allowing for pin-compatible replacements using most of the available S32K3 devices. High-pin-count devices are also available in MAPBGA-289 packages.

The hardware is impressive, but software costs often dominate many automotive designs. To this end, NXP provides free ISO 26262-compliant real-time software drivers for AUTOSAR and non-AUTOSAR. They used to provide the latter. Given that most of these chips will need to meet ASIL A/B requirements, the free AUTOSAR drivers can save a significant chunk of change.

The drivers are all part of NXP’s software package that also includes the Safety Framework Software and Core Self-Test library. The framework integrates over half a dozen modules supporting everything from lockstep operation to security, obviously taking advantage of the underlying hardware.

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!