QSPI for S32K3 is not implemented in the MBDT.

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

QSPI for S32K3 is not implemented in the MBDT.

Jump to solution
375 Views
JavierVallejo
Contributor I

Hello,

I am using MBDT for S32K3xx-v1.4 in simulink to program on S32K344 on the MR-CANHUBK344 evaluation board.

This board has a Flash memory that to use it you need to use QSPI. The problem is that QSPI is implemented in S32Ds for programming in C but not in MBDT of Simulink. Is there a separate library to use QSPI for S32K3 in simulink? If not, are there any plans to implement QSPI in MBDT?

Thanks

0 Kudos
1 Solution
326 Views
dragostoma
NXP Employee
NXP Employee

Hi, @JavierVallejo , 

Thank you for your interest into Model-Based Design Toolbox for S32K3.

Currently, the S32K3 Toolbox does not include support for QSPI component, but we are considering including it in future releases. 

Since we provide the complete RTD driver package, you may still implement the component Mem_43_EXFLS in our toolbox and access the QSPI's API using custom code blocks.

Moreover, you have some examples in our toolbox (s32k3xx_isr_custom_code_ebt and s32k344_mc_bldc_ebt) where the application is using custom code. Beside the custom code examples, you should also check the following threads related to custom code usage:

https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Capture-for-S32K3-in-Simulink/m-p/1...

https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SENT-Protocol-Support-in-S32K3-MBDT/m-p...

You can also check the following topic How to use your own C code in our Toolbox (Battery Management System example). Here you will find an additional method of using custom code inside our toolbox.

 

Best regards,

Dragos

View solution in original post

0 Kudos
1 Reply
327 Views
dragostoma
NXP Employee
NXP Employee

Hi, @JavierVallejo , 

Thank you for your interest into Model-Based Design Toolbox for S32K3.

Currently, the S32K3 Toolbox does not include support for QSPI component, but we are considering including it in future releases. 

Since we provide the complete RTD driver package, you may still implement the component Mem_43_EXFLS in our toolbox and access the QSPI's API using custom code blocks.

Moreover, you have some examples in our toolbox (s32k3xx_isr_custom_code_ebt and s32k344_mc_bldc_ebt) where the application is using custom code. Beside the custom code examples, you should also check the following threads related to custom code usage:

https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Capture-for-S32K3-in-Simulink/m-p/1...

https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SENT-Protocol-Support-in-S32K3-MBDT/m-p...

You can also check the following topic How to use your own C code in our Toolbox (Battery Management System example). Here you will find an additional method of using custom code inside our toolbox.

 

Best regards,

Dragos

0 Kudos