S32K1

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

S32K1

2,391 Views
Abdel
Contributor II

Hello, i have S32K144 development Kit for bldc motor control.At the beginning the board functioned without any problems, I could manually control the motor (With buttons sw1 accelerate, sw2 decelerate). I wanted to test the board with "Hello Code" and then came the error message "no board detected on any of speciefied UART Communication" in Freemaster. Can you please help me to reset the board or to return to the start, so I could manually control the board again. Thank you very much

 

 

0 Kudos
8 Replies

2,377 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Abdel,

Seems that you are test the MCSPTE1AK144_BLDC_6Step demo.(C:\NXP\MC_DevKits\MCSPTE1AK144\sw\MCSPTE1AK144_BLDC_6Step)
If you have download the MCSPTE1AK144 APPLICATION SW on "Get Started with the MCSPTE1AK144". Then please try to flash MCSPTE1AK144_BLDC_6Step demo in S32 Design Studio (S32DS) for ARM 2.2 again.

 

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

2,370 Views
Abdel
Contributor II

Hi Robin,

many thanks for your response.

I performed the flash but unfortunately the LED on the board is still red and the LED in front of the Hall Encoder Interface flashes constantly. Can you help me please? Thank you in advance

Report after Flash:

Connection from "127.0.0.1" via 127.0.0.1. Connection from port "51304" to 6224
Connection from "127.0.0.1" via 127.0.0.1. Connection from port "51308" to 7224
Telnet server running on 127.0.0.1:51794
Searching for FreeRTOS Kernel Symbols...
rsp_qC - qSymbol: 707843757272656E74544342
pxCurrentTCB not found. FreeRTOS analysis not enabled.
Copyright 2018 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_ARM_v2.2\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_4.4.6.201912192052\win32\pegdbserver_console -device=NXP_S32K1xx_S32K144F512M150N77P -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -speed=4
OpenSDA detected - Flash Version 1.19

CMD>RE

Initializing.
Target has been RESET and is active.
CMD>CM C:\NXP\S32DS_ARM_v2.2\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_4.4.6.201912192052\win32\gdi\P&E\supportFiles_ARM\NXP\S32K1xx\freescale_s32k144f512m150N77P_all.arp

Initializing.
Initialized.

;version 1.05, 12/03/2019, Copyright 2019 P&E Microcomputer Systems, Inc. All rights reserved. www.pemicro.com [s32k144f512m15_x_pflash_dflash_eeprom_rev1]

;device freescale, s32k144f512m150N77P, all

;begin_cs device=$00000000, length=$14001000, ram=$20000000

Loading programming algorithm ...
Done.
Programming sequency is : erase, blank check, program, and verify {default}
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00000000-0000B9AB ...
Ok.
Checksum Verification Successful. (Cumulative CRC-16=$9A43)
Application verified in memory. No need to reprogram.

CMD>RE

Initializing.
Target has been RESET and is active.
No breakpoints currently set.
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "51304" from 6224
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "51308" from 7224
Target Disconnected.

 

best regards

Abdel

0 Kudos

2,360 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

"If the LED on the board is still red". Do you mean the D1 on S32K144EVB?
If so, the reset signal of MCU may be low(You can measure it by using oscilloscope). Which mean the project may not run at all.

S32K144EVB D1.png
After flash MCSPTE1AK144_BLDC_6Step demo to S32K144EVB, the D1 LED does not light.
Step 2 Program Base Board

DEVKIT-MOTORGD_QSG Step by Step.png
And I am able to connect it in FreeMaster.
I don't have DEVKIT MOTORGD board, so just power S32K144EVB by OpenSDA J7.

FreeMaster Probing UART Ports.png


Due to the definition of J107 is different, please check the SCH version of S32K144EVB. So that you can "make sure base board is configured to be powered externally".

DEVKIT-MOTORGD_QSG J107.png

J107 P5V_SBC.png

0 Kudos

2,357 Views
Abdel
Contributor II

Hi Robin,

Thank you for your answer. Can you tell me please, if i need an externel debug adapter for my board. I understood, that this board S32k144EVB has an integrated debug Adpater. If yes, which one do you recommend. 

Best regards

Abdel

0 Kudos

2,345 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

You don't need external debugger.
If you are following the "Get Started with the MCSPTE1AK144", the step "3.6 Connect the USB Cable" and "4.2 Debug and Load" shows it will use on board PEMicro OpenSDA debugging.

3.6 Connect the USB Cable.png

4.2 Debug and Load.png

Would you please let me know which project did you load at the beginning? (board functioned without any problems)
The "4.1 Select Application and MCU Programing" of "Get Started with the MCSPTE1AK144" load MCSPTE1AK144_PMSM_FOC_2Sh. In order to achieve the previous function, you may load this project again. (C:\NXP\MC_DevKits\MCSPTE1AK144\sw\MCSPTE1AK144_PMSM_FOC_2Sh)

4.1 Select Application and MCU Programing.png

0 Kudos

2,319 Views
Abdel
Contributor II

Hi, thank you for your answer. I loaded this "MCSPTE1AK144_BLDC_6Step" then this "MCSPTE1AK144_PMSM_FOC_2Sh". But it didn t work. I I have now another problem. when I connect the motor board, the light on the power supply unit is blinking.

ist it defect now? Thank you in advance.

Abdel

0 Kudos

2,267 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please download the documents of DEVKIT-MOTORGD.
Do you mean the LED_OK D2 blink?

DEVKIT-MOTORGD D2.png
Please check the voltage of below point:

DEVKIT-MOTORGD D2 LED_OK.png

0 Kudos

2,259 Views
Abdel
Contributor II

Hi Robin,

i mean D2 LED. I think the mosfet (Q2) is defect, because it doesnt conduct. Which one do i need? Thank you in advance.

Best regards 

Abdel

0 Kudos