PSoC™ 4 Forum Discussions
Hello,
I'm using the CYBLE-022001 module and I would like to use the LFCLK as clock of a counter block. But I have always the same error: M0139: Invalid connection for clock input ... The component requires a clock from the clock block.
What is the clock block? Is there a way to use the LFCLK in counter component?
Thanks in advance,
Gemotech
Hi, I'm new to the PSoC platform and in my playing around, I've come across the need to affect an input of a logic gate or timer, but cant do it from software.
My example case would be using an XOR to mask a UART, suppressing its output for a time. This or triggering a latch.
Is it possible to write something like a the "Logical High" pin from software to do this?
Thanks.
Show LessSo in order for CySmart to detect the bluetooth dongle you need to 1.1.0.16. But apparently this can only be done before updating the dongle firmware i.e. firmware version 2.0. I didn't know that and so I've updated the dongle to 2.12 and now need to downgrade it back using the KitProg.cyacd file. I've followed the instructions 6.4.1.2 Restore PSoC 5LP Factory Program Using USB Host Tool but the problem I'm having is that when you plug in the dongle in service mode, USB Human Interface Device is supposed to appear as an option in the bootloader host tool but it doesn't for me. The host tool doesn't recognize anything when the dongle is in service mode. How can I downgrade the dongle?
Show LessAfter connecting a peripheral to a central I want the peripheral to continue advertising in non-connectable mode while still maintaining the connection with the one central. My strategy thus far has been to change the advertising type to broadcast and starting advertising again after the stack sends a connected message. My code for the event handler is below. The program compiles and does not crash. But once in connection with my smart phone (the central) I don't see any advertising on my pc running CySmart1.1. When I break the connection with the central the peripheral starts advertising again just fine in connectable mode. Any ideas how to accomplish this?
void eventHandler( uint32 eventCode, void *eventParam )
{
switch( eventCode )
{
case CYBLE_EVT_STACK_ON:
case CYBLE_EVT_GAP_DEVICE_DISCONNECTED:
cyBle_discoveryModeInfo.discMode = CYBLE_GAPP_GEN_DISC_MODE;
CyBle_GappStartAdvertisement( CYBLE_ADVERTISING_FAST );
case CYBLE_EVT_GAP_DEVICE_CONNECTED:
cyBle_discoveryModeInfo.discMode = CYBLE_GAPP_NONE_DISC_BROADCAST_MODE;
CyBle_GappStartAdvertisement( CYBLE_ADVERTISING_FAST );
}
}
Thanks
Show LessI am using a CY8C4247AZI-M485 and want to use the emulated EEPROM that is mentioned in both the data sheet and TRM.
However, in PSoC Creator 3.3 there is no Em_EEPROM component listed.
Any ideas?
- Jim
Show LessI'm not able to find the "variables.ini" and "Sensored BLDC Control.iic" configuration file in the project file. I have searched my computer for both files. The files are described in section 5.7.3 of the user guide for the kit. I have built the project and have it running on the board.
jeffreywagner
Show LessI am writing my own android application and I want to send 4 alert levels to the blue tooth module instead of 3. How can I modify the BLE component so I can do that?
Show LessI am using a custom GATT service as I have a set of data that does not fit in to any of the standard services.
Services have a 16-bit UUID e.g. 0xff01 and vary in size from 1 byte unsigned int to 8 bytes "long long" int. I have set up a peripheral device and can read these parameters with CySmart and the BLE Dongle. The particular fields that may be transmitted vary, depending on the type of sensor some fields may be omitted or protected.
Now, I want to read these parameters. I would need to create a CYBLE_GATTC_READ_BY_TYPE_REQ_T struct with parameters of the read. Here is where I have questions:
) What do I use for the startHandle and endHandle parameters in the range struct?
) Is the UUID specfied as a 16-bit integer (provided uuidFormat set correctly?)
After this, how can I read the data? The function CyBle_GattcReadUsingCharacteristicUuid returns only a status packet. So I guess it fills some struct somewhere?
Now, I have looked long and hard and cannot find documentation or consistent code samples for Custom profiles, only API documentation which does not explain much. I can see the methods for extracting data for heart rate profiles, etc. But that is not applicable to my project.
Thanks for any advice,
Show Less