PSoC™ 4 Forum Discussions
I'm looking at the BLE v3.30 component DS and the stack event
CYBLE_EVT_HIDSS_REPORT_CHAR_WRITE HIDS Server - Write Report characteristic request. The
parameter of this event is a structure of CYBLE_HIDSS_REPORT_VALUE_T type.
The event itself is listed in the API, but the return type CYBLE_HIDSS_REPORT_VALUE_T, is not (undeclared identifier), and this is the only information is what I've c/p'd.
My question is, is it even active/used? I'm assuming it would be generated on the server-side when the client calls CyBle_HidscSetCharacteristicValue, in order to let the server know when data has been written/changed by the client. If that were the case, I'd have use for it, if anyone could tell me how to make that happen, by defining the return type, or activating the event.
Show LessI use the component LCD_SEG,which added 7seg.The numbers to display changes somtimes.
How to make the displayed numbers blink?
Thanks first.
Show LessHello, I need to change the auto generated code in psoc 4.0
For a Project we use WCO as a clock source, LFCLK. The file cyfitter_cfg.c is an auto generated file from Psoc 4. after starting WCO component, a 500ms wait is performed till WCO should be stable. After the wait, a Low Power Option of WCO is set.
Goal of our application is, the Cyble 022001-00 is mainly in hibernation mode. After an Interrupt(from NFC chip) it programs a NFC Tag with the BLE address. A Smartphone reds the address, connects to BLE and retrieve information.
One of the main goals of our application is low power. So current implementation takes 500+ms till the NFC tag is written and the Smartphone tries to connect. Manley the delay of the wait function after starting WCO. For writing the NFC Tag no WCO related function is needed.
My plan is to delete the wait cycle and set the low power option of WCO manually in my source code. For this I need an option how to change out generated source files. If there are any drawbacks to my plan please let me know.
It would be interesting to know the max time till WCO is stable, haven't found a hint of it in user manual and data sheet.
Thanks
@Bob sorry but my last posting is closed, but solved for me. To answer your last question I live near Karslruhe.
Show LessHi guys,
Im trying to implement a FOTA to program a PSoC4 using a Quectel UC20 as a Host. First I download the .cyacd file from an FTP server and store it in the UC20´s RAM memory and then sending the file through UART to the MCU in bootloader mode using the function Booloader_Start(). Now, im stuck. As far as im concerned, only by sending the correct data (.cyacd file parsed to hex) to the PSoC4, the bootloadable should be correctly installed, but reading the documentation i have noticed that the MCU answers to every command sent by my host, are these answers needed by the host to do a correct programming? Or are they only useful for a flow control when using another mcu as host? I have read about the Silicon ID and the format of the .cyacd file and it seems that what i´m trying to do is to bypass all of that. I´m a newbie in the microcontroller world so i´ll be happy for any of your guidance and to explain myself.
Esteban
Show LessHello,
I got this error while trying to compile a project. I am using CY8C4247AZI-M485
Error in component: cy_boot. The cy_boot_v4_20 component (cy_boot) is not compatible with the selected device. Please check the component datasheet for details on updating to a compatible component.
I was looking around the forum and I found that I have to update my components. I checked and found that my components are updated see attached. Any idea what else I could do?
Show LessHello. Sorry for my english, I'm using a Google translator.
I want to use the quadrature decoder module to connect the mechanical encoder to the PSoC 4 (CY8CKIT-049-4200). When I add the module and collect the project, I get a message "E2071: Unable to pack the design into 4 UDBs." See the Digital Placement section of the report file for details. "
I watched in datashit that the component of the quadrature decoder (8 bits) takes 6 PLDs, if the filter is off, and 7 PLDs if the filter is turned on. By default, the filter is enabled. I turned off the filter, and was able to assemble the project. Why does not the default component allow me to build a project? Is there not enough macrocells in CY8CKIT-049-4200 4 for this?
I do not want to put external capacitors, I need this filter. I tried to add 1 external filter such as "Glitch Filter", and the project again refused to assemble with the same wording of the problem.
I was able to assemble the project by adding 2 elements such as "Debouncer". Will this element be used as a simple alternative to "Glitch Filter"?
Show LessI am using ADC to monitor the voltage of an analog input value to my BLE Pioneer Kit. I am currently printing the voltage to putty. Is there an easy way to send these values via Bluetooth to a phone app by adding a few lines of code? Is there an easy way to print strings to the Cysmart app?
Thanks
Show LessHi,
I'm using the CY5672 PRoC BLE Remote Control Reference Design Kit, and I'm trying to understand what the code exactly does.
So my idea was to do debugging, and see how the code works.
But, when i'm in debugging mode, and try to do step by step, i fall on system interrupt part. I searched here by this problem and see this is "normal" (it was a known behaviour), and if I want to do debug I have to use one of this solutions (saw this solutions on case: System interrupt problem in debugging):
"Ways out: When at the breakpoint, disable interrupts when single-stepping, before executing a run-command enable them again. There is an icon in the menu for interrupts.
Or
remove Breakpoint and set a new one at the next line you want to stop, then execute a Run-command"
Although, when I'm trying to implement the first solution, and I'm at the breakpoint (with the interrupts now disabled), I try to do step by step and it happens that the code jumps to another place. Also, If I continue to do step by step it give me this error:
"Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)"
The other solution, I remove the breakpoint and set a new one close to the previous one where the code should go, but when I execute Run-command it doesn't reach there. For example, on the figure in annex when I execute the Run-command it should stop in the breakpoint that I set, but never has arrived there. Only arrives if a key is pressed again, but it should had arrived in the previous case (because the variable isBatteryLow had the value 0 and the variable isActivitiyDetected had the value 1).
I'm using the code provided with the kit for remote control without any changes.
Could you help me about these problem? What should I have do?
Hi,
Hi,
I'm having a problem to connect the USB dongle with the Remote control.
If I connect the remote with the PC by Bluetooth, I can see the mouse cursor moving, the volume increment and decrement, and I also can see with the sniffer that everything is right (the packets that are sent from the remote control by bluetooth).
Although, when I'm trying to connect the remote with dongle (following the CY5672 PRoC BLE Remote Control Reference Design Kit Guide - section 3.1) I see that remote is pairing successfully with the dongle (blue LED, on dongle, glows). And I can see with the sniffer that is everything fine in the remote side. But, in PC I can't see what is happening, for example, I move the finger on Trackpad surface and the mouse cursor don't move, I tryed to increment the volume and this not worked.
I tried to uninstal the drivers of dongle and install again but not worked. I already used the Psoc Programmer to program the dongle like descripted in CY5672 PRoC BLE Remote Control Reference Design Kit Guide - section 3.3.2.
I really need that the remote works with the dongle.
Can you help me ?
Regards,
Walter