1.S32K3电源和复位

一、电源

S32K3系列芯片的电源各不相同。以S32K34x,S32K32x及S32K314为例。

并且该芯片支持以下特性:

• Combination of internal and external voltage regulator options, offering RUN and Standby modes
        • FPM , which is used on chip-level in RUN modes: For high-current consumption
        • LPM , which is used on chip-level for Standby modes: For low-current consumption
• Active POR providing brown-out detect
LVR for all system-relevant power domains
LVD and HVD as indication for software

1.1 Reset

上电复位POR和低电压复位LVR都会导致芯片复位,具体原因可以通过寄存器PMC_LVSC查看。寄存器中的标志位相关的复位标志不会被复位影响,因此需要及时对这些标志位进行清除。

1.2 Interrupt

PMC包括两个中断:

HVD interrupt: Combines all HVD monitors into one interrupt source. CONFIG[HVDIE] enables this interrupt. See PMC
Configuration (CONFIG) and Low Voltage Status And Control (LVSC) for details.
LVD interrupt: The LVD5A monitor is the only interrupt source. CONFIG[LVDIE] enables this interrupt. See PMC
Configuration (CONFIG) and Low Voltage Status And Control (LVSC) for details.

1.3 Regulator

PMC包括了三个Regulator:

• a low-power regulator ( LPM ) supplying core logic during Standby mode ( V11_STANDBY ),The LPM regulator manages the chip in Standby mode.
• Boot (Applicable for S32K344/S32K324/S32K314 and S32K3x2), The boot regulator manages the chip during the booting process.
• Last-mile ( FPM ),The last-mile regulator is the full-performance regulator, which you enable for running applications.

1.3.1 1.5V Source

1.3.2 PMC last-mile regulator auto-enable feature(不同复位发生导致Regulator发生变化)

需要注意的是,当从Stamdby退出时,需要打开Last Mile Regulator;当进入到Standby时,需要关闭Last Mile Regulator。

当我们第一次上电时,一直使用的是Boot Regulator,上电完成之后进入到main函数之后,可以通过配置的方式,使用 Last Mile Regulator,Solved: S32K344 Last Mile Regulator - NXP Community。

二、复位

2.1 类型

复位主要包括三类:

Power-on reset
The complete device gets reset when power is applied
All PMC (Power Management Controllers) POR and LVRs are combined into one single MCU POR.
Destructive reset
associated with a critical error or dysfunction.
− full reset sequence applied, starting from DEST0, ensuring a safe start-up state for both digital and analog modules. The memory content must be considered to unknown state.
Functional reset
associated with a less-critical error or dysfunction
− partial reset sequence applied, starting from FUNCm0. Most digital modules are reset normally, while the state of analog modules or specific digital modules (for example, debug modules, flash modules) as well as the system memory content is preserved.

具体复位原因,参考1.1。

2.1 Power On Reset

2.2 Destructive Reset

2.3 Functional Reset

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/309528.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

市场复盘总结 20231229

仅用于记录当天的市场情况,用于统计交易策略的适用情况,以便程序回测 短线核心:不参与任何级别的调整 昨日回顾: -- 今日 SELECT * FROM (SELECT TOP 100 CODE,20231229 入选日期,成交额排名,净流入排名,代码,名称,DDE大单金额,涨幅,主力净额,DDE大单净量,CONVERT(DATETIM…

Linux驱动开发简易流程

推荐视频: 正点原子【第四期】手把手教你学 Linux之驱动开发篇 小智-学长嵌入式Linux&Android底层开发入门教程 能力矩阵 基础能力矩阵 熟悉c/c、熟悉数据结构 熟悉linux系统,Shell脚本,Makefile/cmake/mk 文件IO、多线程、竞争、并发…

Python实现员工管理系统(Django页面版 ) 七

各位小伙伴们好久不见,2024年即将到来,小编在这里提前祝大家新的一年快快乐乐,能够事业有成,学习顺心,家庭和睦,事事顺利。 今天我们本篇要实现的是一个登录界面的实现,其实登录界面的实现看着挺…

【linux】Linux管道的原理与使用场景

Linux管道是Linux命令行界面中一种强大的工具,它允许用户将多个命令链接起来,使得一个命令的输出可以作为另一个命令的输入。这种机制使得我们可以创建复杂的命令链,并在处理数据时提供了极大的灵活性。在本文中,我们将详细介绍Li…

nacos入门篇001-安装与启动

1、下载zip包 我这里下载的是版本2.2.0 Nacos 快速开始 2、修改配置文件 2.1集群模式修改成单例模式 vi startup.sh 2.2 修改数据库配置信息 3、初始化数据库 3.1 创建db名称:db_nacos 3.2 执行mysql-schema.sql 3.3 执行完截图: 4、运行脚本启动 …

Chapter 7 - 8. Congestion Management in Ethernet Storage Networks以太网存储网络的拥塞管理

Stomped CRC Counters Stomped CRC counters help in finding the location of bit errors in a network that uses cut-through switches. More precisely, these counters help in finding where bit errors do not exist. Stomped CRC 计数器有助于在使用直通式交换机的网络…

CSS:盒子模型

CSS:盒子模型 盒子模型盒子模型的组成盒子内容边框 border内边距 padding盒子实际大小计算CSS3的盒子类型content-boxborder-box 外边距 margin外边距合并相邻块元素垂直外边距合并嵌套块元素垂直外边距塌陷 行内元素的内外边距 盒子相关属性圆角边框盒子阴影 盒子模…

APP UI自动化测试思路总结

首先想要说明一下,APP自动化测试可能很多公司不用,但也是大部分自动化测试工程师、高级测试工程师岗位招聘信息上要求的,所以为了更好的待遇,我们还是需要花时间去掌握的,毕竟谁也不会跟钱过不去。接下来,一…

每日一题——LeetCode961

方法一 排序法: 2*n长度的数组里面有一个元素重复了n次,那么将数组排序,求出排序后数组的中间值(因为长度是偶数,没有刚好的中间值,默认求的中间值是偏左边的那个)那么共有三种情况:…

FFmpeg学习笔记--Centos8安装FFmpeg

1--安装指令 sudo yum install epel-releasesudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpmsudo yum install ffmpeg ffmpeg-develffmpeg -version 2--版本信息

C/C++ BM3 链表中的节点每k个一组翻转

文章目录 前言题目思路阐述代码总结 前言 这道题的关键是理解链表指针的位置; 在BM2的区间翻转基础上,多了个指针偏移,博客里面我贴图阐述一下。 题目 思路阐述 这道题的翻转过程参考BM2的题解,这里主要阐述一下指针移动和整体思…

JavaScript使用教程(二):类型、值和变量

计算机程序通过操作值(如数值3.14)或文本(如“Hello World”)来工作。编程语言中这些可以表示和操作的值被称为类型,而一门语言支持的类型集也是这门语言最基本的特征。程序在需要把某个值保存下来以便将来使用时&…