S32K312 FLASH

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

S32K312 FLASH

Jump to solution
3,019 Views
PINKMAN
Contributor III

HELLO ,EXPERT:

i am using S3K312 CHIP, I want to use flash and eeprom function without autosar(MCAL),There are some issues troubling me:

1. in the drivers group, i only found C40 ip and cache ip conponent ,what's the meaning of C40?

2. in the MCAL group, i can use FLS and FEE ,is it used for autosar standard interface?

3. in the MCAL i found a component named Mem_43_INFLS_TS,what's the meanning of Mem_43_INFLS_TS

at last, if i want to develp FLASH AND EEPROM without autosar ,which component i could use,which demo or example is useful for my requirement ? thanks

0 Kudos
Reply
1 Solution
2,988 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @PINKMAN,

1. The C40 driver is a non-AUTOSAR IP layer. You can refer to the 02: S32K3xx Real-Time Drivers (RTD) training and chapter 21 (Embedded Flash Memory c40asf) from the S32K3XX reference manual.

2. Yes, the FEE and FLS drivers are derived from MCAL.

3. Depending on which AUTOSAR version you are trying to use, the flash driver changes.

For example, you can see included in the SW32K3_S32M27x_RTD_4.4_4.0.0_P20 the driver Fls_TS_T40D34M40I0R0. On the other hand, SW32K3_S32M27x_RTD_R21-11_4.0.0_P19 includes the Mem_43_INFLS_TS_T40D34M40I0R0 driver.

This is because in Autosar R21-11, the Fls Driver has been replaced by Mem_InFls/Mem_ExFls. You can refer to the official Specification of Memory Access from AUTOSAR.

4. Any example which includes the "IP" word refer to the non-AUTOSAR (low level) drivers. So, for example "C40_Ip_Example_S32K344".

Best regards,
Julián

View solution in original post

2 Replies
2,989 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @PINKMAN,

1. The C40 driver is a non-AUTOSAR IP layer. You can refer to the 02: S32K3xx Real-Time Drivers (RTD) training and chapter 21 (Embedded Flash Memory c40asf) from the S32K3XX reference manual.

2. Yes, the FEE and FLS drivers are derived from MCAL.

3. Depending on which AUTOSAR version you are trying to use, the flash driver changes.

For example, you can see included in the SW32K3_S32M27x_RTD_4.4_4.0.0_P20 the driver Fls_TS_T40D34M40I0R0. On the other hand, SW32K3_S32M27x_RTD_R21-11_4.0.0_P19 includes the Mem_43_INFLS_TS_T40D34M40I0R0 driver.

This is because in Autosar R21-11, the Fls Driver has been replaced by Mem_InFls/Mem_ExFls. You can refer to the official Specification of Memory Access from AUTOSAR.

4. Any example which includes the "IP" word refer to the non-AUTOSAR (low level) drivers. So, for example "C40_Ip_Example_S32K344".

Best regards,
Julián

2,973 Views
PINKMAN
Contributor III

thank you

Tags (1)
%3CLINGO-SUB%20id%3D%22lingo-sub-1971761%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K312%20FLASH%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1971761%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHELLO%20%2CEXPERT%3A%3C%2FP%3E%3CP%3Ei%20am%20using%20S3K312%20CHIP%2C%20I%20want%20to%20use%20flash%20and%20eeprom%20function%20without%20autosar(MCAL)%2CThere%20are%20some%20issues%20troubling%20me%EF%BC%9A%3C%2FP%3E%3CP%3E1.%20in%20the%20drivers%20group%2C%20i%20only%20found%20C40%20ip%20and%20cache%20ip%20conponent%20%2Cwhat's%20the%20meaning%20of%20C40%3F%3C%2FP%3E%3CP%3E2.%20in%20the%20MCAL%20group%2C%20i%20can%20use%20FLS%20and%20FEE%20%2Cis%20it%20used%20for%20autosar%20standard%20interface%3F%3C%2FP%3E%3CP%3E3.%20in%20the%20MCAL%20i%20found%20a%20component%20named%26nbsp%3BMem_43_INFLS_TS%2Cwhat's%20the%20meanning%20of%26nbsp%3BMem_43_INFLS_TS%3C%2FP%3E%3CP%3Eat%20last%2C%20if%20i%20want%20to%20develp%20FLASH%20AND%20EEPROM%20without%20autosar%20%2Cwhich%20component%20i%20could%20use%2Cwhich%20demo%20or%20example%20is%20useful%20for%20my%20requirement%20%3F%20thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1972438%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K312%20FLASH%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1972438%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ethank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1972278%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K312%20FLASH%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1972278%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F193092%22%20target%3D%22_blank%22%3E%40PINKMAN%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E1.%26nbsp%3BThe%20C40%20driver%20is%20a%20non-AUTOSAR%20IP%20layer.%20You%20can%20refer%20to%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fsupporting-information%2F02_S32K3xx_Real_Time_Drivers_(RTD)_Installation_Guide_Training.pdf%3F_gl%3D1*1olfy3b*_ga*MTg0MjYwNDM1MC4xNzE3MTk0OTk0*_ga_WM5LE0KMSH*MTcyODY1OTMxMS42LjEuMTcyODY2MjU5Ny4wLjAuMA..%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E02%3A%20S32K3xx%20Real-Time%20Drivers%20(RTD)%3C%2FA%3E%26nbsp%3Btraining%20and%20chapter%2021%20(Embedded%20Flash%20Memory%20c40asf)%20from%20the%20S32K3XX%20reference%20manual.%3C%2FP%3E%0A%3CP%3E2.%20Yes%2C%20the%20FEE%20and%20FLS%20drivers%20are%20derived%20from%20MCAL.%3C%2FP%3E%0A%3CP%3E3.%26nbsp%3BDepending%20on%20which%20AUTOSAR%20version%20you%20are%20trying%20to%20use%2C%20the%20flash%20driver%20changes.%3C%2FP%3E%0A%3CP%3EFor%20example%2C%20you%20can%20see%20included%20in%20the%20SW32K3_S32M27x_RTD_%3CSTRONG%3E4.4%3C%2FSTRONG%3E_4.0.0_P20%20the%20driver%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EFls_TS_T40D34M40I0R0%3C%2FSTRONG%3E.%20On%20the%20other%20hand%2C%20SW32K3_S32M27x_RTD_%3CSTRONG%3ER21-11%3C%2FSTRONG%3E_4.0.0_P19%20includes%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EMem_43_INFLS_TS_T40D34M40I0R0%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Edriver.%3C%2FP%3E%0A%3CP%3EThis%20is%20because%20in%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EAutosar%20R21-11%3C%2FSTRONG%3E%2C%20the%20%3CSTRONG%3EFls%3C%2FSTRONG%3E%20%3CSTRONG%3EDriver%3C%2FSTRONG%3E%20has%20been%20replaced%20by%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EMem_InFls%2FMem_ExFls.%26nbsp%3B%3C%2FSTRONG%3EYou%20can%20refer%20to%20the%20official%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.autosar.org%2Ffileadmin%2Fstandards%2FR21-11%2FCP%2FAUTOSAR_SWS_MemoryAccess.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ESpecification%20of%20Memory%20Access%3C%2FA%3E%26nbsp%3Bfrom%20AUTOSAR.%3C%2FP%3E%0A%3CP%3E4.%20Any%20example%20which%20includes%20the%20%22IP%22%20word%20refer%20to%20the%20non-AUTOSAR%20(low%20level)%20drivers.%20So%2C%20for%20example%20%22C40_Ip_Example_S32K344%22.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FP%3E%3C%2FLINGO-BODY%3E