PSoC™ 5, 3 & 1 Forum Discussions
Hello,
I have a simple 500kHz clock connected to a DMA component. This is triggering a peripheral-to-memory transfer (from a status register, if that matters) with a request size of 1 and transfer count of 64, and every TD has DMA__TD_TERMOUT_EN set because I want to be told each time one completes.
The clock is triggering drq every 2us, so I'd expect to see a nrq every 2*64 = 128us. But I'm not. I'm getting one every 8us, with obviously hilarious results.
Does anyone know what might be causing this?
My project is here: fluxengine/FluxEngine.cydsn at master · davidgiven/fluxengine · GitHub
However, the function which is doing DMA setup is here: fluxengine/main.c at 4e19882d76d90823bed487e7903d0bc87162aa97 · davidgiven/fluxengine · GitHub
Show LessI built myself a simple measuring system for the continuous measurement of a period:
At test point 3 I see a edge that should not be there. What can I do?
Show Less
Using designer 5.4 compile fails
Device CY8C24423A-24PVXI
4kB
compiles code to over 16 k previous version of Designer builds to <1k
Device resource meter reports ROM Total 4096 used 572
Starting MAKE...
creating project.mk
lib/adcinc12.asm
lib/adcinc12int.asm
lib/amux4.asm
lib/framer.asm
lib/framerint.asm
lib/input.asm
lib/inputint.asm
lib/pga.asm
lib/psocconfig.asm
lib/psocconfigtbl.asm
lib/psocgpioint.asm
./boot.asm
Linking..
addr 0x3fc0 rtcnt 3 MAX 0x1800
!X The compiler has failed an internal consistency check. This may be due
to incorrect input or an internal error. Please report the information
addr+(rtcnt-2) <= image->size at ..\lksubs.c(175) to "support@imagecraft.com"
make: *** [output/rob5_24.rom] Error 1
rob5_24 - 1 error(s) 0 warning(s) 16:06:33
Imagecraft support suggests:
your program which used to compile, has now ballooned to 16K - which is unlikely, so perhaps there's an option you need to change, or may be you are using a bootloader or some other asm files that try to put certain code, or program signature or table etc. into high memory accidentally. Another example is perhaps you accidentally enable large memory support somehow. Your best bet is to contact Cypress support and give them the history of your project (e.g. which version of PSoC Designer you were using etc.). They might eventually need my help but they could ascertain whether the issue is some kind of config errors in PSoC Designer, or other Designer or UM related problems.
This program compiled with no issues using a previous version of Designer possibly using HiTech compiler
I am new to Designer and need help finding a solution
Show LessBelow ref code as psoc 101 video series
#include "project.h"
int main(void)
{
uint8 compare =0 ;
uint8 i2cbuf[1];
i2cbuf[0] = 0 ;
CyGlobalIntEnable; /* Enable global interrupts. */
PWM_1_Start();
EZI2C_1_Start();
EZI2C_1_SetBuffer1(1,1,i2cbuf);
for(;;)
{
if ( compare != i2cbuf[0])
{
compare = i2cbuf[0];
PWM_1_WriteCompare(compare);
}
}
}
/* [] END OF FILE */
Show LessHello to all.
I need the Pod (CY3250-21X34QFN) to debug a PSoC1 CY8C21434-24LTXI. I just have a Lite Development kit (ICE).
I can not find it anywhere. could you tell me where to find it?
thanks
Show LessHi,
We are using CY3280_MBR EVM to determining the frost formation between evaporator coil. The evaporator coil (acting as one electrode) that we have connected to CY3280_MBR GND pin J2 (pin 12). And 2nd electrode is copper plate of area 255 Sqcm which is connected to CS7 (J2 pin 6) by small wire length approx 1.5 inch the evaporator coil and copper electrode are separated by 5mm distance. CY3280 board is interface via I2C to Microcontroller which display raw ADC count .
When we are testing this board with 2nd electrode (copper plate connected to CS7) the touch application works fine i.e. when we are touching the copper plate or touching ground pin (pin 12 to CS7(copper plate) the raw count goes up to max value of 65030 and button press is detected.
But when same fixture we are fitting inside the refrigerator and connecting GND pin to evaporator coil the CAPsense is not working even if we touch the 2nd copper plate . It is just showing the raw base count around 35000, and no button press detected. For better understanding connection diagram is attached.
Please let us know the cause for the problem. If you have any other suggestion on the same kindly let us know.
Regards,
RS
Show LessHi Team,
How to factory reset CY8CMBR3116 IC ?
Hello,
I'm building a USB data acquisition process around a CY8CKIT-059 which is producing about 500kB/s of data (via DMA) for about 200ms --- which is 100kB, which is too much to store in RAM. So, obviously I need to stream this via USB.
Reading the forums, this does appear to be possible, just --- it looks like the device maxes at at about 550kB/s. But it looks like its really tricky.
Because it's tricky, does anyone happen to have an example project which does this already, with all the inevitable mistakes made and fixed? It would save me loads of time and let me focus on the interesting part of the problem (the data acquisition bit).
As a future extension, I will need to be able to transfer data from the PC to the device so as to reproduce the same data stream, so if anyone knows how to do that too that'd be great, but mainly right now I need to be able to do the device->PC bit.
Thanks!
Show LessHello, I'm a newbie learning I2C with the PSoC5 Dev Kit. I found some example code and have tried to implement an I2C Master. The Master sends out 3 bytes. I have tried to use the BridgeControl Panel to read the data but am have some troubles. Here is a screen shot of the BridgeControl:
I should be seeing +'s in the response window which means that the Master didn't send the data. I will upload my project for anyone to look over and see what I may be doing wrong.
Thank you,
Joe
Show Lesssir,
I am trying to do skin detection project using capsense. (controller-- cy8c20236a)
if capsense on the skin after power on time, it working properly . no issue is there.
But if capsense switch on the skin when power on time, i cant get any base line updation from controller.
but i need to sense skin in this particular situation. how can i overcome this problem . any one explain me? ..
i saw this problem for all applicable overlay.
Show Less