Hi All,
I am using CW10.4, MQX4.0.1 and MK60FN1M0VLQ12.
How could I use PTD0 for LLWU?
Thank you.
-Daniel
Hi Daniel,
PTD1 can't be selected as input for LLWU module. The inputs for this unit are fixed, so you can only choose those defined as LLWU inputs. You can see them in the following table.
I hope this helps.
Hi,
Thank you.
In this case, how should I do to use PTD0 for LLWU?
Thank you.
Create a BitIO component
Set the component as Input
Select PTD0 as your source input
Good Luck
Hi Alberto,
Thank you.
Is there a way to do it in MQX?
-Daniel
Sure, using CW10.4 click File > New > MQX-Lite Project and generate the new project.
As you can see, I created the components for Console and a BitIO for LLWU.
Here is the configuration for PTD0_LLWU
Now, the system clocks
Now, just generate your tasks and use the BitIO component for LLWU when you need them.
Good Luck.
Hi Alberto,
After I put the MCU into VLLS3 mode, when it wakes up. how should I control it?
Will it enter the LLWU ISR automatically?
Thank you.
-Daniel