How to connect the wakeup sources with Wakeup Unit (WKPU) for S32K3xx

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to connect the wakeup sources with Wakeup Unit (WKPU) for S32K3xx

跳至解决方案
2,463 次查看
OliverTian
NXP Employee
NXP Employee

Hi,

    How to connect the wakeup sources with Wakeup Unit (WKPU) for S32K3xx. 

    I think RM should be improved to add one mapping table. 

 Regards

Oliver

0 项奖励
回复
1 解答
2,462 次查看
OliverTian
NXP Employee
NXP Employee

   For S32K3, there are five wakeup sources, as 0~4.

  • Wakeup Source 0 : SWT_0 timeout, RTC-API API wakeup
  • Wakeup Source 1 : RTC-API RTC timeout
  • Wakeup Source 2 : Round robin wakeup interrupt (trigger mode interrupt) from any of CMP_0, CMP_1 or CMP_2
  • Wakeup Source 3 : RTI wakeup
  • Wakeup Source 4 - Wakeup Source 63 : External pin wakeup sources, WKPU[0] - WKPU[59]

 

   So, if you use EB to configure IcuWkpu in Icu, you need take care.

   For example, if the wakeup source is CMP_x, the number within Wkpu Channel should be 2;

                        If the wakeup source is external pin PTC20, you can get the WKPU[43] from "S32K3xx_IOMUX.xlsx" in RM's attachment. BUT the number within Wkpu Channel should be 47  (43+4).

 

Notes:

   In EB Tresos

OliverTian_0-1631071425000.png

   In S32K3xx_IOMUX.xlsx 

OliverTian_1-1631071425033.png

Hope this will be helpful.

Cheers!

Oliver

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,463 次查看
OliverTian
NXP Employee
NXP Employee

   For S32K3, there are five wakeup sources, as 0~4.

  • Wakeup Source 0 : SWT_0 timeout, RTC-API API wakeup
  • Wakeup Source 1 : RTC-API RTC timeout
  • Wakeup Source 2 : Round robin wakeup interrupt (trigger mode interrupt) from any of CMP_0, CMP_1 or CMP_2
  • Wakeup Source 3 : RTI wakeup
  • Wakeup Source 4 - Wakeup Source 63 : External pin wakeup sources, WKPU[0] - WKPU[59]

 

   So, if you use EB to configure IcuWkpu in Icu, you need take care.

   For example, if the wakeup source is CMP_x, the number within Wkpu Channel should be 2;

                        If the wakeup source is external pin PTC20, you can get the WKPU[43] from "S32K3xx_IOMUX.xlsx" in RM's attachment. BUT the number within Wkpu Channel should be 47  (43+4).

 

Notes:

   In EB Tresos

OliverTian_0-1631071425000.png

   In S32K3xx_IOMUX.xlsx 

OliverTian_1-1631071425033.png

Hope this will be helpful.

Cheers!

Oliver

0 项奖励
回复