PSoC™ 4 Forum Discussions
We are designing a battery operated device and plan on using a nano boost regulator to extend battery life, maximizing RF performance is also possible benefit, can you recommend or point to a graph of RF performance over Vddr?
Show LessIf I apply a voltage via a potentiometer (V3.3 - GND) to P2_7, the voltage is converted correctly.
However, if I put an amplified sensor voltage on the P2_7, the reference value (AVDD / 2 or internal 1.024 Volt) is always returned. Depending on which Vref is parameterized.
I assume that it is a ground problem, but these ground are interconnected throughout.
The voltage at P2_7 is between 0.1 - 0.8 volts (measured and depending on the gain).
Thanks for your support.
Show LessI would like to configure the pin to LOW whenever PWM is not active.
1. How can i do that?
2. How should i configure in PSOC the initial state? Initial Drive state LOW is disabled on PIN.
PWM and the PIN configuration: (issue in green circle)
Show Less
I use the CY8C4128LQI-BL543, in the component of the BLE I have defined in the Security Level : Unauthenticated pairing with encryption.
After this change I receive in my IOS application and in the CySmart app the follow message every time I reconnect:
Can I solve this problem from the device or only through the application?
Show LessI'm looking into the enhanced security features of BLE 4.2
When reading A Basic Introduction to BLE Security - Wireless - eewiki it seems that BLE 4.2 has enhanced security for when having JustWorks pairing on a LE Secure Connection. How do I make use of this feature? I'm using PSoC Creator 3.3.
What would be the way to enable this? When looking at the generated BLE code, it seems that I need to have the security set to "Authenticated LE secure Connections with encryption" in order to enable Secure Connections, but this enforces to have passkey or numeric comparison. My device does not have any I/O capabilities.
Show LessI'm implementing water and moisture resistant capsense buttons with the CY8CMBR3116 and looking in the design guide, AN90071, the recommendation is to put 560 ohm serial resistors on all sense pins, including GUARD and SHIELD. However, on the dev board it seems there are no resistors on these two pins. So why doesn't the dev board follow the recommendations in the design guide? Or am I misunderstanding something?
Show LessSo I am using the CY8CKIT-042 PSoc 4 Pioneer Kit, and I am using two pins for capsense, one as a sensor and one as a driven shield. At a certain point I would like to switch these pins, one to be a 5v signal and one to read an analog sensor.
I looked at https://www.cypress.com/file/122336/download
at the HSIOC section and I think I would need to switch capsense to be GPIO as follows.
CY_SET_REG32(CYDEV_HSIOM_BASE, CYVAL_HSIOM_SEL0_GPIO);
Is this right? And now how do I setup these pins as a high signal and an analog sensor now that they are GPIO?
so far I have performed my capsense function, and I have written CY_SET_REG32(CYDEV_HSIOM_BASE, CYVAL_HSIOM_SEL0_GPIO); to change the pins to be GPIO
Show LessIf I was working on a project similiar to AN56377 and found that some of the generated code was not getting created what would be the likely culprit ?
The items that are not getting created are:
USBFS_USB__SIE_EP2_CNT0 |
USBFS_USB__SIE_EP1_CNT0
USBFS_USB__SIE_EP1_CR0
USBFS_USB__ARB_EP2_CFG
USBFS_USB__ARB_EP1_CFG
USBFS_USB__ARB_RW1_DR
They all seem to be in the cyfitter.h file. I included it in the project but it still doesn't build.
Any ideas ?
Show LessHello,
I have a question regarding PSOC4 BLE data transmission to Android App developed in Android Studio.
I configure analog pin in PSOC Creator to connect with an ADC converter and then transmit this value to Android App. For the initial single integer data, this works well, and I receive the data in the Android App and can plot very well.
The bandwidth is a bit low (~100Hz), so I increased the number of samples transmitted with each read request (increasing MTU to 512). The analog in integer becomes an array, and I run a loop to fill up the array before updating the data transmission. I have connected with Cypress CYSmart Dongle and I can see my data showing up on the console when I enable notifications.
After enabling notifications in Android, and trying to read the AnalogIn characteristic, the data is always displaying Null. I try different offsets, but doesnt change. I have read many forums on this, but I cannot seem to find the issue.
http://www.cypress.com/comment/340476
This is code in Android for enabling notifications to BLE. The CAPSENSE in project still works, and seems to provide some data, however the array only returns null.
public boolean setCharacteristicNotification(BluetoothGattCharacteristic characteristic,boolean enable,BluetoothGattDescriptor descriptor)
{
mBluetoothGatt.setCharacteristicNotification(characteristic, enable);
descriptor.setValue(enable ? BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE : new byte[]{0x00, 0x00});
return mBluetoothGatt.writeDescriptor(descriptor); }//descriptor write operation successfully started?
Thanks for any help you can provide.
Show Less