PSoC™ 6 Forum Discussions
Hello,
I am trying to build a custom windows Firmware upgrader solution for PSOC 6. I tried downloading Qt Creator 8 and imported the project but it always kicks me out saying that the project has errors to build. I even edited the cmakelists file as listed in the documentation:
set(BOOST_ROOT "C:\Users\Questron\Desktop\Projects\OTA Firmware update\boost_1_66_0")
set(QTDIR "C:\Qt\6.3.1\mingw_64")
set(CyBridge_LIBRARY "C:\Users\Questron\Desktop\sample_code")
The batch file or the script file fails running from sample codes directory.
I made the firmware updater for PSOC 5 with USBHid which is not working with PSoC 6,
I would like to get a working example in visual studio probably or please guide in loading the project as it should be.
Show Less
Hello,
I have built a PCB and I would like to add to it PSoC 63 BLE Module (CYBLE-416045-02). How to do the kitprog interface to get it working? Can anyone help please?
Thank you
Show LessHello everyone,
I am trying to implement a TDM master on the CYS0644ABZI-S2D44 and keep running into problems with the DMA.
Im using the cyhal library as described here in Snippet 4: https://infineon.github.io/mtb-hal-cat1/html/group__group__hal__tdm.html
My problem is, that the event handler is never called. The reason for that seems to be the DMA, that the driver allocates for the operation. The debbuger tells me, that the allocated DMA is from type DataWire, which is reasonable, because thats the one optimized for peripheral <-> memory operations (https://infineon.github.io/psoc6hal/html/group__group__hal__impl__dma.html). Thing is, that the chips errata says, that this DMA does not work at all.
I can get it working, adding this after the initialization:
//free dw and force dmac
{
cyhal_dma_free(&p_tdm_object->rx_dma);
p_tdm_object->rx_dma.resource.type = CYHAL_RSC_INVALID;
result = _cyhal_dma_dmac_init(&p_tdm_object->rx_dma, NULL, NULL, CYHAL_DMA_PRIORITY_HIGH);
if(CY_RSLT_SUCCESS != result)
{
printf("_cyhal_dma_dmac_init %u\n", (unsigned int) result);
}
}
What this does is, it frees the allocated DataWire-DMA and replaces it with one of the DMAC-DMAs.
For low speed audio data, this works just fine, but at our target datarate of 32Bit/48kHz/8Channels, we run into problems. Another thing is, that 4 DMAs is not a lot, so that we are stuck with cpu-copying in another part of our application, forcing us to further reduce the maximum datarate.
So that is where Im stuck at the moment. I am grateful for any help 😕
Questions for the Community:
- Has anyone tested another approach to use the TDM/I2S? Probably by writing your own driver that uses CPU-Copy instead. Is it reasonable to hope thats any more performant?
- Has anyone did some benchmarking on whats the cost of using the unoptimized DMAC for short Peripheral-to-Memory operations instead of DataWire?
- Is there a trick to get the DW-DMAs to work despite the errata sheet says no?
Questions for Infineon officials:
- Fixed DataWire-DMA when? On the same Page of the errata-sheet, it says Q3 '21 and Q4 '22. That doesnt make me very confident about either of those dates, tbh.
- Is this going to be a silicon-fix aka. do we need to buy new Chips?
Hello,
I am using a PSoC 63 BLE Module (CYBLE-416045-02) and I am trying to program it using JTAG by using a MINIPROG4. But I am not sure how I should connect the hardware? To which pins ? Can anyone help please?
Kind regards
Show Less
I would like to fabricate a data logger with CYPROTO-063-BLE.
However, I am a complete beginner.
I would like my data logger to have the following features
・At 100Hz intervals, get sensor data with i2c using DMA
・Save data to SD card
・Send data to cell phone via BLE(Should we separate CM0 and CM4 functions?)
using modustoolbox
Would you be able to give me some examples, tutorials, etc. that would be helpful to me?
Show LessI'm using a miniprog3 with a CY8C6117BZI-F34. Before today, programming and debugging have worked fine. However, today I start "debug" in PSoC Creator 4.4 while power was turned off to the PSoC6 device but the miniprog3 was connected. I then turned on power to the PSoC6 device. Ever since then, Cypress software cannot detect the PSoC6 device. I've tested the miniprog3 on another PCB and it detects PSoC device on that device fine. I've also confirmed that the power supply (3.3V) is good. I've attached a screen capture of what I seen in PSoC Programmer 3.29.1.
Can you help explain this problem? Is there other debug or status that I can do with the Cypress software? Is it possible that power cycling at that time corrupted something in the PSoC6 device? If so, is there any way to recover the device?
Show LessHello,
I am trying to display the value of reflectometer in UART in a separate function other than the main but its not giving any reading. Can you please check the project for me?
Thank you
Show LessHello,
I am using a PSoC 63 BLE Module (CYBLE-416045-02). I will use it in a project and I would like to know how I can interface the kitprog. Can anyone help please?
Thanks
Show LessHello,
Do you have ModusToolbox code example for the PSoC64 BLE Direct Test Mode over HCI?
I have a new project with CYB06447BZI-BLD53 and I will have to test the BLE Radio. We also have plans to do BLE qualification later.
Could I use the CyBluetool 1.0 for testing?
Best Regards,
Gintaras
Show Less