PSoC™ 4 Forum Discussions
Hello users,
When using the function CyBle_GappSetNumOfAdvPkts() to send a fixed number of advertisement packets out from the device wirelessly, the BLESS ends up being stuck in the "ACTIVE" mode, and refuses to go to power saving mode indefinitely. The documentation doesn't mention any requirements to what the user needs to do upon completion to "clean up". Is there another API call/function that I'm missing? I'm checking the BLESS state and attempting to enter low-power-mode when not actively processing in main().
I am checking the return value and it is giving CYBLE_ERROR_OK, as well as physically sending out the number of packets requested (the ADVERTISEMENT_START_STOP also fires when it finishes as well.)
Do I need to reset the BLESS? Or just reset the chip?
Show LessIn the reset comparator, a reference of 1.2V is used (P5 of psoc 4000s datasheet).
Can this reference voltage be tapped off internally to be used as reference for the two low power comparators as well?
I'm using the CY8C4025FNI chip.
Also, this PVref_P4 comporent doesn't exist on chip, does it? https://www.cypress.com/file/274656/download
Thanks.
Show LessI made a circuit where a CY8C4125AZI-S413 directly drives an iconographic LCD. The display has normal LCD segments. I tried to make it work and after 15 minutes the CY8C4125AZI-S413 got damaged, it became a short circuit. Is it a problem if CY8C4125AZI-S413 directly drives an LCD dislay with 3.3V?
Show LessI have an app in Unity that sends data via ble to the device and can't seem to get any mac to connect to the device from osx. I can see the device in CySmart, but I need to be able to send test commands via ble from Unity. The app (in OSXEditor) can't even see the device in order to pass the 'connected peripheral' switch block.
Is there anything special I need to do to be able to use the device to pass data from OSX Unity?
Show LessI'm designing a USB-based driver for WS2812 LEDs. As a part of the project I need to serialize some data but unfortunately the delay between entering a shifting operation in a datapath and getting a bit on the 'Shift Out' output is prohibitively large (26us). It doesn't deviate from this value by more than 1us, regardless of the speed of the clock I feed the datapath with. Also, I don't have any additional logic between the output I read and the datapath's shift out. Is this delay an intrinsic part of the datapath design? It seems really excessive, given the usual order of magnitude of propagation delays in the timing analysis (~30ns), and prevents me from operating the UDB component at periods longer than that 26us.
Show LessDear CYPRESS:
AS we know , we can config the CY8CMBR3108-LQI touch file with EZ-Click, but to chekck the config files is right ,
how can we read the config file of CY8CMBR3108-LQI with bridge control panel ?
R adress @Key1 [Delay=100]; //能够读出相关的按键值;
Show LessI want to create a timer in multiples of 10ms. At the moment, I intend to configure using the TCPWM component to achieve this, but I am not able to get the settings correctly when configuring.
Any advice?
Thanks
Paul.
Show LessHi Expert,
I use the SCB SPI 4.0 component. it created code automatically. I just need polling read/write, but I can't find any read/write functions. does it access the fifo registers for r/w data?
Show Less
I've been asked to combine the two projects "BLE temperature measurement" and "PSoC_4_BLE_CapSense_Slider_LED" for a demonstrator.
I’m looking to have 3 features:
- 1. Temperature sensing/ simulation 2. Battery level
notification ( which is included in the temperature measurement/
simulation project) - 3. RGB control
My understanding is that the Bluetooth structure includes identification of the device, the identification of the device allows the mobile app to process the data appropriately and so to combine the two functions, either a new app and a new combined program would need to be created or a program that changes the "ID" of the micro so as to appear to the app to be a different device and fool it into working with the program.
My initial response was that it would seem simpler to have two chips and use the unchanged original software but please advise if there is a simple solution I've missed
Show Less