Hi,
Here is an example for the KL46. In this example the core is moved to VLPR (Very Low Power Run) mode via the interrupt of the SW1 and you can send it back to normal run mode touching the slider; a led is constantly blinking and you can see that when the core is moved to VLPR the led blinks slower, this is because that in VLPR the max frequency is 4MHz.
I hope this information can help you.
Regards,
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. It would be nice!
-----------------------------------------------------------------------------------------------------------------------
Hi,
There is a errata with the TSI using Low Power modes.
e5515: TSI: The end of scan flag is not automatically cleared when continuously
scanning
Description: The TSI requires the end of scan flag (TSIx_GENCS[EOSF]) to be cleared after each scan.
This prevents the out of range interrupt from being available in continuous scanning as each
scan needs the TSIx_GENCS[EOSF] bit to be cleared by software. This limits the TSI from
providing an optimal low power wake-up capability.
Basically it is that the KL25 can not be woken up via TSI. Probably this affect the requirements of your project, if not, the workaround shown in the errata document could be implemented.
Errata documentation:
Best regards.
Hi Adrian,
How about using it in another mcu, let say kl15 etc? Basically, I just want to have an idea how to implement such interrupt using processor expert, not necessarily using it only in kl25. So any example using any mcu, as long as it is done in PEx would be a great help.. :smileyhappy:
Thanks again Adrian..
Hi,
Here is an example for the KL46. In this example the core is moved to VLPR (Very Low Power Run) mode via the interrupt of the SW1 and you can send it back to normal run mode touching the slider; a led is constantly blinking and you can see that when the core is moved to VLPR the led blinks slower, this is because that in VLPR the max frequency is 4MHz.
I hope this information can help you.
Regards,
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. It would be nice!
-----------------------------------------------------------------------------------------------------------------------
Hi Adrian,
Please could you give us details on version of KDS that was used for the project, also other needed settings for building binary. I've tried with KDS 2.0.0 and KDS 3.0.0 but is not even launching compile process. Thanks in advance, Pablo.
Hi Adrian,
Your example was very helpful for me. Can you also give an example how to wakeup from lls using tsi. I really dont know how to configure it in Processor Expert.
Im using kl15 for this project. I hope you can help me.
Thank you and best regards,
Javer