Hi luhaiou,
Please download S32K3 MCUs for General Purpose HSE Demo Examples(S32K3_HSE_DemoExamples.exe). After install it, you will find the S32K344_SBAF_UPDATE example. (C:\NXP\S32K3_HSE_DemoExamples_1_0_0\S32K3_HSE_DemoExamples\Device_Configuration\S32K344_SBAF_UPDATE)

typedef struct
{
uint8_t reserved1;
uint8_t socTypeId;
uint16_t reserved2;
uint8_t majorVersion;
uint8_t minorVersion;
uint16_t patchVersion;
} sbafVersion_t;
/* Variable to store SBAF version details */
sbafVersion_t gsbafVersion = {0U};
/* Get the current installed SBAF version */
memcpy(&gsbafVersion, (uint8_t*)0x4039C020, sizeof(sbafVersion_t));
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------