PSoC™ 6 Forum Discussions
text.format{('custom.tabs.no.results')}
Hello,
I work with ModusToolbox via VSCode. I have successfully tested my programme on the CYPROTO-063-BLE kit. To do this, I had to adapt the flash memory there. Now I would like to run the same programme code on the CY8C6245, but I have the problem that the linker files are structured a little differently. For example, the following programme section is missing in the linker file of CM4:
/* Size and start address of the Cortex-M0+ application image */
FLASH_CM0P_SIZE = 0x20000;
FLASH_CM0P_START = ORIGIN(flash);
/* Size and start address of the Cortex-M4 application image */
FLASH_CM4_SIZE = LENGTH(flash) - FLASH_CM0P_SIZE;
FLASH_CM4_START = FLASH_CM0P_START + FLASH_CM0P_SIZE;
Furthermore, I have already tried to change the origin of the flash memory, but then the multicore debugging no longer works.
In the appendix you can find some pictures of the working programme code for the CYBLE.
My question would be what exactly I have to change for the CY8C6245.
Hi
I finished a project using the PSoC6BLE Kit board (CYBLE-416045) and I was able to use the SPI instance using scb5. I was able to drive SCLK to 100MHz and my TFT screen loved it. So we went to board with a PS0C6 CY8C6137BZI-F54.
Now I cannot get SPICLK to come out of the serial block unless I set the input clock frequency to 1MHz, and then even I get 250kHz output streams. If I set this to any other frequency, SS and MOSI all work but SCLK is flatline. I can set the mode to start/static with SCLK Hi or Lo, so I know that the component is driving the SCLK line.
I have tried all kinds of clock sources, internal, external, etc. and always the same.
Wondering if there is an errata for this? I have been using PSoC for a very long time, and I spent 12 hours on this and I am stumped.
Please help!
Show LessWanted to configure CY8CPROTO-062S2-43439 Prototyping kit for analyzing CYW43439.
Going through the documentation I was not able to figure out how to configure the kit in different Wi-Fi and Bluetooth modes(power modes, connection modes, etc).
While trying to program the kit with example projects in ModusToolbox, I'm facing issue as "ERROR : unable to find a matching CMSIS-DAP device".
Is the BT Wi-Fi modes to be achieved by programming the kit through ModusToolbox?
Regards,
Arun
Show Lesssmartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/CY8C6247BZID44%E5%A6%82%E4%BD%95%E6%9F%A5%E7%9C%8B%E7%BC%96%E8%AF%91%E5%90%8E%E7%9A%84SRAM-Size-Stack-Size-Heap-Size/td-p/649109
Show LessI think there is a problem with the 'ML Configurator' generated .tflite models. Assume I have a Python project for Machine Learning and I have the .h5 model with the .tflite model (converted by the Python script), I have testbenches and everything is OK. Now I'd like to run the .tflite model on the PSoC6 MCU. To do this I open the ML Configurator and generate the required sources. But the generated .tflite model file is not compatible with the original exported .tflite file, the input_scale and the input_zero_point properties are different, and this is a problem because I can't run the same inputs in Python and on the MCU. I'd suggest an option at least keep the original configuration for .tflite export. It's nice that we have Imagimob but would be also nice to run Python saved model because there are a lot of resources on the Internet that we could use.
Show LessI uninstalled all PSoC-related files on two computers. I then installed the same PSoC Creator version 4.3. I have a simple "hello world" project that compiles on both computers. I am programming a CY8CPROTO-063-BLE, and it has an on-board programmer (see attached photo). On one computer, I am able to program the PSoC. On the other computer, programming fails. I get this error message: "Warning: Can't Open CMSIS-DAP port". How can I debug this? I want to run PSoC Creator on both computers. Note that I have only one board. It programs on one computer and not the other. Does the programmer hardware get connected somehow with a computer like a Bluetooth device does? I assumed that you can connect the programmer as needed to whatever host you want.
Show LessHi Psoc community,
I have a Raspberry Pi acting as SPI master, sending data to a PSoC 6 acting as SPI slave. I have setup the PSoC6 to transfer data using DMA (source is Pi and destination is memory on PSoC) in a double buffering configuration.
The data transfer works but I sometimes get duplicated repeated outputs on the PSoC which I don't see using a scope that can decode SPI. For example if I am sending 'DEAD BEEF' infinitely, I would get "DEAD BEEF DEAD BEEF DEAD DEAD BEEF.." or "DEAD BEEF DEAD BEEF DEAD BEEF BEEF..." etc, where the error is in bold. I see this if I open a serial terminal and look at the output of printf using the retarget-io library.
I recall reading in some documentation somewhere that the output when debugging if I recall could be duplicated occasionally, but I can't seem to find that documentation anywhere anymore and the reason that causes this duplication (I think it had something to do with the dual arm cores or something from memory but I could be wrong).
Many thanks.
Show LessDear Sir/Madam, Good day. I would like to know how to use Segger AppWizard with my CY8CKIT-062-WIFI-BT and import a GUI project. I have already done as the quick start guide said and I made an AppWizard Project to show a SIMPLE bmp image and that's it. but when I upload the program code to my CY8CKIT-062-WIFI-BT. The LCD is showing full white and not displaying the BMP Image. I have done everything the quickstart guide said I should do.
I know there is a code example that used the AppWizard with FreeRTOS but I couldn't figure out how they made it exactly so I'm asking the forum. I have even tried messing with the AppWizard GUI in the example but no luck. I tried modifying the last page of the example and switching the image with my own but it still showed the old image.
So far my experience using this CY8CKIT-062-WIFI-BT is rather frustrating. I am doing everything they say and I'm still having errors. Please provide us with your kind support and ANY video tutorials or guides to use THE APPWIZARD GUI BUILDER WITH MY CY8CKIT-062-WIFI-BT AS SOON AS POSSIBLE. thank you best regards.
Screenshot of the guide :
my Modus Toolbox Project :
What should be shown on LCD :
What is actually Being shown on the LCD (it still has the cypress sticker on) :
我用的是CY8C6248AZI-S2D14,我用到7个SPI+DMA,为了提高效率,我想把4个dma放在dw0, 3个dma放在dw1中,提高处理效率
我参考这个帖子
https://community.infineon.com/t5/PSoC-6/Select-which-DMA-block-to-use/td-p/90361
可以在creator中 将将SPI的DMA正确强制赋DMA通道
但是我用的芯片只能用modus开发,modus中 每个SCB的TX Trigger Output 都是固定的通道 我怎么去更改
Show Less
Hello,
I'm running MTB 3.1 GUI in Ubuntu 18.04.6 LTS and building PSoC6 examples for the Prototyping Kit (CY8CPROTO-062-4343W).
While debugging the latest Wi-Fi examples, I found that I'm able to put break points in main and tasks, able to step in/over code in main(), but unable to step in / over code in tasks created by main(). This issue happens for 'Wi-Fi_MQTT_Client', 'Wi-Fi_HTTPS_Client' and 'Wi-Fi_HTTPS_Server' examples.
On the other hand, this issue does not occur in non-Wi-Fi examples such as 'Bluetooth LE CAPSENSE Buttons and Slider' and 'emUSB-Device_Audio_Recorder_FreeRTOS'. The MTB debugger GUI is able to show values of variables, step / pause / continue without problem.
Could someone help explain what could be wrong with my setup or the examples? I have listed the versions of the dependencies used by the examples I tried.
Thanks!
SK
======================================================
# Wi-Fi_MQTT_Client
void mqtt_client_task(void *pvParameters)
# Wi-Fi_HTTPS_Client
void https_client_task(void *arg)
# Wi-Fi_HTTPS_Server
void https_server_task(void *arg)
wifi-core-freertos-lwip-mbedtls/release-v1.1.0
freertos/release-v10.5.0
abstraction-rtos/release-v1.7.4
cat1cm0p/release-v1.3.0
clib-support/release-v1.4.2
cmsis/release-v5.8.0
lwip/STABLE-2_1_2_RELEASE
lwip-freertos-integration/release-v1.0.0
lwip-network-interface-integration/release-v1.2.0
mtb-hal-cat1/release-v2.5.4
mtb-pdl-cat1/release-v3.8.0
======================================================
# emUSB-Device_Audio_Recorder_FreeRTOS
void audio_app_task(void *arg)
void audio_in_process(void *arg)
freertos/release-v10.5.0
abstraction-rtos/release-v1.7.4
cat1cm0p/release-v1.3.0
clib-support/release-v1.4.2
cmsis/release-v5.8.0
core-lib/release-v1.4.1
core-make/release-v3.2.2
mtb-hal-cat1/release-v2.5.4
mtb-pdl-cat1/release-v3.8.0
======================================================
# Bluetooth LE CAPSENSE Buttons and Slider
void task_led(void* param)
void task_ble(void* param)
void task_capsense(void* param)
freertos/release-v10.5.0
abstraction-rtos/release-v1.7.4
cat1cm0p/release-v1.3.0
clib-support/release-v1.4.2
cmsis/release-v5.8.0
core-lib/release-v1.4.1
core-make/release-v3.2.2
mtb-hal-cat1/release-v2.5.4
mtb-pdl-cat1/release-v3.8.0