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,336件の閲覧回数
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,335件の閲覧回数
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,336件の閲覧回数
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 件の賞賛
返信