i have read the s32k-RM and s32 sdk api thoroughly,but not found the flash sector information about S32K144,i want to konw how many bytes a scetor contains,
secondly,if i just need flexnvm as dflash , what else shoud i need to do in the function "Flash_Init"?
void Flash_Init(void)
{
FLASH_DRV_Init(&Flash_InitConfig0,&Flash_SSD_InitConfig0);
if(Flash_SSD_InitConfig0.EEESize == 0)
{
FLASH_DRV_DEFlashPartition(&Flash_SSD_InitConfig0,0x02,0x04,0,false,true);
FLASH_DRV_Init(&Flash_InitConfig0,&Flash_SSD_InitConfig0);
FLASH_DRV_SetFlexRamFunction(&Flash_SSD_InitConfig0,EEE_ENABLE,0,NULL);
}
}
i have read the api ,but i still fell confused,thank you