cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

Anonymous
Not applicable

Hello, I would like to ask the following questions on the difference between Cortex-MO + and M4 access.

1.It is stated in NPI that PSoC 6 can access WDT, SCB, Comparator, POR, SCB in Deep Sleep mode,

and can access Comparator and POR in Hibernate mode.The meaning of this description is that

Cortex-MO+ and Cortex-M4 both can access WDT, SCB, Comparator, POR, SCB in deep sleep mode,

and can access Comparator and POR in hibernate mode?

2.Are there areas that only Cortex-M0+ can access or areas that only Cortex-M4 can access in PSoC6's

RAM or FLASH?

3.Does the answer to the question of 1.2 change depending on whether the microcomputer is PSoC 62

series or PSoC 63 series?

Best Regards

Hiroaki Shimizu

0 Likes
1 Solution
MeenakshiR_71
Employee

What I meant is you cannot execute code (that access the peripheral) when you are in DeepSleep or Hibernate mode  as your CPU is OFF

The peripheral is capable of operating in DeepSleep/Hibernate modes, if they are configured and support to run in those modes.

So, peripheral operation in DeepSleep/Hibernate modes - Yes.

CPU operation (hence access) in Sleep/DeepSleep/hibernate modes - No.

View solution in original post

0 Likes
3 Replies
MeenakshiR_71
Employee

Hello Hiroaki-san,

To your questions:

1. All the peripherals are accessible to both CM4 and CM0+, as both share the same MMIO and Memory address space. That said, you cannot access any of these peripherals in DeepSleep and Hibernate modes from the CPU, as your CPU will be powered-off in these modes These peripherals can generate interrupt and wakeup the CPU (either M4 or M0+ or both) in DeepSleep and the system in hibernate (as wakeup from hibernate mode is a system reset event not CPU wakeup).

2. No. Both the cores can see the entire register space. That said both CM0+ and CM4 have their own ARM defined system space registers (includes interrupt priority, enable/disable etc. registers). These registers are visible only to the core that access it.

3. No. It should not matter between 62 and 63 devices.

Let me know if this helps.

Regards,

Meenakshi Sundaram R

0 Likes
Anonymous
Not applicable

Hello Meenakshi Sundaram R-san,

Thank you for answering.

May I ask you an additional question?

[Question]

You said "you cannot access any of these peripherals in DeepSleep and Hibernate modes from the CPU"

Does this mean that the API that is output to the peripheral during Deepsleep and Hibernate modes is invalid?

Best Regards

Hiroaki Shimizu

0 Likes
MeenakshiR_71
Employee

What I meant is you cannot execute code (that access the peripheral) when you are in DeepSleep or Hibernate mode  as your CPU is OFF

The peripheral is capable of operating in DeepSleep/Hibernate modes, if they are configured and support to run in those modes.

So, peripheral operation in DeepSleep/Hibernate modes - Yes.

CPU operation (hence access) in Sleep/DeepSleep/hibernate modes - No.

View solution in original post

0 Likes
Top labels