PSoC™ 4 Forum Discussions
I have done a project in switching different colour lights through ble
there are no errors but i doubt I'm not receiving any values to the program
Please see through it
this video was used as reference PSOC 4 BLE Lecture 3 Creating a Custom Profile - YouTube
Show LessHello all,
I would like to send a negative response to a write request, so I wrote:
case CYBLE_EVT_GATTS_WRITE_REQ: {
CYBLE_GATTS_WRITE_REQ_PARAM_T * wrReqParam = (CYBLE_GATTS_WRITE_REQ_PARAM_T *) eventParam ;
if (MY_PORT_CHAR_HANDLE == wrReqParam->handleValPair.attrHandle) {
CYBLE_GATTS_ERR_PARAM_T err = {
.attrHandle = wrReqParam->handleValPair.attrHandle,
.opcode = 1,
.errorCode = CYBLE_GATT_ERR_UNLIKELY_ERROR
} ;
CYBLE_API_RESULT_T x = CyBle_GattsErrorRsp(cyBle_connHandle, &err) ;
DBG_PRINTF("%d = CyBle_GattsErrorRsp\n", x) ;
}
}
break ;
the print result is 2 == CYBLE_ERROR_INVALID_OPERATION
I read this post Re: How to send an ATT Error response , but it has not an example
In the specification I found:
Can I send an error? How?
Show Lesshttp://www.cypress.com/file/140826/download
Tried this above project
where is updatergdled defined?
and not advertising
Show LessHow do i receive the value to my program which is sent from cysmart app using a custom profile
Is it possible to reconfigure analog and UDB components and wiring during runtime with PSoC4?
For example by loading a new Startup-Code?
I found no information how the configuration data is stored and loaded by boot sequence.
Does an AppNote exists with this information?
I found only a description for PSoC1 for "dynamic Reconfiguration".
Show LessI have been trying to get this ADC program to work (Vref of VDD, single channel, single ended, no injection) and when I run the debugger, the code does not get past while( !ADC_IsEndConversion(ADC_RETURN_STATUS));. Compressed workspace is attached. What can I do?
Show LessHi , i build device (project found at internet ) with CY8C4245LQI-483 . I assembled device and try to program by CY8CKIT-042 , this kit contains SWD programmer to program internal CY8C4245AXI-483 , i disconnect built in procesor by removing R34, R32 , R33 , and i connected SWDIO ( instead R32 ) SWDCLK( instead R33) and reset (instead R34) , also i connected Vdd and GND , programmer works with built in processor , and do not work with external processor , i have ERROR
"FAILED! Timeout of SROM polling. Lost communication with chip" . What is wrong ? , i have only HEX file for my project , should i have any additional file to configuration ?
Maybe will it works with lower SWD clock speed , but in my kit is only 1.6MHz and is not changeable ( inactive) .
Show Less