QSPI for S32K3 is not implemented in the MBDT.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

QSPI for S32K3 is not implemented in the MBDT.

跳至解决方案
404 次查看
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 项奖励
1 解答
355 次查看
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 项奖励
1 回复
356 次查看
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 项奖励