PSoC™ 5, 3 & 1 Forum Discussions
I' ve been trying to write the code for a 8 by 7 keypad using polling method . The problem is that I have all the coloumns connected to 4.7K external pull up resistors. And I cant able to find out which drive mode to be set for both cols. & rows. I have tried every possible combination. Pls suggest which should be used and also pls verify my code. The project is attached below.
Show LessHi,
I'm working with the Alternate Active mode with PSoC3. In this mode, the CPU is in a halt state and it's supposed that you can enable/disable the peripherals you want to use. For this purpose, you've to use a specific registers called Standby Registers. All this registers are allocated in the cydevice.h document and they have the typology like "CYDEV_PM_STBY_CFGx".
The problem is that I haven't found the place where all this registers are explained and, therefore, i am not able to know which register controls which peripheral. There isn't in the TRM and other programming manuals that I know. Does someone know where are this registers explained?
Thanks. Regards.
Show LessHow can I use assembly code in PSoC5??
Where is the PSoC5 assembly document??
I can't find PSoC5 assembly document.....
There are many PSoC1, 3 assembly document in www.cypress.com,
but There are not PSoC5 assembly document in www.cypress.com
Could you tell me where PSoC5 assembly documents are??
Show LessHello all,
Does anyone have experience in using a PSoC 3 device with a 1.5V coin cell battery?
What are the considerations to use the SMP feature to boost the 1.5V to perhaps 3.3V?
I'm quite new to PSoC development and I'm interested in the low power features of PSoC 3 devices,
thanks,
Antonio.
Show LessDear all,
I am working with PSoC5 Family 55 (right now with KIT 050). For propagation of error calculation I need some values of the Delta-Sigma ADC.
Unfortunalty in the Datasheet the values are not given, or only given for 16 Bit (for instance.)
I am using the ADC with the following configuration: single ended, 17 Bit 11830 sps, internal reference 1.024V * 2 (internal bypassed), Buffergain 1, Levelshift.
For this configuration I need to know SINAD, RMS Noise and RMS Amplitude to calculate noiseless resolution and effective resolution.
Somebody can help me with that? Is there an extended datasheet of the Delta-Sigma ADC?
Thanks a lot in advance,
Thomas
Show LessIs it feasable to use a capsense button as a power on button?
I'm designing a PSoC application which would spend most of its
time in sleep mode, but would be woken from sleep by a button.
Obviously the capsense doesn't work in sleep mode, but is it possible to
wake it up, say, every 100ms and test the buttons? If the 'on' button
detects a finger, then the device would come into full wakefulness, and
stay awake.
Hugo
Show LessHi,
I want to use the ECC Flash space to save user data and dispose of 8KB extra Flash. To do this, I go to the System tab in Psoc Creator, and dissable the tick of Enable Error Correcting Code (ECC).
Therefore, It's supposed that now I have 64KB+8KB = 72KB of Flash, am I right?
Well, why when I program the device appears the typical message in green letters (showed below) and the Flash avaliable seems to be 64KB instead of 72KB? Thanks.
Flash used: 3679 of 65536 bytes (5.6 %).
SRAM used: 85 of 8192 bytes (1.0 %).
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 LessHello,
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 Less