3rdParty MCAL Integration
Technical Reference
NXP S32K3XX
Version 1.13.1
Authors
virnid,jmaier
Status
Released
Technical Reference 3rdParty MCAL Integration
© 2023 Vector Informatik GmbH Version 1.13.1 2
based on template version 6.0.1
Document Information
History
Author
Date
Version
Remarks
virnid
2020-05-20
1.0.0
Basic Integration of S32K3xx MCAL
virelt
2020-10-15
1.1.0
Integration of SW32K3_RTD_4.4_0.8.0
virnid
2020-10-26
1.1.1
Integration of SW32K3_RTD_4.4_0.8.0_P02
virnid
2020-11-30
1.2.0
Integration of SW32K3_RTD_4.4_0.8.1
virnid
2021-01-13
1.3.0
Integration of SW32K3_RTD_4.4_0.8.1_FBR_1.1
virnid
2021-03-30
1.4.0
Integration of SW32K3_RTD_4.4_0.9.0
virnid
2021-09-23
1.5.0
Integration of SW32K3_RTD_4.4_1.0.0_CD01
virnid
2021-10-11
1.6.0
Integration of SW32K3_RTD_4.4_1.0.0
virnid
2021-12-08
1.7.0
Integration of Spd and Sbc
virnid
2022-02-16
1.7.1
Adding chapter regarding Mcu Init additional Code
(chapter 2.2.1.5.3)
virnid
2022-03-01
1.7.2
Adding information regarding IAR linker error
(2.1.2.3.1)
virnid
2022-03-15
1.8.0
Integration of SW32K3_RTD_4.4_2.0.0_CD01
virnid
2022-04-01
1.9.0
Integration of SW32K3_RTD_4.4_2.0.0
virnid
2022-07-14
1.10.0
Integration of SW32K3_RTD_4.4_2.0.1 and
SW32K396_RTD_4.4_3.0.0_CD02
virnid
2022-08-16
1.10.1
Integration of S32K396_SPD_0.8.0
virnid
2022-10-20
1.10.2
Adding restriction for McuPeripheral (see chapter
2.2.1.9)
virnid
2022-11-02
1.11.0
Integration of
SW32K358_RTD_R21-11_3.0.0_CD03
SW32K396_RTD_4.4_3.0.0_CD02_P01
jmaier
2023-01-02
1.12.0
Integration of
SW32K3_RTD_4.4_2.0.2 and
SW32K358_RTD_R21_11_3.0.0_CD03_P01_D22
11
virnid
2023-01-05
1.13.0
Integration of SW32K3XX_RTD_R21-
11_3.0.0_CD04
jmaier
2023-02-02
1.13.1
Adding restrictions for Mcu and Port (2.2.1.5.2)
Update Linker error (2.2.1.11)
Technical Reference 3rdParty MCAL Integration
© 2023 Vector Informatik GmbH Version 1.13.1 3
based on template version 6.0.1
Reference Documents
No.
Source
Title
Version
[1]
Vector
UserManual_3rdParty-MCAL-Integration.pdf
See Delivery
[2]
Vector
ScreenCast_McalIntegration_Tresos.pdf
See Delivery
Scope of the Document
This document contains information about the integration of 3
rd
Party MCAL into Vector
software stack.
Technical Reference 3rdParty MCAL Integration
© 2023 Vector Informatik GmbH Version 1.13.1 4
based on template version 6.0.1
Contents
MCAL Integration ................................................................................................................. 7
1.1 Type of Integration ............................................................................................. 7
1.2 MCAL Location within SIP .................................................................................. 7
1.3 Supported 3
rd
Party Products ............................................................................. 7
1.3.1 S32K2xx ............................................................................................ 7
1.3.1.1 ASR4.3 ............................................................................ 7
1.3.2 S32K3xx / MWCT2x ........................................................................... 7
1.3.2.1 RTD ................................................................................. 7
1.3.2.1.1 ASR4.7/R21-11 ............................................ 7
1.3.2.1.2 ASR4.4 ........................................................ 8
1.3.3 S32K3xx ............................................................................................ 8
1.3.3.1 RTD ................................................................................. 8
1.3.3.1.1 ASR4.4 ........................................................ 8
1.3.3.2 SPD ................................................................................. 8
1.3.3.2.1 ASR4.4 ........................................................ 8
1.3.3.3 SBC ................................................................................. 8
1.3.3.3.1 ASR4.4 ........................................................ 8
1.4 Configuration Tools ............................................................................................ 9
Vector Comment ................................................................................................................ 10
2.1 Known Issues .................................................................................................. 10
2.1.1 S32K2xx .......................................................................................... 11
2.1.1.1 S32K2XX_MCAL4_3_EAR_0_8_1 /
S32K2XX_Crypto_MCAL4_3_EAR_0_8_1 .................... 11
2.1.1.1.1 Usage of the security package ................... 11
2.1.1.1.2 Usage of different Wdg instances .............. 11
2.1.1.1.3 Wdg_CfgExt.h not generated ..................... 11
2.1.2 S32K3XX ......................................................................................... 11
2.1.2.1 SW32K3_RTD_4.4_0.8.0 /
SW32K3_RTD_4.4_0.8.0_P02 ...................................... 11
2.1.2.1.1 ISR function not found ............................... 11
2.1.2.1.2 Issues with memory sections in Mcl and
Spi module ................................................. 11
2.1.2.1.3 Compiling issue of Spi module ................... 12
2.1.2.1.4 Compiling error in OsIf_Timer.c .................. 12
2.1.2.1.5 Missing compiler switch for intermodule
check in Qspi_Ip.h ..................................... 12
2.1.2.1.6 Configuration problems with Icu module
– missing reference to DMA ....................... 12
2.1.2.1.7 Compiling issue of Icu module ................... 12
Technical Reference 3rdParty MCAL Integration
© 2023 Vector Informatik GmbH Version 1.13.1 5
based on template version 6.0.1
2.1.2.1.8 Compiling issue of Mcl module................... 13
2.1.2.1.9 Compiling issue of Mcu module ................. 13
2.1.2.1.10 Compiling issue of Ocu module.................. 13
2.1.2.1.11 Configuration problems with Pwm
module ....................................................... 13
2.1.2.1.12 Compiling issue of Pwm module ................ 14
2.1.2.1.13 Compiling issue of Wdg module ................. 14
2.1.2.1.14 Missing compiler switch for intermodule
check in hse_ip.h ........................................ 14
2.1.2.1.15 Invalid redeclaration of type name ............. 14
2.1.2.2 SW32K3_RTD_4.4_0.8.1 incl. FBR 1.1 ......................... 15
2.1.2.2.1 Invalid redeclaration of type name ............. 15
2.1.2.2.2 Configuration problems with Pwm
module ....................................................... 15
2.1.2.2.3 Missing compiler switch for intermodule
check in Wdg ............................................. 15
2.1.2.2.4 Issue with ISR in Adc ................................. 15
2.1.2.2.5 SystemTimer not defined in OsIf_Cfg.c ...... 15
2.1.2.2.6 Compiling error of Pwm module ................. 16
2.1.2.2.7 Include of nvic.h ......................................... 16
2.1.2.2.8 Issue with McuResetReasons .................... 16
2.1.2.3 SW32K3_RTD_4.4_1.0.0 ............................................... 17
2.1.2.3.1 Linker error using IAR compiler .................. 17
2.1.2.4 SW32K3_RTD_4.4_2.0.0_CD01 .................................... 17
2.1.2.4.1 Port: missing MemMap includes in
Port.h ......................................................... 17
2.1.2.4.2 Linker error using IAR compiler .................. 17
2.1.3 S32K3xx / MWCT2x ......................................................................... 17
2.1.3.1 SW32K3_RTD_4.4_2.0.0 ............................................... 17
2.1.3.1.1 Linker error using IAR compiler .................. 17
2.1.3.1.2 Port: Memory section no closed in
Port_Ipw.c .................................................. 17
2.1.3.2 SW32K3_RTD_4.4_2.0.1 ............................................... 18
2.1.3.2.1 Linker error using IAR compiler .................. 18
2.1.3.2.2 Port: Memory section no closed in
Port_Ipw.c .................................................. 18
2.1.3.3 SW32K3_RTD_4.4_2.0.2 ............................................... 18
2.1.3.3.1 Linker error using IAR compiler .................. 18
2.1.3.3.2 Port: Memory section no closed in
Port_Ipw.c .................................................. 18
2.1.3.4 SW32K396_RTD_4.4_3.0.0_CD02 incl. P01 ................. 18
2.1.3.4.1 Linker error using IAR compiler .................. 18