event occured timing is varies in eMIOS MCB mode

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

event occured timing is varies in eMIOS MCB mode

Jump to solution
1,099 Views
Aren
Contributor II

I use eMIOS UC23 as MCB mode.

CORE Clock : 100MHz
prescaler : all "1"
UC23 A register : 5000

I am checking flag interrupts with an oscilloscope, but the timing of event occurrences varies.

Please let me know if there are any possible causes for variation.

#s32k

Tags (1)
0 Kudos
Reply
1 Solution
1,026 Views
Aren
Contributor II
There was a problem with the core clock. I reviewed the clock settings and the problem was resolved.

View solution in original post

0 Kudos
Reply
3 Replies
1,027 Views
Aren
Contributor II
There was a problem with the core clock. I reviewed the clock settings and the problem was resolved.
0 Kudos
Reply
1,068 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Aren

Could you provide your demo project and test details, we will take the time to help you check it.

0 Kudos
Reply
1,086 Views
Aren
Contributor II

A note about variability

I want an event to occur every 50us, but the events occur at completely different times, such as 10us, 20us, etc.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1968669%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eevent%20occured%20timing%20is%20varies%20in%20eMIOS%20MCB%20mode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1968669%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20use%20eMIOS%20UC23%20as%20MCB%20mode.%3C%2FP%3E%3CP%3ECORE%20Clock%20%3A%20100MHz%3CBR%20%2F%3Eprescaler%20%3A%20all%20%221%22%3CBR%20%2F%3E%3CSPAN%3EUC23%20A%20register%20%3A%205000%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20am%20checking%20flag%20interrupts%20with%20an%20oscilloscope%2C%20but%20the%20timing%20of%20event%20occurrences%20varies.%3C%2FP%3E%3CP%3EPlease%20let%20me%20know%20if%20there%20are%20any%20possible%20causes%20for%20variation.%3C%2FP%3E%3CP%3E%23s32k%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1974044%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20event%20occured%20timing%20is%20varies%20in%20eMIOS%20MCB%20mode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1974044%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThere%20was%20a%20problem%20with%20the%20core%20clock.%20I%20reviewed%20the%20clock%20settings%20and%20the%20problem%20was%20resolved.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1968773%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20event%20occured%20timing%20is%20varies%20in%20eMIOS%20MCB%20mode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1968773%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22mailto%3AHi%40Aren%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EHi%40Aren%3C%2FA%3E%3C%2FP%3E%0A%3CP%3ECould%20you%20provide%20your%20demo%20project%20and%20test%20details%2C%20we%20will%20take%20the%20time%20to%20help%20you%20check%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1968690%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20event%20occured%20timing%20is%20varies%20in%20eMIOS%20MCB%20mode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1968690%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EA%20note%20about%20variability%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20want%20an%20event%20to%20occur%20every%2050us%2C%20but%20the%20events%20occur%20at%20completely%20different%20times%2C%20such%20as%2010us%2C%2020us%2C%20etc.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E