-
Notifications
You must be signed in to change notification settings - Fork 3k
Add usticker feature to TMPM066 #8149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with all 3 toolchains ? How this is fixing us ticker - it was disabled - so reenabling with reworking the us ticker to use different peripheral ticker ?
} | ||
|
||
void us_ticker_clear_interrupt(void) | ||
{ | ||
//no flags to clear | ||
INTIFSD_ClearINTReq(INTIFSD_INT_SRC_TMRB_7_MDOVF); | ||
NVIC_ClearPendingIRQ(INTTB7_IRQn); | ||
} | ||
|
||
void us_ticker_free(void) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this function still be empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Used only function body for compilation success. However implemented the function now.
Yes, tested with all 3 toolchains. |
This is good info to have (exactly what I was asking), can you add it to the commit message? |
To enable the feature US_TICKER, file is newly implemented with Timer B, which has proper clock prescale and free running after match interrupt. Old us_ticker driver file (Timer A) is producing up to 100us tolerance, which causes to fail US_TICKER feature. Hence, changed the peripheral ticker A to B.
Added to commit message and Rebased. |
Hi @ganesh-ramachandran, |
Hi @jamesbeyond, Please find below the ticker test log. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
/morph build |
Build : SUCCESSBuild number : 3257 Triggering tests/morph test |
Exporter Build : FAILUREBuild number : 2863 |
/morph export-build |
Test : SUCCESSBuild number : 3066 |
Exporter Build : SUCCESSBuild number : 2874 |
Description
Add usticker feature to TMPM066
Pull request type