PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
We have PSOC 4 (BLE 4.2) and we want to identify when a broadcast/advertising has been transmitted in real time for debug purposes.
Could you please refer me to the relevant event interrupt that occurs when this happens?
Thanks,
David
Show Lessusing the following configuration:
Environment:
PSoC Creator 4.2 (4.2.0.641)
OS Version: Microsoft Windows NT 10.0.16299.0
CLR Version: 4.0.30319.42000
When I am tiying to compile the project, by using the EZI2C in order to get the tune helper for a CSD component, i get the following failure:
fit.M0059: FFB and IO placement failed: Failed to fing a valid placement for \SCB:SCB\.
When i am trying to compile with another computer, the failure does not appears.
I do not find the différences between the 2 computers.
Has anyone any idea how to proceed?
Thans.
Thomas FERRY.
Show LessHi,
The PSoC 4XX7_BLE state that Max ESR allowed is 60 Ohm.
In my design I am using the lower spec models like CY8C4127LQI-BL473, which only runs at 24MHz, as opposed to the faster ones in the family that run at 48MHz.
But the spec (Document Number: 001-90479 Rev. *N) has one ESR number for both and it is the same number 60 Ohm.
I was wondering - In the context of cost reduction for my product - can I use a lower spec crystal with max 100 Ohm ESR for the CY8C4127LQI-BL473 ?
I am working in the Chinese consumer electronics market and the higher quality crystals are more expensive.
Please advise,
Shachar
Show LessHello,
I am trying to run a proximity sensor using CY8C4025LQI-S411 chip. I've created a CapSense component, configured it to use a proximity sensor with two sensors, shield and shield tank capacitor - all according to the hardware design on hand. However, I don't seem to get any response from the IsProximitySensorActive method. I can see the measurements change when I move my hand over the sensor, using the sensors' raw data directly; however, no matter how I change the configuration or program code, I can't get the CapSense working.
How do I know if I should change the CapSense component configuration, program code or hardware design? What do I have to do to determine the source of the problem?
Below is the source code of main() function that I'm currently using. Is there anything wrong with it?
CapSense_1_CSDSetupWidget(0);
CapSense_1_Start();
CapSense_1_InitializeAllBaselines();
for(;;)
{
CapSense_1_ProcessAllWidgets();
while (CapSense_1_IsBusy())
{
;
}
CapSense_1_UpdateAllBaselines();
if (CapSense_1_IsProximitySensorActive(0, 0))
{
Pin_1_Write(1);
}
else
{
Pin_1_Write(0);
}
CyDelay(5);
}
Show LessHi
If I want to alternate advertising payloads, what is the best way to do that?
Can I just update cyBle_discoveryModeInfo.advData from a timer and the stack will send the new contents or is that unsafe and should I stop/start using functions like CyBle_GappStartAdvertisement?
We need to send some Manufacturing data in one advertisement and Name in another due to the space constraints of the packets.
Thanks
Show LessHello -
I have a device with a Cypress semiconductor that is running the UART_to_BLE_Central project. I am trying to connect to this device using Bluetooth4 BLE protocols. This one: CY5670 http://www.cypress.com/documentation/development-kitsboards/cy5670-cysmart-usb-dongle
I am able to successfully connect to the device using Android Java code but not on iOS. On iOS I am not able to advertise manufacturing data in the way the PSoC code wants it. I think this is likely the issue.
Do you know if it is required to satisfy this condiction in the Central project code in order to connect?
File: app_Ble.c
case CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT:
advReport = (CYBLE_GAPC_ADV_REPORT_T *) eventParam;
/* check if report has manfacturing data corresponding to the intended matching peer */
if((advReport->eventType == CYBLE_GAPC_SCAN_RSP) && (advReport->dataLen == 0x06) \
&& (advReport->data[1] == 0xff) && (advReport->data[2] == 0x31) \
&& (advReport->data[3] == 0x01) && (advReport->data[4] == 0x3b) \
&& (advReport->data[5] == 0x04))
{
peerDeviceFound = true;
memcpy(peerAddr.bdAddr, advReport->peerBdAddr, sizeof(peerAddr.bdAddr));
peerAddr.type = advReport->peerAddrType;
#ifdef PRINT_MESSAGE_LOG
UART_UartPutString("\n\r\n\rServer with matching custom service discovered...");
#endif
}
break;
Any insights would be very much appreciated.
Thanks,
Rohan
Show LessTrying to make use of the ultra low cost CY8CKIT-049 for an open source project. When I insert the device into my trusty Windows 7 machine, it shows the standard windows "Driver software installation" dialog, and all three parts succeed as expected. But no com ports appear in the Device list. Same when the button is pressed during insertion. Same for a second USB port on the machine.
Any ideas? Steps for troubleshooting?
Show LessI can bring in a clk on any GPIO and use it as a digital signal clock, but there is a block in the clock wizard called ExtClk and only P0.6 is possible there. Is this a better pin to bring any external clock in on? Is it a direct, low capacitance line to the clock block? I can't find anything in the TRM or datasheet that explains it.
Show LessDear Community,
Following the two example projects in 100 projects in 100 days mesh flood and directed:
I would like to be able to use one of the nodes as proxy between the Android app and all the rest of the network(nodes addressed), as it is now one has to manually re-connect to one of the nodes to write data (say like sending a new colour value).
Is there a way to use one of the nodes as a proxy like I understand it works on the mesh in Wiced?
In addition, what would be needed to optimise this firmware for battery powered peripheral devices?
Regards
Fausto
Show Less