PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
I wanted to measure the time taken for 32 bit addition and multiplication.....I chose the method of Pin toggling in for loop......
Something interesting happened ...
When I measured the time interval between the setting of pin and resetting the pin and multiply with the BUS clock the no. of cycles taken was coming up only to be 3. I was baffled irrespective of adition or multiplication the no. of CPU cycles was 3.
Then I went to main.lst file and looked at what was the issue. The assembly instructions after the operation in c code was somewhere missing, and seemed like the pin was reset before even the operation was done.
The compiler is crazy!!!!! Isnt it.........The reason why it happened was the optimisation level was set to speed and compiler did all it can.....
So while measuring with toggling of pins please keep the compiler optimisation for "none".
And one more interesting thing while trying to calculate the time taken for multiplication, please do not run the same operands in the for loop....compiler is intelligent...Try incrementing the operands before doing this..
SMART COMPILER
Show LessWhat is the best method to measure time for an operation......I tried using a pin and toggling it within a for loop continuosly......But even time is taken for setting the pin and resetting it.....Any other ideas......
Show LessI got a doubt in DMA configuration, when the Burst Count is set to 1 and request per burst set to 0 what will the DMA do......
I think DMA works as per the TD configuration, if 2 TDs are present one transferring 4 and other also 4 then DMA will transfer all 8 bytes per 1 request....But the request per burst is set 0!!!!......Is DMA wrong ...or is the configuration invalid
Show Lesshi to all,
this is the first time i am using creater 2.0 after biulding of sam[ple program given in Getting started with Psoc , I am Encountered with the problem,. the image i am attaching below.
Show LessHi Friends,
After the news of CDC components, most of you guys might have kick started work on creating components......
But here are some of the useful info you will need in creating a good component and taking rewards.......
PSoC® Creator™ Component Author Guide - Cypress Semiconductor
http://www.cypress.com/?rID=40410 PSoC Sensei-Brad Budlong's blog
and http://www.cypress.com/?rID=60521 link to know about Data paths videos from Todd Dust
Show LessHello ALL
When I was trying to use the CRC with the Shift register, i wanted just 8 clock pulses so that the data is fed serially from the Shift register to CRC block.....But the question is how to get only 8 clocks.......Thought of using PWM with counter but not good idea .....lot of components used.......Do you have one.....
Show LessHello All
In the example project provided by the Cypress for emfile component, seems like the data type that has to be written in the SD card should be string. If I try to write any other data type there is some crap written to SD card.....Can anyone suggest me how I can write different data type.......
The reason why I asl this question is because I get nearly 100 bytes of data per second and need to transfer to SD card......but each byte write is very slow.....as per data sheet i am buffering the data and trying to write.........But as every data byte should be converted to string there is lot of SRAM that is being used.....So can you suggest me something good.....
Show LessHello all
I tried doing new schematic component.....After creating the component I cannot use it......It doesnt appear besides the cypress component......I followed Brad instructions but somehow i am missing to specify the path I guess.......Can you help me out....
By the way I created the component in Desktop\newcomp folder...The creator project is within this folder
Show Lesshi to all,
today i started my work on PSOC3....while iam trying to build my program, iam getting message that "Build succeeded"....but when iam trying to program it....iam getting a dialogue box as i attached an image here....i connected the CY8cKIT-003 properly to my PC...but stil iam getting this message and interupting to move into further design....so please help me how to progam my code into First touch kit.
Show Less