Timeout for FTFC operations

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Timeout for FTFC operations

851件の閲覧回数
ummerkunnummalk
Contributor III

Hello,

   In the sample code, before doing a flash operation (Or any FTFC operation) we are checking the command complete flag. 

                        while(0 == (FTFx_FSTAT & FTFx_FSTAT_CCIF_MASK));

But since it is an infinite loop, I would like to add a specific timeout here to make sure that the program flow is not stuck here for ever. So I would like to know is there any specification for the command execution time for FTFC commands available?

My aim is to add a timeout in these places , so that I can do some recovery actions after timeout.

Thanks

Ummer K

1 返信

777件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,
This is specified in the S32K1xx Datasheet rev.9.
Table 23. Flash command timing specifications for S32K14x
Table 24. Flash command timing specifications for S32K11x

BR, Daniel