What is maximum tflite model size that can be deployed on MCXN947?

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

What is maximum tflite model size that can be deployed on MCXN947?

3,263 次查看
nnxxpp
Contributor IV

I am newbie with NXP board. I have a board MCXN947 and I read the specification of this board. It mentioned 3 Flash: 2MB with ECC, 64 Mbit fro QSPI flash and 512 Mbit Octal flash. So when deploy tflite model on this board, which flash memory I will flash into? I am concern about this problem because may be I can not deploy a "large" model. I am using MCUXpresso and examples from SDK + Code Hub.

I surprised about small flash memory of this board compared to MIMXRT1xxx boards.

标签 (1)
0 项奖励
回复
7 回复数

3,218 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @nnxxpp 

When deploy tflite model on this board, you will flash into 2MB Flash.

BR

Harry

3,210 次查看
nnxxpp
Contributor IV

Hi @Harry_Zhang 

2 MB is very small. If my model size is larger than 2 MB. I don't want to reduce  model size. What I need to do ? Can I use other flashes or external storage to run model? Thanks.

0 项奖励
回复

3,205 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @nnxxpp 

You can use external storage to run model. MCXN947 support XIP.

BR

Harry

2,902 次查看
nnxxpp
Contributor IV

@Harry_Zhang 

Sorry, I have one more question.

Whether I can use 64 Mbit QSPI flash for running example from SDK. If I can, I will use larger model on 64 Mbit QSPI flash.

Could you sharing with me guide or tutorial to runing SDK examples with 64 Mbit QSPI flash in the case we can?

0 项奖励
回复

2,675 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @nnxxpp 

YES, you can use 64 Mbit QSPI flash for running example.

You can refer to the hello_world_qspi_xip.

Harry_Zhang_0-1733454242654.png

BR

Harry

0 项奖励
回复

2,671 次查看
nnxxpp
Contributor IV

@Harry_Zhang 

Thank you.

It is not easy to custom eIQ running with QSPI. I will investigate it

0 项奖励
回复

2,923 次查看
nnxxpp
Contributor IV
Thank you so much.
0 项奖励
回复