- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @seanwu
The NEWVAL IRQ interrupt is triggered at the end of a complete measurement cycle which includes the period and duty cycle, so it's unavailable to customize its working mechanism.
BR,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please refer to 28.13.4 TIM Channel Architecture in user manual.
When new data is written into GPR0 and GPR1 the NEWVAL bit is set in TIM[i]_CH[x]_IRQ_NOTIFY register and
depending on corresponding enable bit value the NEWVALx_IRQ interrupt is raised.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear sir,
What is the new data type? A low to high or high to low change? Or a duty cycle?
Thanks.
BR,
Sean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NEWVAL: The NEWVAL IRQ interrupt is triggered at the end of a measurement cycle, signaling that the registers GPR0 and GPR1 are updated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear sir,
What does "at the end of a measurement cycle" mean?
Thanks.
BR,
Sean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear sir,
Is like the below picture? measurement cycle is from "a" to "b"?
The interrupt is triggered at "b". If I want to trigger interrupt at "a" point, how to do that or unable to do?
Thanks. BR,
Sean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From my understanding, I think it's triggered at the end of measurement cycle. not enable to change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear sir,
Sorry, I don' understand what you mean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @seanwu
The NEWVAL IRQ interrupt is triggered at the end of a complete measurement cycle which includes the period and duty cycle, so it's unavailable to customize its working mechanism.
BR,
Jeremy