PSoC™ 4 Forum Discussions
Dear all,
is there an Application Note with firmware example for RGBW mixing algorithm out there? It seems all the examples are for RGB like AN16035 and CE211584.
Lighting designers tend to use RGBW instead of 3 channel LEDs.
Regards
Fausto
http://www.cypress.com/file/333746/download
Show LessHi all,
Had anyone interface PSoC 4200-L with EEPROM?
Be it I2C or SPI, I had this 2 type of EEPROM on borads for different store function.
I had try using the SBC mode, but look like is different from communication with the EEPROM.
More of the communication between the PSoC chip, processor to processor.
Regards
ChawCS
Show LessHello,
This is the first time I write to the cypress community. It is a great place to find the solution to most PSOC problems.
I having problems using the em-eeprom on a PSOC 4 (CY8CKIT-049-42xx)
I have attached the complete project for you to see. It is a simple device that moves a hotmelt glue doser a few millimeters with a stepper motor (the project is not finished yet)
It has a lot of switch and a LCD character screen to set up 5 different parameters. I want to set the parameters and store them on flash to keep them on power cycles.
But it doesn´t work. I have read all forum thread on em_eeprom but I cant find the problem.
When I debug the project (using a kitprog from another kit) I see that the flash area is modified when the eeprom_write function is called. it is stored on the 184C address, and I do see it modified with the ram buffer data.
But this doesn´t happens on the target circuit.
Anyone find something wrong on the program?
Thanks in advance to all of you!!
Pablo
Show LessI have two CyBle modules in the project. One is the client (master) and the other server (peripheral). Upon power up, the peripheral updates all of the custom characteristics with specific values. I can connect to the peripheral with CySmart app and read/write to each characteristic so that side of things works great.
On the central side, once it is connected to the other CyBle module, when I press a button on the central device, it sends a value to the peripheral and then the peripheral performs a function. I have a need to read a couple of the characteristics from the peripheral to be used in the client to alter the type of message being sent. I know the handle of the characteristic I want to read from so I try to use the function as follows
readReqParam = 0x0010;
bleApiResult = CyBle_GattcReadCharacteristicValue(cyBle_connHandle, readReqParam);
When I call this function in my main program, I get the invalid operation error code and the system locks up every time.
I have no problem writing from client to server but reading from server to client is not working at all. Not sure what is wrong or why. I added the event handling
case CYBLE_EVT_GATTC_READ_BY_TYPE_RSP:
readResponse = (CYBLE_GATTC_READ_BY_TYPE_RSP_PARAM_T *) eventparam;
but that is never reached.
I dont believe anything needs to be done on the peripheral (server side) since I can read any characteristic from the app. Since I am able to write to the server using a known handle, I dont think there is anything wrong because that works ok.
This is extremely frustrating why a simple read is not working, help is greatly appreciated.
Thanks
Jim
Show LessI am pursuing BT certification with a third party. They have indicated that the Cypress chipset (CY8C4127LQI-BL473) is already SIG certified. How do I know if I can use this certification?
We use the design contained in the app note with the MIFA Antenna. We use a custom profile.
Thanks
Rich
Show LessDear
Product / Family = CY8C4045AZI-S413
Datasheet URL
http://www.cypress.com/file/230631/download
I want to know the theoretical time of Flash AC Specifications roughly.
Question1:
About SID175 of Electrical Specifications:
The datasheet says, SID175 "Row erase time" Max is 16msec.
I think it is the worst value(have a lot of margin).
In fact, I think required time is more short.
Could you tell me the time of SID175 roughly?
Question2:
About SID176 of Electrical Specifications:
The datasheet says, SID176 "Row program time after erase" Max is 4msec.
I think it is the worst value(have a lot of margin).
In fact, I think required time is more short.
Could you tell me the time of SID176 roughly?
Looks like I need to edit the cm0gcc.ld file manually to change the stack/heap sizes for the BLE OTA?
Is there a way to make it use the values entered in the System entry of the .cydwr?
What are the minimum values for the Stack and Heap when using BLE OTA (assuming that is the biggest user of stack and heap)
Show LessI am using the code from the Dynamic Broadcaster project. I have created Manufacturer bytes in both the advertised packet and in the scan packet. I am not seeing them change...
CyBle_GapUpdateAdvData is not returning an error. I am not using low power modes.
Thanks
Rich
void DynamicADVPayloadUpdate(void)
{
static uint32_t count = 0;
if(CyBle_GetBleSsState() == CYBLE_BLESS_STATE_EVENT_CLOSE)
{
count++; /* Loop counter */
/* Once the system enters Sleep/Deepsleep mode during advertisement, the source of wake-up is the next
* advertisement interval which has a wakeup interval of 1 advertisement (ADV) interval (100ms).
* LOOP_DELAY * ADV interval is the interval after which ADV data is updated in this firmware.*/
if(count >= LOOP_DELAY)
{
/* Dynamic payload will be continuously updated */
advPayload[MANUFACTURER_SPECIFIC_DYNAMIC_DATA_INDEX] = dynamicPayload++;
if(dynamicPayload == MAX_PAYLOAD_VALUE)
{
dynamicPayload = MIN_PAYLOAD_VALUE;
}
count = 0;
CyBle_GapUpdateAdvData(cyBle_discoveryModeInfo.advData, cyBle_discoveryModeInfo.scanRspData);
}
}
}
Show LessThis feels like kind of a dumb question but I'm not quite sure where to find the API documentation for the low power modes for the PSoC4.
I would like to put it into a sleep mode for very brief periods during my message loop and have it wake up to service interrupts. I'm hoping this won't interfere with any bluetooth activity.
Show Less