PSoC™ 6 Forum Discussions
When I want to reprogram the bootloader, I use PSoC Programmer to erase SFlash and Main Flash first. Does this erase SFlash factory settings like trims and ID? When I dump SFlash it does not show these registers so I don't know. If I use the COM API PSoC6_WriteRow(), can I erase factory settings or are they write protected?
Show LessHello,
I am trying to receive automatically (minimal code interaction) to receive an unknown size of data via SPI. This data should get transferred by the Dma into my memory (psoc 63 BLE dev board with psoc Creator 4.2).
I am trying to realise a register maped spi slave: This first data byte int the MOSI line defines the reading register id that shall be accessed. Each further byte increments the register id. This works as fare fine if the transition size is known by the dma descriptor.
Realisation:
I have two DMAs
RX : two descriptors for rx (gets trigger by the SPI Slave RX-DMA singal)
1. Size one byte -> write the data to the src addr af the TX DMA
2. Skipp 29 bytes
TX one descriptor for tx
- Write data from src to spi
If I send 30 bytes the dma chain gets resetet as expected and works fine.
Now I plan to make this independent from the transmission size.
I’ve tried it with polling on the spi slave to determine whether the slave is done or not. And Reset then the DMA with no effect.
How to reset the an DMA for psoc 6 PDL 3.1.0 in Software(descriptor, xloop count, src/dest addr,…) and is there an hardware way to do this?
Thank you very much.
hi,
I am making a wearable device using CY8C6347BZI-BLD53 or CY8C6347FMI-BLD13.
How many Capsense can I have?
well,,I'll use Capsense for RGB-LED control.
I use to 8 RGB-LED, It is possible?
Thanks
Show LessI have two examples, the first one is a bare metal system and I am calling Cy_Flash_StartProgram function and it is working fine as expected. The other example is the same as the first one but depends on FreeRtos. Sometimes, when I call Cy_Flash_StartProgram the system goes in unexpected behavior. From debugging I found that Systick handler does not fire anymore for FreeRtos operations. I believe that the system got hanged in this line "while (0UL == _FLD2VAL(SRSS_CLK_CAL_CNT1_CAL_COUNTER_DONE, SRSS_CLK_CAL_CNT1)" inside function Cy_Flash_RAMDelay.
Could anyone help, how I can solve this bug as it consumes a lot of time?
I've included a picture of having to use the BGA's- It's probably expensive on comparison,
but it does let my potential customers use an efused I.P. version, on building a further development board themselves, of my programmed chip. If i provided 2 of the 'base PCB connectors' as they keep buying one, they can pass on a connector to their customers (like a weird relay race of more developers?) anyway, i'd prefer to simply sell them a 128 TQFP, and keep costs lower...
Show LessHello, after calling Cy_BLE_GATTS_SendNotification(&appConnHandle, &handleValuePair); I'm getting result value of 0x17. How I could understand what actual error code it is? Is it CY_BLE_ERROR_GATT_DB_INVALID_ATTR_HANDLE? Doesn't make any sense, since in the PDL documentation there is no such return value for SendNotification.
Thanks,
Show LessDo you have a functioning example of emWin on the Cy8CKIT-062-BLE with the CY8CKIT-028 TFT using Compact Color?
Our existing product uses COMPACT_COLOR_16 and our UI is designed around it. Virtually all our UI graphics look horrible in FLEXCOLOR and simple selecting COMPACTCOLOR for the Graphics engine doesn’t result in code that will compile and run.
If you can point me to where in the community this issue has been raised and resolved I’d appreciate it.
Show LessHi,
We are using CYBLE-416045-02 psoc6 and are using both ble5.0 and Freertos on core m4. We have configured Ble as dual core. We are calling Cy_BLE_ProcessEvents() function in while(1) loop of main of core m0 and ble task in m4 core exactly like the example code, but after arounf 3 minutes the system gets hanged.
Error :-
The target program has stopped at: file: main_cm4.c line: 59 function: main address: 0x10080398 Continuing target program =thread-group-exited,id="i1"
Show LessI am working on an ADC converter connected to the SPI read and write pins, the ADC line should be selected by sending data to the ADC and then the receiver will receive the response by reading the analog value connected to the channel. I have written code changes and while running I am not getting the error, but the received data is always 0 no matter what value is connected across ADC.
I have included the code I am trying, can anyone help me to rectify what might be wrong here, or if you can provide example code, it will be great,
/* Clear the transmit buffer before next reading (good practice) */
SPIM_ClearTxBuffer();
SPIM_ClearRxBuffer();
SPIM_ClearFIFO();
// set cs bit to low
CS_ADC_Write(0);
//Config input = 0x8C
SPIM_WriteTxData(adcInputCofig);
//check RX buffer status
//while(!(SPIM_ReadRxStatus()));
uint8 receivedDataBuffer = SPIM_ReadRxData();
// set cs bit to high
CS_ADC_Write(1);
Show Less