PSoC™ 5, 3 & 1 Forum Discussions
Hello,
My project consists in programming the PSoC as a signal adquisitor using the different types of ADCs in order to see the differences between them.
Now I am trying to use the SAR6 ADC but I don't fully understand how it works when it get the samples.
When I read the datasheet and the API functions I understand that the sample is taken when I call the SAR6_cGetSample(), and it takes some microseconds to convert the sample. Then, how does the Analog Column Clock influence in the Sample Rate? It seems that the Sample Rate would be related to the code where I have the SAR6_cGetSample() function instead of the Analog Column Clock.
Another doubt is why some tables of the datasheet say that the Conversion Time is 20 microseconds with the condition of a CPU of 12 MHz and fclock of 250 kHz, if then the datasheet says that this time is six times the period of the sample clock. Is it a variable parameter or not?
And finally, understanding that fclock mentioned in the tables of the datasheet is the same as sample clock (phi1 and phi2), why is it limited to 333 kHz if it depends on the Analog Column Clock? It would be some MHz, couldn't it?
What I am misunderstanding?
Thank you,
Show LessHi,i am new with the psoc 1. I want to use Timer8.But there is no enough example on Datasheet.
For my project,when every data block gets by UART,the LED should be ON for 1 ms.How can i do this?I searched the forums and I used the examples.But i couldn't use Timer8 module..
Show LessUsing sprintf, i could display the integer (int16) on the LCD (PSoC creator, PSoC3). But i am finding problem in displaying long int and int32. Pl suggest me.
Show LessHi everyone,
I need to transfer a struct variable composed of two fields (uint8,uint16) towards an SPI interface.
I tried to use a DMA channel and only one TD, configured to transfer 1 byte per burst with increment of the source address.
With this configuration, if I set the struct variable as: (0x0F,0xFFFF) I see on the oscilloscope: 0x0F,0X00FF.
Even using 3 byte per burst the result is the same.
Is it needed to use a dedicate TD for each field of the Struct variable or I need to configure the DMA channel and the TD in a different way ?
Thanks in advance
Show Lesswhen writing a 7 segment number to my LCD I get an unexpected result when using leading zero mode.
The code:
LCD_SegStat_1_Write7SegNumber_0(753,0,0);
produces the expected output " 753" on my LCD, howver, the code:
LCD_SegStat_1_Write7SegNumber_0(753,0,1);
results in '0750'
On further examination, if the command is continually re-executed, the last digit flickers between 0 and 3 looking like an 8.
Can someone confirm this is a bug?
Show LessDon't have the room for the 100pin, having to default to 68pin QFN, as in CY8C3866LTI-030.
doesn't work, nor does scrolling thru them finds a 68pin.
Hope that isn't a hint....
You do have it in fig 13-3 though in the PSoC3 data sheet.
Know its minor, but we have to reference everything here.....
Show LessHello,
I am thinking to buy the FirstTouch Starter Kit, but when i checked the webpage on this site, many people gave it a bad score. So i checked the errata document to find out why (hard to find). The errata document points to ES3/rev A where all problems should be solved. I checked all documents, but i can't find ES3/rev A.
So my question is, if i buy the Starter Kit from Digikey, how do i know that i buy the PSoC with ES3/rev A?
Thanks in advance.
Btw, why not reset the score if ES3/rev A is already is on the market, because everything has problems at the launch.
Peter.
Show LessHello,
I am programming the PSoC with different ADCs on various configurations (using Dynamic Reconfiguration). Also, I have the base configuration with an UART, a DAC and a COUNTER modules, because I want to use them in all the configurations. The modules aren't in conflict between them and the project was working until I have added the DAC and the COUNTER. My idea is to use them to generate some signals. I have used the Example_DAC_ADC of the PSoC support in order to add this two modules, I also have added the SinTable.asm file needed to generate the signal. The problem is that when I compile/build the project I have the following error:
I compared the different files that compose the project and I don't know how to solve it. Anybody have some idea about this error?
Thanks,
!E counter8_1int.asm(2655): {linker} INDEX instruction to area/symbol 'SINtable' out of range
Show LessHi Everyone,
How do we go about using the new filter component? I would like to try the new filter component as follows:
1) 12 bit data input
2) Basic Hamming window FIR lowpass filter
12 bit sample data conceptual code:
//Global variables
int16 data[128] = {...};//Some array of input values that I will import from another program
int16 output[256];//Empty array that will hold the filter's output (big enough to account for size increase due to convolution)
uint16 i;//Counter for main loop
void main()
{
Filter_Start();
for(i = 0; i < 128; i++)
{
Filter_Write16(data);
CyDelay(1);//Be sure that filter has finished its operation
output = Filter_Read16();
}
//Print the data to the test terminal upon completion
}
Is this the right way to go about using the filter? How do I choose the Readxx() function? Does the Read24() function give me the highest precision? Or will the Read16() be sufficent and scale properly?
Thanks!
Show Less