PSoC™ 5, 3 & 1 Forum Discussions
I am working on a small project that causes holiday lights to flash in time to user specifiable frequency bands of music. I have a working prototype that uses an ADC, a Filter Bank, a DAC, and comparators. But there is a problem.
I can manually program the filter bank for any kind of response. I want the ability to configure it with a UART to allow user programmable frequency response and filter type. I do not think this is possible with the PSOC filter bank as there is no register for bandwidth, etc. It does not look like there is a register for the coefficients either.
Another option is to use the CPU to run an IIR algorithm and an external application that computes the coefficients. The main drawback to this is the filter needs CPU time. I can make this work but I would prefer to do it with the filter bank.
Any other options aside from using external IC chips?
Show LessHi,
I am using the CY8CKIT-059 prototyping kit with the KitProg onboard programmer and debugger.
For testing and development purposes it is important to have an insulation between programmer and target.
To break the two boards apart is easy but to find a suitable digital isolator is tricky.
The SWD clock is running at 4.5 MHz and that is too fast for the most isolators.
Is there a possibility to reduce the programming/debug clock speed of the KitProg?
Show LessHi,
I'm trying to create a CRC16 (poly 0x1021, initial value 0x0000), and ideally I would like the UDB's to do the serial input XOR (i.e. not using the EXTCRC function).
I'm simulating to confirm the device using the cy_psoc3_dp.v model in the warp sim library and despite having looked at how I should configure and connect the UDB's, I can't get any sensible operation from the simulation.
So firstly I observe that the CRC_v2_40 module in the library uses EXTCRC calculations for the feedback, and I can't find an example that uses the internal feedback, which makes me concerned that there might be an issue with the internal feedback.
Also when I look at the simulation model, cfbo from the least significant byte comes from sir ^ msbo, but I need to feed in the external serial in, into route_si. PSoCCreator will not allow me to feed it into sir (it only expects chaining signals).
I would have expected that in the cfbo equation that sir would be replaced by an s_r_source.
Show LessIs there a motor control application note that works with my cy8ckit-059 PSOC 5LP ?
I am using ISSP programming on a cy8c27143 with an atmel 2560. I am having trouble getting the verifying ID chip to work. I am using serial an I receive a 0x00 and 0x08. I should be receiving a 0x00 and 0x09. Am I anywhere close to getting it right and I'm just making a simple mistake? should I stop with just using serial and implement a bit bang to achieve a proper High Z state? Was there a change in cypress IDs in the past? Could I just skip the verification ID and go on to the next steps in ISSP programming? Any information wold be helpful
Show LessSome time, when i change components in 'topdesign' and click 'build design'
All of my code is erased under "/* Place your Interrupt code here. */" in psoc code
how can i maintain my code under "/* Place your Interrupt code here. */" in psoc code after changing component?
Show LessHi,
I'm using EmFile on SPI as SD card interface. Basically this works fine but the write speed is too slow for our application. Measuring the actual throughput during a write operation (suing the FS_FWrite() function) I get approx.1kB per second, where my application needs at least 5 kB/s. How can I speed up things? My bus & master clock are already set to the maximum, so I will need another trick. Any advice? (Currently I'm using EmFile V1.20. Is there a better version of this lib or are alternative file system libs avalibale?)
Thanks for your reply,
Kris
Show LessHello. I am coding a project send a file from commper to micro sdcard use emfile compoment of Psoc5lp. I set up speed SPI of Emfile is 12MHZ. Then, I wirte 1M data buffer to sdcard , it takes 2.5 minutes to complete.It is very slow, This is my code:
#define ONEMBYTE 1048576 // 1M BYTE
#define PHANNGUYEN ONEMBYTE/62 // wirte 62byte for a time
#define PHANDU (ONEMBYTE - (PHANNGUYEN*62))
pFile = FS_FOpen("hehe.txt","w+");
if(pFile!=0){
for(ii = 0; ii < PHANNGUYEN; ii++)
{
FS_Write(pFile, buff, 62);
}
FS_Write(pFile,buff, PHANDU);
}
Nobody help me, set up speed high wirte data to sdcard use Emfile?Thank so much!
Show LessIn AN86233_PSoC_4_Low-Power_Modes_and_Power_Reduction_Techniques(2)_0.pdf I saw recommendation to reduce power by change debug pins to GPIO mode. See attached pic. After I done it I can`t acces to my device !
Programmer can`t acquire SWD
What to do ?
Show Less