Regarding the sample project "MCSPTE1AK344_BLDC_6Step_hall_ll,"
an interrupt occurs every seven rising edges of the Hall sensor, triggering the function "eMIOS1IcuNotify()".
Could you please let me know how to change it to trigger an interrupt for every single edge?
Where is it set to every 7 times?
Solved! Go to Solution.
Hi Tomato1,
within eMios driver configuration there is function where the last argument is interval for calling notification:
/***********************************************************************************************
* eMios Driver
***********************************************************************************************/
...
Emios_Icu_Ip_StartTimestamp(1U, 1U, &IcuTimeStampBuffer[0], 7U, 7U);
...
More details about S32K344 motor control application can be found in knowledge base article https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Motor-control-SW-examples/ta-p/1804577
Best regards,
Tomas Fedor.
Hi Tomato1,
within eMios driver configuration there is function where the last argument is interval for calling notification:
/***********************************************************************************************
* eMios Driver
***********************************************************************************************/
...
Emios_Icu_Ip_StartTimestamp(1U, 1U, &IcuTimeStampBuffer[0], 7U, 7U);
...
More details about S32K344 motor control application can be found in knowledge base article https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Motor-control-SW-examples/ta-p/1804577
Best regards,
Tomas Fedor.
Hello,
I have asked motor control expert responsible for S32K3 to comment here.
Best regards,
Peter