When I use the S32k142 official Flash Demo, I use the Flash_Init() function to initialize Flash. I get DFlashSize 0. What is the reason?
* Temporary solution for FTFC and S32K144 CSEc part */
/* Get DEPART from Flash Configuration Register 1 */
DEPartitionCode = (uint8_t)((SIM->FCFG1 & SIM_FCFG1_DEPART_MASK) >> SIM_FCFG1_DEPART_SHIFT);
I get the DEPartitionCode to 8
/* Get data flash size */
FLASH_DRV_GetDEPartitionCode(pSSDConfig, DEPartitionCode);
and in this function , I get the pSSDConfig.DFlashSize to 0.
Is there a mistake here? Thanks so much