S32k116 does not boot if PTB6 or PTB7 are high (and PE is used)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32k116 does not boot if PTB6 or PTB7 are high (and PE is used)

Jump to solution
657 Views
nxa24490
NXP Employee
NXP Employee

I noticed that:

  • if either PTB7 or PTB6 are connected to VCC during boot
  • if the project is created with Processor Expert 

the MCU does not boot, the WDOG reset is triggered

I'm using the S32k116 EVB, 

I've tried with the "hello_world_s32k116" example

to reproduce the issue simply import the project from example, connect v3.3 to PTB6 or PTB7 and the MCU will not boot, after the boot, the pin can safely be connected to VCC 

 

If I run a project without Processor expert (e.g. /S32K116_Project_hello) ,the issue is not there

I'm using S32 design studio, details:
Package: S32 Design Studio for ARM Devices development package; Version: 2.2.1; Build id: 202005061848
Package: S32K1xx SDK 3.0.0 package; Version: 2.2.0; Build id: 202001161613
Package: S32K1xx SDK 3.0.3 package; Version: 2.2.1; Build id: 202005140959
Package: GCC for Arm Embedded Processors v4.9 build 2015q3 with NXP EWL2; Version: 2.2.0; Build id: 201912260953
Package: S32 Design Studio for ARM Tools package; Version: 2.2.0; Build id: 202001161658
Package: S32 Design Studio for ARM package; Version: 2.2.0; Build id: 202001161658
Package: S32K1xx development package; Version: 2.2.1; Build id: 202005141031
Package: NXP GCC for Arm Embedded Processors v6.3 build 2017 with EWL2; Version: 2.2.0; Build id: 201912101307

0 Kudos
1 Solution
644 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

The PTB6 and PTB7 are connect to XTAL and EXTAL and 40MHz crystal by default.

XTAL EXTAL PTB6 PTB7 S32K116EVB.png

XTAL EXTAL S32K116EVB.png


The Processor Expert of "hello_world_s32k116" example enabled SOSC and select 40MHz External crystal oscillator.

SOSC.png
S32K116_Project_hello does not.


If you want to use PTB6 and PTB7 for other functions, please remove the R84 and R88, and disable the SOSC.

 

Best Regards,
Robin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

1 Reply
645 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

The PTB6 and PTB7 are connect to XTAL and EXTAL and 40MHz crystal by default.

XTAL EXTAL PTB6 PTB7 S32K116EVB.png

XTAL EXTAL S32K116EVB.png


The Processor Expert of "hello_world_s32k116" example enabled SOSC and select 40MHz External crystal oscillator.

SOSC.png
S32K116_Project_hello does not.


If you want to use PTB6 and PTB7 for other functions, please remove the R84 and R88, and disable the SOSC.

 

Best Regards,
Robin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------