S32K344) Update Hall period

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K344) Update Hall period

Jump to solution
246 Views
Tomato1
Contributor II

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?

Tags (1)
0 Kudos
Reply
1 Solution
225 Views
tomasfedor
NXP Employee
NXP Employee

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.

View solution in original post

2 Replies
226 Views
tomasfedor
NXP Employee
NXP Employee

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.

226 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have asked motor control expert responsible for S32K3 to comment here.

Best regards,

Peter

0 Kudos
Reply