PRO AND APP CPU

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

PRO AND APP CPU

Postby arunbm123 » Thu Dec 20, 2018 11:42 am

hi

What is Meant by PRO CPU and APP CPU ?

User avatar
fly135
Posts: 606
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Re: PRO AND APP CPU

Postby fly135 » Thu Dec 20, 2018 6:12 pm

Those are how the two cores are named.

core 0 - PRO
core 1 - APP

ESP_Sprite
Posts: 9727
Joined: Thu Nov 26, 2015 4:08 am

Re: PRO AND APP CPU

Postby ESP_Sprite » Fri Dec 21, 2018 2:51 am

Note that it's a legacy name. The initial design for the ESP32 called for an asymmetric multiprocessor setup, with CPU0 running all the PROtocol handling code, while the APPlication would run on CPU1. We changed that to a symmetric multiprocessor setup later on, and at the moment the two CPUs are (with very few small exceptions) fully inter-exchangable, and the PRO and APP names are nothing but some names remaining from the earlier design.

davdav
Posts: 208
Joined: Thu Nov 17, 2016 2:33 pm

Re: PRO AND APP CPU

Postby davdav » Fri Dec 21, 2018 7:39 am

ESP_Sprite wrote:
Fri Dec 21, 2018 2:51 am
Note that it's a legacy name. The initial design for the ESP32 called for an asymmetric multiprocessor setup, with CPU0 running all the PROtocol handling code, while the APPlication would run on CPU1. We changed that to a symmetric multiprocessor setup later on, and at the moment the two CPUs are (with very few small exceptions) fully inter-exchangable, and the PRO and APP names are nothing but some names remaining from the earlier design.
Hello @ESP_Sprite,

From what ESP-IDF version the two cores are symmetric?

Does it means that WiFi and BT tasks now can run on CPU1 as well (not pinned only to PRO cpu)?

Thanks

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: PRO AND APP CPU

Postby ESP_igrr » Fri Dec 21, 2018 8:26 am

Hi davdav,

these are the options you can use to move various system tasks between the two cores:

CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE_CHOICE

CONFIG_BLUEDROID_PINNED_TO_CORE_CHOICE

CONFIG_TCPIP_TASK_AFFINITY

CONFIG_ESP32_WIFI_TASK_CORE_ID

Who is online

Users browsing this forum: Baidu [Spider] and 99 guests