PSoC™ 6 Forum Discussions
I have a custom board that has the CY8C6136BZI-F14 and a TI CC3135 WiFi chip. I have created a custom BSP for the board. Per the information in the BSP assistant documentation I based this custom BSP on the CY8CPROTO-062-4343W.
I am new to using these MCUs so I also purchased a CY8CPROTO-062-4343W so that I could use the examples to learn how to use the ModusToolbox, build applications, program the MCU and debug. To get an understanding of how the WiFi works I used the WiFi TCP Client example and was able to program the eval board and run this application. I then examined the library configuration to determine which libraries were included for this application.
I took that information back to my application for the custom board with the intent of configuring WiFi for the board. The TI part on the custom board is connected via the SPI bus and so I had selected that option when setting up the custom BSP. However, when I pulled up the library manager for the custom board application I found that the options for the WiFi-related libraries do not exist under Core, Middleware and Utilities and the WiFi menu is not present. I have searched through the documentation and the community to try to find information on enabling WiFi support in a custom BSP but have come up empty.
I have tried working this through starting with copying the wifi-core-freertos-lwip-mbedtls.mtb file into the deps directory for the custom board application and, while I can see WiFi-related components being built, that did not change the library manager menu configuration. It's clear that there are a lot of details around this including dependencies in the existing code (such as the wifi_nvram_image.h file) that make it seem like modifications are necessary, not just for the custom BSP, but also for the mtb_shared area.
Can anyone provide either a path to a step-by-step document for enabling WiFi in a custom BSP or provide some insight into how this is supposed to be done? Also, why would the library manager menu content not be consistent from one application to another?
Thanks for your help.
Show Less
I made two simple clothing film that I placed parallel to each other on a table and connected using CSX mode. I got a good signal with touch But when I place the two overlapping, my rawdata goes to 0 (of course with the exciting film in between, there is no shorting). Why does it go to 0. Theoretically there is a distance between the two, so there is cm Cm is related to the size of the gap, right?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/CSX-gets-a-RAWDATA-of-0/td-p/642465
Show LessDear Sir,
My customer wants to get the max ADC sample rate.
I tried to use the device configurator to setup the ADC but the achieved scan duration is 2.16us and HW samples are Averaged 2. The scan duration is near 4us.
How to improve it?
Best Regards,
Billy
Show LessWhere can I download the routine SDK of CY8C624AZI to use in ModusToolBox, thank you
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 Less