I'd like to introduce the S32K3x4 EVB-Q257 Evaluation Board to you. The following images illustrate the board's apparent and onboard functional modules.
1. Hello World
In this chapter, I will illustrate how to set up a Hello World level project in the S32K344 IDE named S32DS, then we will learn to build the project and download the built binary to the onboard memory such as Flash, SD card, or other NVM.
Go to Help → S32DS Extensions and Updates from the top menu to open the S32DS Extensions and Updates. Navigate to the S32K3xx development package and install it.
Continue with the installation of the Real-Time Drivers for S32K3xx:
IOREF and AREF at Arduino routed to VDD_HV_A domain
J360
5-6
V15 domain powered from external NPN ballast transistor
J37
2-3
V15 NPN ballast transistor powered from VDD_HV_B domain
J374
CLOSED
External circuits powered from VDD_HV_A domain
J375
CLOSED
External circuits powered from VDD_HV_B domain
J410
1-2
The ADC reference is routed to the VDD_HV_A domain.
J685
1-2
Select voltage level for FS26 DEBUG pin
J686
CLOSED
Disabled FS26 watchdog after power-up
Default Peripherals Jumper settings
Jumper
State
Notes
J57
1-2
USB to Serial IC powered from 5 V
J60
2-3
USB to Serial IC Reset pin routed to voltage divider
J61
CLOSED
Ethernet connected to VDD_HV_B_PERF domain
J62
CLOSED
Ethernet Connected to 3.3 V
J65
CLOSED
QSPI flash powered from 3.3 V
J402
CLOSED
QSPI signals level refers to VDD_HV_B_PERF domain
J390
CLOSED
LIN1 Transceiver enabled
J674
2-3
LIN1 Controller mode via INH pin
J678
CLOSED
LIN2 Transceiver enabled
J679
2-3
LIN2 Controller mode via INH pin
J413
CLOSED
CAN0 Transceiver enabled
J672
CLOSED
CAN1 Transceiver enabled
1.3 Plug in the Power Supply
Switch SW10 to the OFF position (fully to the right).
Connect the 12 V power supply adapter and then switch SW10 to the ON position (fully to the left).
This power-up procedure manage that SBC starts with the disabled watchdog. Four orange LEDs indicate active 12, 5, 3.3 and 1.5V power supply domains.
Connect a micro-USB cable to the J55 connector to debug via the on-board S32K3 debugger.
1.4 Build
Let's take your S32K3X4EVB-Q257 Evaluation Board for a test drive.
Create a S32DS Project from Example:
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_K344.
2. Memory Map
S32K3 family devices memory features can be found in the following table:
The flash memory on S32K3 devices is integrated by blocks. There are five blocks as maximum and two blocks as minimum. Detailed information is provided in the following table.
The S32K3 Product Family devices can be integrated from 1 SRAM and up to 3 SRAM blocks.
I'd like to introduce the S32K3x4 EVB-Q257 Evaluation Board to you. The following images illustrate the board's apparent and onboard functional modules.
1. Hello World
In this chapter, I will illustrate how to set up a Hello World level project in the S32K344 IDE named S32DS, then we will learn to build the project and download the built binary to the onboard memory such as Flash, SD card, or other NVM.
1.1 Download and Install IDE
Download and Install S32 Design Studio IDE for S32 Platform by the site of https://www.nxp.com/design/design-center/software/development-software/s32-design-studio-ide/s32-design-studio-for-s32-platform:S32DS-S32PLATFORM?tab=Design_Tools_Tab
Go to Help → S32DS Extensions and Updates from the top menu to open the S32DS Extensions and Updates. Navigate to the S32K3xx development package and install it.
Continue with the installation of the Real-Time Drivers for S32K3xx:
Download and install the
.exe
file of the S32K3 Real-Time Drivers for Cortex-M from the S32K3 Standard Software Package.1.2 Set Up Jumpers
J13
J16
J23
J24
J25
J29
J30
J31
J321
J360
J37
J374
J375
J410
J685
J686
J57
J60
J61
J62
J65
J402
J390
J674
J678
J679
J413
J672
1.3 Plug in the Power Supply
Switch
SW10
to the OFF position (fully to the right).Connect the 12 V power supply adapter and then switch
SW10
to the ON position (fully to the left).This power-up procedure manage that SBC starts with the disabled watchdog. Four orange LEDs indicate active 12, 5, 3.3 and 1.5V power supply domains.
Connect a micro-USB cable to the
J55
connector to debug via the on-board S32K3 debugger.1.4 Build
Let's take your S32K3X4EVB-Q257 Evaluation Board for a test drive.
Create a S32DS Project from Example:
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_K344
.2. Memory Map
S32K3 family devices memory features can be found in the following table:
The flash memory on S32K3 devices is integrated by blocks. There are five blocks as maximum and two blocks as minimum. Detailed information is provided in the following table.
The S32K3 Product Family devices can be integrated from 1 SRAM and up to 3 SRAM blocks.
3. Boot Sequence
Reference