2 Replies Latest reply on Oct 2, 2017 7:45 AM by snvn

    General question for PSoC6 BLE example

    user_1377889

      Today I downloaded and installed Creator 4.2 and the PSoC6 examples and here is my first question:

      In the CE220335:BLE_Eddystone project the main loop is the same for M0 and M4 CPU:

       

          for (;;)

          {

              /* Cy_Ble_ProcessEvents() allows the BLE stack to process pending events */

              Cy_BLE_ProcessEvents();

             

              Cy_SysPm_DeepSleep(CY_SYSPM_WAIT_FOR_INTERRUPT);

          }

       

      My question is: Why do both CPUs handle the ProcessEvents API and which CPU handles which events???

       

       

      Bob