Content originally posted in LPCWare by waleed on Fri Apr 10 15:22:20 MST 2015
Hi NXP Technical Support,
So what you are saying is that after power up both cores are active and no core is in sleep mode?(kindly do answer this question as it would remove a lot of confusion in my mind)
If that's the case then, in my humble opinion, this should be really documented in UM10850 because in UM10850:
1. There is no information about which core is the master and which core is slave core.
2. CH#5 (in UM10850) also dosen't list properly that what happens after power up.
3. There is no information about CPU Control register, Coprocessor boot register and coprocessor stack register. All of these registers are extremely important.
4.There is no information about using both cores on LPC 5410x board, that is how we can use both cores at the same time and what measures should be taken to avoid any problems during multicore usage. Yes AN11609 explains multicore usage but that is about how the application in LPCOpen package is working or how Keil application is using both cores. what i am talking about is that there should be more generic explanation of the multicore usage in UM10850.
5. There is no proper information about different low power modes, how we can get into these modes and how we can wake the core from those modes.Yes AN11611 explains different low power modes but this should also be documented in UM10850.
Also the application notes should mention that which information is specific only to this application and which information is actual part of NXP LPC5410x board. I am saying this because when i read section 5.2 in AN11609, i believed that "after power up m4 is master core and m0+ is slave core and m4 remains active and m0+ core goes to sleep and it is the job of application runing on m4 to wake up m0+ core".
Now this is not just my understanding, everyone i know who has NXP LPC5410x board thinks that "after power up m4 is master core and m0+ is slave core and m4 remains active and m0+ core goes to sleep and it is the job of application runing on m4 to wake up m0+ core".
The point i am trying to explain is that reading the section 5.2 in AN11609 will make people believe that after power up m0+ goes to sleep which is totally not the case.
After your last comment which says " What happens afterwards (whether the Cortex-M0+ core goes to sleep, or any other behavior that you are seeing), is entirely application dependent", I am also just a little bit disappointed that i have spent a lot of time enabling m0+ core but the reality is that it does not goes to sleep after power up.All that is written in application notes AN11609 and AN11611 is application dependent.
Thanks for all the help and your help is always much needed and appreciated :)