- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Does anyone have a MTB PSoC6 BLE example running in Dual-Core mode that doesn't use FreeRTOS? Or, is that the only way to use both cores?
I've been trying to piece together an application using the Dual Core Design Guide and the BLE Middleware Library, without any luck.
https://infineon.github.io/bless/ble_api_reference_manual/html/page_ble_quick_start.html
Any help would be greatly appreciated.
-Dave
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In Dual-CPU application, it is not possible to add the pre-built images (CM0P_BLESS) to the project. For single CM4 application you can add the COMPONENT_CM0P_BLESS pre-built image.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could you please refer to the project attached in the below thread ?
https://community.infineon.com/t5/PSoC-6-SDK/Sample-Code-Setup-for-M0-BLE-CM0P-BLESS/m-p/336913#M510
Please let me know if this helps.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I remember finding this example earlier on in my quest, I didn't understand
much of it then, I know more now.
>From the example this is what I know:
I did have my memory allocated correctly.
My cm4_app Makefile was correct as it related to the:
COMPONENTS+=BLESS_HOST_IPC CM0_BLESS
These are the things I'm not sure about are in the files that were not
included in the example.
I used MTB Bluetooth Configurator 2.50, and I put the GeneratedSource
folder and files in both the cm0p and cm4 directories. Is that correct?
This is what I have in my cm0p_app Makefile:
COMPONENTS+=BLESS_HOST_IPC CM0_BLESS BSP_DESIGN_MODUS
CORE=CM0P
Does that look right?
And I only have two things in my cm0p_app main.c:
#include "cy_pdl.h"
int main(void)
{
Cy_SysEnableCM4(CY_CORTEX_M4_APPL_ADDR);
for (;;)
{
Cy_SysPm_DeepSleep(CY_SYSPM_WAIT_FOR_INTERRUPT);
}
}
Is that all I need or is that wrong?
I think I am getting closer, because the code builds and I can program the
PSoC63.
[100%] [################################] [ Erasing ]
[100%] [################################] [ Programming ]
wrote 128000 bytes from file
C:/Users/dbris/Documents/infineon-dev-2/dual-ble/cm4_app/build/CY8CPROTO-063-BLE/Debug/mtb-example-psoc6-dual-cpu-empty-app.hex
in 4.594593s (27.206 KiB/s)
** Programming Finished **
** Program operation completed successfully **
srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
Info : SWD DPIDR 0x6ba02477
shutdown command invoked
Info : psoc6.dap: powering down debug domain...
If you see something wrong please let me know, I'll keep hacking at it.
Thanks again for your help,
Dave
P.S. I only get to work on this stuff at night, so I'll have a delay in my
replies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In Dual-CPU application, it is not possible to add the pre-built images (CM0P_BLESS) to the project. For single CM4 application you can add the COMPONENT_CM0P_BLESS pre-built image.
Thanks,
P Yugandhar.