May 07, 2019
03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 07, 2019
03:30 AM
Hi,
I have an issue with unwanted time for Emo_HandleFoc() interrupt.
It is executed at every 100usec.
If I execute only port toggle in the Emo_HandleFoc function by return statement as below picture then it is executed at every 50usec normally.
I am using TLE9871QXA20(24Mhz) for motor FOC control (based on TLE9879 software package)
The TLE9879QXA40(40Mhz) MCU is no problem
Is there any special reason for delay time at TLE9871(like as MCU performance)?
Please help this issue.
I have an issue with unwanted time for Emo_HandleFoc() interrupt.
It is executed at every 100usec.
If I execute only port toggle in the Emo_HandleFoc function by return statement as below picture then it is executed at every 50usec normally.
I am using TLE9871QXA20(24Mhz) for motor FOC control (based on TLE9879 software package)
The TLE9879QXA40(40Mhz) MCU is no problem
Is there any special reason for delay time at TLE9871(like as MCU performance)?
Please help this issue.
- Tags:
- IFX
1 Reply
May 10, 2019
01:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 10, 2019
01:49 AM
Dear atozall24,
This is indeed due to MCU performance.
The interrupt trigger happens every 50us. However, when the clock is 24MHz, the time required to do the FOC calculation exceeds 50us and the interrupt trigger is missed.
This is indeed due to MCU performance.
The interrupt trigger happens every 50us. However, when the clock is 24MHz, the time required to do the FOC calculation exceeds 50us and the interrupt trigger is missed.