Download and install S32 Design Studio IDE for S32 Platform.
Note: You will receive activation code through email.
Go to Help > S32DS Extensions and Updates from the top menu to open the S32DS Extensions and Updates dialogue.
Note: In case of installation issues, please ensure that the latest version of S32 Design Studio Platform package and S32 Design Studio Platform Tools package is installed.
Continue with the installation of the Real-Time Drivers for S32K3xx:
Download and install Elektrobit tresos Studio / AUTOSAR Configuration Tool from S32K3 Standard Software Package.
Download and install the .exe
file of the S32K3 Real-Time Drivers for Cortex-M from the
S32K3 Standard Software Package.
The installer will ask for the EB tresos installation directory on your disk, saving time in configuration.
Note: You will receive an activation code via email. If you installed RTD prior
EB tresos, create a SW32K3_RTD_4.4_x.y.z.link
file in: C:\EB\tresos\links folder with the
content: "path=C:/NXP/SW32K3_RTD_4.4_x.y.z
", where x,y,z refers to installed RTD version.
S32K312EVB-Q172 performs better when using the FreeMASTER Run-Time Debugging Tool.
Note: Check the FreeMASTER page for the latest version.
The FreeMASTER communication driver for S32K3 microcontrollers is also needed;
download it from the Automotive SW - S32K3 - S32 FreeMASTER link in the
S32K3 Standard Software Package.
Open S32DS Extensions and Updates dialog (menu -> Help -> S32DS Extensions and Updates), click on Add Update Sites link and navigate to FreeMASTER communication driver for S32K3 (zip file starting with "com.") on your disk.
Install FreeMASTER communication driver for S32K3.
Aditional optional software may be downloaded from S32K3 Reference Software Package.
Default Jumper settings | ||
---|---|---|
Jumper | State | Notes |
J1 |
CLOSED | Disabled FS26 watchdog after power-up |
J5 |
1-2 | Select voltage level for FS26 DEBUG pin |
J8 |
CLOSED | External circuits powered from VDD_HV_B domain |
J9 |
CLOSED | External circuits powered from VDD_HV_A domain |
J10 |
CLOSED | The MCU peripherals powered from the VDD_HV_A domain |
J18 |
1-2 | 5 V for the VDD_HV_A domain |
J20 |
OPEN | LIN1 Commander* mode |
J22 |
1-2 | 5 V from FS26 SBC |
J24 |
OPEN | LIN2 Commander* mode |
J26 |
CLOSED | 3.3 V from FS26 SBC |
J30 |
OPEN | FS26 wake inputs |
J44 |
OPEN | On-board debugger UART pins |
Switch SW1
to the OFF position (fully to the right).
Connect the 12 V power supply adapter and switch
SW1
to the ON position (fully to the left).
When power is applied to the EVB, four orange LED’s adjacent to the voltage regulators show the presence of the supply voltages (12 V, 5 V, 3.3 V and 1.5 V).
Note: This power-up procedure ensures that FS26 SBC starts with disabled watchdog.
Connect a micro-USB cable to the J40
connector to debug via the on-board S32K3 debugger.
Or use JTAG connector for debug via external S32K3 debugger.
Let's take your S32K312EVB-Q172 evaluation board for a test drive.
Open S32DS and from the menu, go to: File > New > S32DS Project from Example. Select one of RTD example codes. You
may choose between examples with high-level API or with low-level API. For example: Port_example_K312
.
Double-click on the .mex
project file.
Please ensure that you configure appropriate project and click on "Update Code" button for generating configuration files.
Return back to the C/C++ perspective.
Use the Debug Configuration menu and select one of predefined debug configurations for building and uploading software into MCU.
Note: If you don't use the default on-board debugger, edit the debugger tab for your setup.
The S32DS will switch into debug perspective where you may let the code run.
The red LED will now blink for approximately 10 seconds.
Connect with other engineers and get expert advice on designing with the S32K312EVB-Q172 evaluation board using our community sites.