PSoC™ 4 Forum Discussions
Hi all
Working with a Psoc CY8CKIT-049-42 development kit. I am following the "getting started" video with Alan Hawes, and have installed the 15.4mb file with all of the documentation and example projects. I cannot for the life of me find the Boatloader example referenced in this video. Where is it supposed to be located? This has been incredibly frustrating, and Im sure I am making a simple error.....
I am going to New - Project - selecting the target hardware - Code Examples
There is no SCB_Bootloader project. And the 2 Bootloader based examples are completely different.
Any ideas?
HI,
I'm trying to data transfer test between heart_rate_monitor and heart_rate_collector.
Sometimes the heart_rate_collector side send NACK to the heart_rate_monitor side.
According to my investigation so far,
the retransmit ratio fluctuates according to the rr-intrval value of heart_rate_monitor side.
Please tell me the role of rr-interval?
best regards,yoshizu
Show LessHi,
I am new to psoc and capsense and trying to make a project using capsense proximity feature in psoc 4200M device. I have following doubts and request the experts to clarify the same
1. What is the difference between Capsense_GetNormalizedDiffCountData and CapSense_GetDiffCountData
2. I would like to get the difference count even if it is negative – is it possible to get difference count in negative as well if the raw count is less than base line
3. Will CapSense_UpdateSensorBaseline update the base line to previous rawcounts – how this function perform – request you to explain.
4. I would like the base line to be updated to present raw count after I read the results of present scan – how can we do this.
5. Is CapSense_ScanSensor a blocking call. How do we know the scan sensor has performed the operations and current scan is over and we can check the results by calling CapSense_CheckIsSensorActive for the current scan
Hi, I have new Pioneer Kit CY8CKIT-042-BLE-A. I can build any examples and program the BLE PSoC chip without any problem. All is work as expected. Excluding the debugging. When I try to run debug session I get next error:
Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)
There was an unhandled error during the debug session. This has forced the debugger to shutdown. Try again.
Output listing of building and debugging :
Programming started for device: 'PSoC 4200 BLE CY8C4248LQ*-BL583'.
Device ID Check
Erasing...
Programming of Flash Starting...
Protecting...
Verify Checksum...
Device 'PSoC 4200 BLE CY8C4248LQ*-BL583' was successfully programmed at 04/22/2017 21:41:24.
Continuing target program
=thread-group-exited,id="i1"
Error: dbg.M0015: Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)
CANCEL
At the same time using the same USB cable on the same computer and the same PSoc Creator I do not have any problem with debugging session of other not BLE PSoCs.
I did even turn off sleep mode for using USB port but with zero result.
Also I did try to debug on another computer and did get the same error.
I cannot start debug session and with PRoS module (black, is second in kit).
And of course I have updated firmware of base plate.
I am absolutely new in Cypress PSoC so do not have any ideas about resolving this situation.
Thank you for help.
Show LessThe EZ-BLE PRoC Module datasheets make no distinction between the 012011-00 and the 012012-10 except that the 012012-10 is missing its RF shield and is not certified by Bluetooth SIG or regulatory agencies (aside: there's a typo on the datasheet, it says "refulatory").
What practical effect does not having the shielding have for development purposes? I ask because I am having problems reliably connecting to my BLE application running on my prototypes running the 012012-10, and I don't have a 012011-00 version to compare against.
I expect that from an EMI standpoint, the unshielded module would do worse; but should it otherwise functional reliably for connecting to BLE central device over a short distances (on the desk)? Or is the shield crucial to the performance of the module itself and that alternate shielding requirements expected?
Show LessHi,
if(uartTxDataLength >= (mtuSize - 3))
Why do we control .What is the purpose here? I did not see any information about it.
Uart_to_ble.app
if((0 != uartTxDataLength) && (NOTIFICATON_ENABLED == txDataClientConfigDesc))
{
if(uartTxDataLength >= (mtuSize - 3))
{
uartIdleCount = UART_IDLE_TIMEOUT;
uartTxDataLength = mtuSize - 3;
}
else
{
if(--uartIdleCount == 0)
{
/*uartTxDataLength remains unchanged */;
}
else
{
uartTxDataLength = 0;
}
}
Hello,
in BLE component is Custom characteristics "MESSAGE" and in Properties are two parameters: Read and Write.
These parameters I can change by "tick" button in configure window. It's clear.
But how I can enable/disable for example Write parameter directly in C file?
I would like to have something as:
if ( i == 1) "Write is enable"
else "Write is disable"
Thanks in advance, Libor
Show LessDear ladies and gentlemen,
I have a problem with Cysmart 1.2. A few days ago, it worked without any problems, but now, this message appears after starting the software, also as an administrator: "Insufficient access privilege. The application requires administrator access privilege to detect the CySmart USB dongle. Close the application and relaunch with administrator previleges." Then, it doesn't find the Cypress USB dongle anymore, I tried with two of them.
Of course, I restarted my computer, deleted the software and reinstalled it freshly.
The only change I can tink of is a Windows update which took place about three days before.
I run windows 7, 64 bit.
If I can't make that software run again, is there another way to make an OTA firmware upgrade of a BLE device with one of your software tools?
Thank you for your help and best regards, Tobias
Show LessHi,
I have a temperature sensor LM74. It has 3-wire spi. I want to communicate it with PSOC.
It would be very nice if you can guide me, how i can do this.
Looking forward to hearing from you.
Regards
maknight
Show LessHello,
I use a TCPWM to drive the Power Source of an LED. Period is 20Khz.
I only change the Compare (Duty) Value of the PWM to drive the LED power.
Every time I put a new Value in the Compare Register the LED flickers after write one time.
Illustration Sample:
if (power>100) { duty--; TCPWM_WriteCompare(duty); }
else { duty++; TCPWM_WriteCompare(duty); }
Seems to be a restart of the PWM each Time when write Compare Register. I need the change only when Period restarts not inside the Period.
I see there are an WriteCompareBuf but if I write there nothing happent in PWM Signal (swap + SetCompareSwap enabled)
Regards,
Michael
Show Less