Not applicable
Aug 08, 2018
09:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 08, 2018
09:59 PM
Dear Sir,
I'm studying BLDC_SENSORLESS_FOC_EXAMPLE_TLE987X of TLE987X_DFP 1.3.2. And I think GPT12E->T2 initializing in gpt12e.c(line 75 GPT12E->T2.reg = GPT12E_T2;) maybe is not precise.
Because GPT12E_T2(value 18311) is defined as elapsed ticks and used for intervel time caculating. And there is another reload value GPT12E_T2_TICK(value 47225) defined.
I think line 75 should be changed to GPT12E->T2.reg = GPT12E_T2_TICK.
Although this problem doesn't influnce the result much, I think it's better to change to avoid misunderstanding.
Thanks.
Your sincerely, Tony
I'm studying BLDC_SENSORLESS_FOC_EXAMPLE_TLE987X of TLE987X_DFP 1.3.2. And I think GPT12E->T2 initializing in gpt12e.c(line 75 GPT12E->T2.reg = GPT12E_T2;) maybe is not precise.
Because GPT12E_T2(value 18311) is defined as elapsed ticks and used for intervel time caculating. And there is another reload value GPT12E_T2_TICK(value 47225) defined.
I think line 75 should be changed to GPT12E->T2.reg = GPT12E_T2_TICK.
Although this problem doesn't influnce the result much, I think it's better to change to avoid misunderstanding.
Thanks.
Your sincerely, Tony
Labels
- Tags:
- IFX
1 Reply
Aug 14, 2018
07:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 14, 2018
07:15 AM
Dear Tony,
great Work!
Thank you, for your feedback.
great Work!
Thank you, for your feedback.