Hello,
I have a design in an MK20 microcontroller and will migrate to MK22. (MK22FN1M0AVMC12). I cannot seem to find reference wiring diagrams / designs for this device.
Are the minimum required connections the same as the MK20?
Where can I find a complete wiring diagram for that specific device?
Thank you in advance
Hi Kerry,
Thank you for your reply. The part number I am using in the current design is MK20DX256VLH7 and I am basically following the connections from the teensy 3.1 schematic from Teensy and Teensy++ Schematic Diagrams , without using the MINI54TAN, since I am programming directly with a Multilink USB programmer.
I will have a look to the TWR tower system design and base my design on its basic connections, if this is a more appropriate configuration for the MK22FN1M0AVMC12.
Thank you again for your support.
Hi Pulsatrix P1,
The schematic for TWR-K21F120M can be downloaded from this link:
http://www.nxp.com/assets/downloads/data/en/printed-circuit-boards/TWR-K21F120MA-PWB.zip
This schematic is using MK21FN1M0AVMC12, your MK22FN1M0AVMC12 totally can use this schematic.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Kerry,
I have been working based on the design of the TWR schematic indicated and it has been helpful. Now I am looking at the connections for the pin RTC_WAKEUP, which in the case of the MK21 is RTC_WAKEUP and in the MK22 is RTC_WAKEUP_B. I read in this application note http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf that this RTC_WAKEUP_B can be used to switch the main power of the uC and leave only the VBAT, but not more details are given and the TWR schematic does not show this functionaliti, which sounds something that would really benefit my application in terms of power consumption.
Based on what is described there I would guess that one could connect both VBAT and VDD to a regulated 3.3V source, but VDD would be connected through a transistor / switch that would be managed from the RTC_WAKEUP_B am I correct? Is there any application note or schematic that shows a tested version of this functionality and that I could implement?
An additional question: I see that the capacitors for the 32.768 KHz crystal as indicated as Do not Place (DNP). Should I still place them in my custom board, should I leave the places just in case they are needed, or can I directly ignore them? It is worth mentioning that the least components I need the better, since space is limited in my case.
Thank you in advance.
Best Regards,
Ivan
Hi Pulsatrix P1,
1. RTC_WAKEUP_B
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Kerry,
Thank you for your reply.
In my application the board will be running from a 3.7 V battery which is regulated to 3.3V. If I understand correctly then I can use the 3.3V for both VDD and VBAT but VDD will go through the switch and will be only used when RTC_WAKEUP_B activates it, is this correct? If so, which is the default state of RTC_WAKEUP_B? Is it normally low until I configure the module to periodically activate/deactivate VDD?
Thanks,
Best Regards,
Ivan
Hi Pulsatrix P1,
From the reference manual:
The RTC wakeup pin is an open drain, active low, output that allows the RTC to wakeup the chip via an external component. The wakeup pin asserts when the wakeup pin enable is set and either the RTC interrupt is asserted or the wakeup pin is turned on via a register bit.
Open drain pin, you need to add external 4.7K to 10K external pull up resistor, then the default state is high, if the RTC interrupt asserts or the wakeup pin is turned on. Wakeup pin asserts (active low, open drain) ,
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pulsarix P1,
What the part number of your K20 chip?
In K20 series, there have a lot of part numbers. Different part number have different character, especially when the max core frequent is different.
About the MK22FN1M0AVMC12 design, you can refer to the TWR-K21F120M, you can find it from this link:
TWR-K21F120MA|Tower System Board|Kinetis MCUs|NXP
Wish it helps you.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------