Hi @LavanyaR
1. In the Linker file, ensure that the size of ITCM and DTCM are as shown in the following code. Also, the Linker file is already provided when you create a new application project with the desired MCU.
int_itcm : ORIGIN = 0x00000000, LENGTH = 0x00008000 /* 32K */
int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x00010000 /* 64K */
2. For S32K322 the most viable option is to generate a new project with the corresponding MCU and then copy the application source files from your pre-existing project as well as any customizations you made to the project properties.
Hi @LavanyaR
As you know, S32K3 has many derivatives, so to reduce effort, in the most recent RTD releases we only provide examples for K344, K358, and K396. Examples of other derivatives can be created based on these existing examples. Also, as you are using RTD version 2.0.3, all S32K342 examples will work for S32K322 as long as you modify the DTCM and ITCM size in the linker script.
The S32K322 devices are supported by RTD 2.0.x, 3.0.0 and 4.0.0. You can find a list of supported derivatives in ReleaseNotes.pdf (Chapter 2.3 Supported Derivatives).
B.R.
VaneB
Hi @VaneB
1. Can you tell me procedure to modify the linker script?
2. We are having ADC, SPI, CAN, I2C, timer and RTC driver code for S32k324 controller. Shall we use this driver code for s32k322 controller?
Note : We taken s32k344 example code as reference for configuring the above drivers.
Thank you
Lavanya
Hi @LavanyaR
1. In the Linker file, ensure that the size of ITCM and DTCM are as shown in the following code. Also, the Linker file is already provided when you create a new application project with the desired MCU.
int_itcm : ORIGIN = 0x00000000, LENGTH = 0x00008000 /* 32K */
int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x00010000 /* 64K */
2. For S32K322 the most viable option is to generate a new project with the corresponding MCU and then copy the application source files from your pre-existing project as well as any customizations you made to the project properties.
Hi @VaneB
In our project I2C1 (PTD9 & PTD6) used for EEPROM communication. I2C1 (PTC6 &PTC7) used for RTC communication. Is it possible to configure the same instance twice in single master?
Thank you
Lavanya
Hi,
Yes i need RTD set for S32k322. Here we are using S32DS v3.5 and RTD version are 2.0.3 and 3.0.0.
Kindly provide me the which RTD version i have to use for S32k322?. We require FreeRTOS also
Thank you