PSoC™ 4 Forum Discussions
Hello!
Where could we find the most recent CySmart source code? Really wanting to find current reference code for the OTA.
I know there is code from 2016 here: CySmart – Mobile App | Cypress Semiconductor
But the projects seem to be dated? (using latest versions of Android Studio and XCode) Is there anything more current?
Thanks!
Show LessHi.
i am working on PWM to generate the continous signal but after few seconds PWM stops working.
If i made a CyBle_ProcessEvents(); as commented than PWM working fine but i want to use the CyBle_ProcessEvents(); and PWM also.
please help me to resolve the issue thanks in advance.
i attached my project please find thw attachment.
Show LessHi,
Application note AN85951 manual tuning sections recommend tuning for a baseline Cp reading of 85% of full range for single IDAC operation and 70% for dual IDAC. These values seem very high, what is the reason for these values? Why can't I tune for, say, 15% and then give myself much more headroom for the signal?
By ensuring that your reading is always above 85% of full range you are effectively reducing the resolution. I guess there must be a reason to do this?
Regards,
Andy
Show LessI'm working on creating a custom bootloader host program. I need to compute the checksums of the .cyacd file and to verify against the checksum calculated by the PSoC. I've seen some mixed descriptions and implementations in calculating this checksum and wonder if anyone could help.
To help guide the answers here is a list of what I'm confused about and what I understand.
1. The .cyacd is in ASCII and has to be parsed into hex values. I've done this in my code using help from btldrutils.
2. Format of the header in the .cyacd file is [4-byte silicon ID][1-byte Silicon Rev][1-byte checksum type]
Format of row in the .cyacd file is [1-byte array ID][2-byte row number][2-byte data length][64 data bytes][1 byte checksum]
3. The start of the program row is marked by a ':' and the end of the row is marked by '..'.
4. I'm using the basic summation (type 00 in header) from the data sheet this adds up every byte sent (besides the checksum) and takes the 2's complement of this value. Note- App note AN86526 attaches example code to run a bootloader host on a PSoC kit board and in the code the checksum for each row is calculated without taking the 2's complement.
My questions revolve around 4.
1. Is the header included in the checksum calculation?
2. Are the semi colons and periods part of this calculation?
3. Is the checksum calculated for each row or is it a running checksum for the entire file?
4. If its a running checksum do you take the 2's complement each row and then add it to the continuous checksum or do you take the 2's complement to verify that row and then add the number before you took the 2's complement to the continuous checksum?
5. Do you just add everything up and check the data after each row?
Any help or directions toward a file that would help me out would be great.
Show LessHi,
I am using CYC8CKIT-048 PSOC Analog Coprocessor Pioneer Kit and am experiencing issues while using both UART and DMA block in the same project.
I need to use the digital data sent from a PC and received via UART to determine which frequency sine wave should be generated (basically I need to make a FSK modulator).
I was trying to do that by connecting UART_tx to the switch input of a TCPWM by using one pin configured as digital output for UART and one as digital input for PWM and connecting them (by wire). I was planning to use the PWM as a clock divider (since this PSOC doesn't have a digital mux, or I can't seem to find it?) which counts to different values depending on the value of switch input.
Then i would connect PWM line output to DMA trigger input, and DMA would transfer data from a sine LUT table to VDAC's internal register and route VDAC to an output pin.
But when i try to build the project I get an error saying that the placer is unable to find a valid placement for pins and fixed-function blocks.
Is there a way to do this the way I imagined, or am I missing something?
Thanks
Here is a copy of placer.txt file:
Phase 4
E2809: Unable to find a valid placement for pins and fixed-function blocks. See the Digital Placement's Detailed placement messages section in the report file for details.
I2722: The following instances could not be placed:
\PWM_1:cy_m0s8_tcpwm_1\ (0 location(s))
ClockBlock (1 location(s): F(Clock,0))
\UART_1:SCB\ (3 location(s): F(SCB,0) F(SCB,1) F(SCB,2))
Fixed function block and pin placement:
P1[1]: Pin_2(0)
F(HALFUAB,0): \VDAC_1:UAB:halfuab\
F(p4prefcell,0): CyDesignWideVoltageReference
P4[1]: Pin_3(0)
F(CLK_GEN,0): ClockGenBlock
F(OA,2): \VDAC_1:OUTBUFFER:cy_psoc4_abuf\
P0[4]: Pin_1(0)
P1[2]: Pin_4(0)
E2055: An error occurred during placement of the design.
Show LessWhen i use the CY8CKIT-042 PSoC® 4 Pioneer Kit , it can download and debugger, but it can't connect to Launch Tuner, it shows tha read operatuon failed ! check I2C bus connection, the confiration is following below;
the project has been attched, please help me ?
Show LessHello together,
i am planning to design a simple proximity sensor. Due to required liquid tolerance i want to use a guard sensor to have the best possible set up.
But i cannot find any information about a guard sensor in PSOC4 descriptions. Only in the CY8CMBR3116 documentation the guard sensor is mentioned but without any design recommendations or layout hints. The CY3280-MBR3 Layout shows a Pin of the CY8CMBR3116 that is named with "guard", but no copper trace seems to be connected to the pin.
Is there no guard sensor required or possible for PSOC4? If it is possible, can someone give me a hint how the sensor should look like on the PCB?
Thanks a lot!
Show LessDear sir..
My project is to read RFID data from RFID tag. Frequency of the RFID is 125 KHZ. what I am supposed to do is to Capture the pulses at 125 KHZ on the single pin. PIN DEMODE I had configured as capture PIN as I will receive the data on that particular pin. I configured TIMER [V2.70] as capture and configurations setting for it is attached in this Page as TIMER Configuration file.
In that timer block Clock input is present. what clock signals should be present at that input? either internal Clock signal on which entire controller is working or it should be 125 Khz?
I want interrupt at every rising and falling edge then I need to calculate the time of the pulse high time and low time. So for that I require to get the capture count when interrupt occurred and also the timer count at the same time. Which register or which function provides the Capture count and the timer count ?
Show LessI am using a PSOC 4 BLE pioneer kit. I have one LED blinking controlled by CySmart (using an android), and whenever they are running they disconnect from the CySmart App itself after 30 seconds all the time. I searched up this problem and found out that I need to separate the Characteristic UUID from the Descriptor UUID. I tried this, but the error still came. Does anyone know how to fix this problem?
Show Less