Content Summary
1. Detailed Guide on Using FlexIO Module in S32K1xx MCU
1.1 Content Summary of Detailed Guide on Using FlexIO Module in S32K1xx MCU
1.2 Introduction to Sample Projects Provided in the Detailed Guide on Using FlexIO Module in S32K1xx MCU
2. User Manual for CSEc Hardware Encryption Module in S32K1xx MCU
2.1 Content Summary of User Manual for CSEc Hardware Encryption Module in S32K1xx MCU
2.2 Introduction to Sample Projects Provided in the User Manual for CSEc Hardware Encryption Module in S32K1xx MCU
3. Download Links for FlexIO and CSEc Application Guides and Sample Projects
Previously, I shared a series of articles titled S32K1xx MCU Application Guide that introduced the RTC module, memory ECC functionality, lockup reset and recovery methods, and the use of the EEE module in the S32K1xx series MCUs (click on the article title to jump directly to read):
“Detailed Explanation of Common Core Exceptions (Fault Exception) in S32K1xx MCUs (Taking S32K144 as an Example)”
“Analysis of Chip Lockup Reset Causes and Recovery Methods in S32K1xx MCU Application Guide”;
“Detailed Explanation of Memory ECC Functionality in S32K1xx MCU Application Guide (Part 1)”;
“Detailed Explanation of Memory ECC Functionality in S32K1xx MCU Application Guide (Part 2)”;
“Detailed Explanation of RTC Module Usage in S32K1xx MCU Application Guide”;
“Detailed Explanation of EEE (Emulated EEPROM) Usage in S32K1xx MCU”;
The application engineer team at NXP has also written the following two application guides to help everyone better utilize the FlexIO module and CSEc hardware encryption module in S32K1xx MCU application development.
“Detailed Guide on Using FlexIO Module in S32K1xx MCU”;
“User Manual for CSEc Hardware Encryption Module in S32K1xx MCU”;
1. “Detailed Guide on Using FlexIO Module in S32K1xx MCU”
The FlexIO module of S32K1xx MCU consists of several serial shift registers and timers, along with IO pins and a configurable control status register:

The integrated timers, serial shift registers, and pin resources of the FlexIO module in S32K1xx MCU are shown in the table below:

The FlexIO module can be flexibly configured for use as serial communication peripherals, such as UART, I2C, SPI, I2S, and LIN controllers, thus providing additional serial communication peripheral modules.
The table below lists the FlexIO resources required for configuring some common serial communication peripherals:

1.1 Content Summary of Detailed Guide on Using FlexIO Module in S32K1xx MCU
The main content included in the “Detailed Guide on Using FlexIO Module in S32K1xx MCU” is as follows:


1.2 Introduction to Sample Projects Provided in the Detailed Guide on Using FlexIO Module in S32K1xx MCU
In addition to the sample projects in the FlexIO PD layer driver included in the S32K1xx SDK, the “Detailed Guide on Using FlexIO Module in S32K1xx MCU” provides the following supporting sample projects that demonstrate how to use FlexIO + DMA for I2S communication to play audio files erased in external SPI Flash and the specific implementation points for configuring it as LIN bus Master and Slave nodes:

2. User Manual for CSEc Hardware Encryption Module in S32K1xx MCU
The CSEc hardware encryption module of S32K1xx series MCUs is integrated into the Flash controller (FTFC) and is designed to meet the growing demands for automotive information security by conforming to the HIS-SHE specification 1.1 rev 439 and GM-SHE+ security standards:

Its main functions are as follows:
Complies with HIS-SHE specification 1.1 rev 439 and GM-SHE+ security standards;
Supports storage for up to 17 user keys;
Supports AES (Advanced Encryption Standard)-128 algorithm for encryption and decryption;
Supports AES-128 CMAC (Cipher-based Message Authentication Code) generation and verification;
Supports ECB (Electronic Cipher Book) mode for encryption and decryption;
Supports generation of true random numbers and pseudo-random numbers;
Provides Miyaguchi-Preneel compression algorithm API;
Supports three secure boot modes:
◼ Sequential Boot Mode;
◼ Strict Sequential Boot Mode (cannot be changed after setting);
◼ Parallel Boot Mode;
2.1 Content Summary of User Manual for CSEc Hardware Encryption Module in S32K1xx MCU
The main content of the “User Manual for CSEc Hardware Encryption Module in S32K1xx MCU” is as follows:

2.2 Introduction to Sample Projects Provided in the User Manual for CSEc Hardware Encryption Module in S32K1xx MCU
The “User Manual for CSEc Hardware Encryption Module in S32K1xx MCU” provides the following sample projects along with S32K1xx SDK RTM3.0.0, including enabling the CSEc module, loading keys, user key updates, basic encryption algorithm API calls, secure boot implementation, and how to restore the CSEc module to factory default configuration:

3. Download Links for FlexIO and CSEc Application Guides and Sample Projects
The two application guide documents and sample projects introduced in this article can be downloaded from the following Baidu Cloud link:
Link: https://pan.baidu.com/s/1JpldHgf3MxqdU0N5nUpb6w
This article introduced the main content of the “S32K1xx MCU Application Guide” regarding the usage of FlexIO and CSEc hardware encryption modules, along with supporting sample projects. I hope this is helpful to everyone.
To read more exciting content, please visit the following article directory list (click on the article title to jump directly to read):
“Historical Article Classification List Directory (click on the article title to jump directly to read, as of December 15, 2019)”;
Original writing is not easy, if you find this article helpful for your work and study, you are welcome to show your support—-I will continue writing to bring you more exciting original articles.
Tips:Click the “like author” at the end of the article to appreciate this article or “look/like” to share it, and you can also leave a message to ask questions, I will reply to your concerns as soon as possible!
Welcome to learn/discuss automotive electronics and embedded system hardware and software design technologies with me here. If you have any opinions or suggestions on this public account or the shared articles, please feel free to leave a message. Your likes/follows/shares are the greatest support and affirmation of my hard work!
This public account has opened a keyword reply function, please reply with the following keywords in the public account homepage to get more information and exciting articles:
-
For author information, please reply with the keyword “Author Profile”;
-
To contact the author, please reply with the keyword “Contact Author”;
-
To obtain a high-definition PDF version of the public account article, please reply with the keyword “Get Article”;
-
To obtain professional and timely technical support services, please reply with the keyword “Professional Services”;
-
To download the original technical article collection in high-definition PDF for 2017-2018, please reply with the keyword “Article Collection”;
-
For inquiries about CodeWarrior IDE license purchases and installation issues, please reply with the keyword “CW License”;
-
To purchase automotive Ethernet to industrial Ethernet converters, please reply with the keyword “Ethernet Converter Purchase”;
-
To get the latest and most comprehensive directory of original technical sharing articles from the public account, please reply with the keyword “Article Directory”;
Statement: All original technical articles of this public account are free to read, and all opinions/conclusions in the article are personal views and do not represent any company’s official views; all demo codes/programs are for reference and learning only, quality is not guaranteed, and if used for commercial purposes, the responsibility lies with the user; all articles in this public account are owned by me, all unauthorized reproduction is illegal, and copyright will be pursued~!
If you like the articles from this public account, please click on the public account at the beginning of the article to follow or WeChat directly long press to scan the QR code below to follow, you can also in WeChat add friends–>public account–> enter “Automotive Electronics Expert Growth Path” to search–> click to follow. If you have any opinions or suggestions on this article, please feel free to leave a message.
Your attention, likes, and shares are the greatest affirmation of my hard work!

December 18, 2019, in Chongqing