S32K344 FLS demo bug

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

S32K344 FLS demo bug

2,311 Views
ZhaozhangChen
Contributor I

HI

 I found some problems in the demo code while testing the S32K3 MCAL Fls module.und some problems in the demo code while testing the S32K3 Fls module.

1.Fls_Read(FLS_START_ADDR, Fls_Rxdata, FLS_BUF_SIZE);
The read data was stored in Fls_Rxdata, but when I debug it, I find all the values are 0

 

ZhaozhangChen_0-1667553672549.png

2. Data verification function, return value E_NOT_OK (1), but in the program judged as no problem 

ZhaozhangChen_1-1667553947947.pngZhaozhangChen_2-1667553960016.pngZhaozhangChen_3-1667553978902.png

 

Attached is demo projec,

 

0 Kudos
Reply
6 Replies

2,281 Views
DanNguyenDuy
NXP Employee
NXP Employee

Hi ZhaozhangChen,

What is the driver's name you are using?

Best regards,

Dan

0 Kudos
Reply

2,244 Views
ZhaozhangChen
Contributor I

I used an oscilloscope to measure the pin pin of QSPI, and MCU had no signal output at all.I have configured QSPI related pins in port and called Port_Init(NULL_PTR);

ZhaozhangChen_0-1668046779773.png

 

0 Kudos
Reply

2,251 Views
ZhaozhangChen
Contributor I

我使用的是S32K3x4EVB_Q172,我想使用Fls来读写外部QSPI Flash,我发现EVB上的QSPI Flash与原理图上不一致,我修改了EB设置里面的Fls Qspi Device Id也未能正常对Flash进行读写操作,我还需要修改哪里的设置吗?

I use S32K3x4EVB_Q172, and I want to use Fls to read and write the external QSPI Flash, but I find that the QSPI Flash on EVB is inconsistent with that on the schematic diagram. After I modified the Fls Qspi Device Id in EB setting, I failed to read and write the Flash normally.Is there anything else I need to change?

ZhaozhangChen_0-1667963601277.png

 

0 Kudos
Reply

2,205 Views
cuongnguyenphu
NXP Employee
NXP Employee

Hi @ZhaozhangChen,
Where did you find that the QSPI is different with schematic diagram? As I know that all configurations for Examples are tested before release. So you need to change nothing in configuration to run example

0 Kudos
Reply

2,197 Views
ZhaozhangChen
Contributor I

I am using MCAL FLS and find that the example of S32DS tape cannot be used. I want to use external QSPI Flash. Could you please try to send me a demo code that uses MCAL correctly?

0 Kudos
Reply

2,181 Views
cuongnguyenphu
NXP Employee
NXP Employee

The example code for S32DS FLS module is test under S32K3X4EVB-Q257 47827 PCB RevX1 SCH RevA without issue.
You can found this demo in installation plugin folder:

cuongnguyenphu_0-1669172648666.png

The instruction to build and run this demo is in "description.txt" included HW connections and build steps. 

 

0 Kudos
Reply