PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
All,
I could not figure out where to post this so moderators please accept my apologies and move this accordingly.
AS part of my final evaluations, I wanted to put together a simple program that can measure low voltage AC sinewave of no higher than 2vp/p and a frequency of 50khz. This is for an LVDT in the end.
Now I started going through the notes and such but found that using Google is a far more efficient way to search this site. I found two articles but not much to go with. I looked in the Example projects but did not see anything there either.
IS there a way to get a catalog of the app notes Cypress has available on the site? It would help because navigating the site is painfull because the site is so slow responding....Whats up with that BTW?
So three questions:
1) Is there an app note table of contents?
2) Any suggestions on how to measure the signal I described above
3) WHY is the site so slow in response?
Regards,
Jim
Show LessI need a way to measure 16 Hobby Servo Signals (1 to 2 ms pulse length and roughly 20ms repetition rate) with low resolution (10us resolution is more than enought). The signals are from different sources (asynchronous) and can have a different repetition rate.
What is the most efficient way to measure them with a PSoC5LP without excessive Interrupt use?
Show LessHello,
I would like accomplish next operation in DFB block:
When signal In1 present take value of stage A register and execute in MAC operation A*A . Computed value then put to holding register A.
I tryied to use simulator integrated in component but value of MacOut in output box is still zero.
Could you give me some advise please?
My code is below:
initial:
acu(hold,hold) dmux(srm,srm) alu(hold) mac(clra)
acu(hold,hold) dmux(srm,srm) alu(hold) mac(hold) jmp(eob, waitfordata)
waitfordata:
acu(hold,hold) addr(1) dmux(ba,ba) alu(hold) mac(macc) jmpl(in1,write_bus)
write_bus:
acu(hold,hold) dmux(srm,srm) alu(seta) mac(hold)
acu(hold,hold)addr(1) dmux(srm,srm) alu(setsem,001) mac(hold)write(abus)
acu(clear,clear) dmux(srm,srm) alu(hold) mac(hold)jmpl(eob,waitfordata)
Show Less
Trying to output a 'message' string with the uart, but I only get the first six bytes and then it goes silent. I thought is may have been the TX buffer, so I increased it to 32 bytes, but that did not fix it.
Here is the UART setup:
clock - 3Mhz
Baud - 187.5k
parity - odd
tx buffer- 32bytes
rx buffer - 4 bytes
Full duplex
no interrupts
Here is the source code, it's not much:
#include <project.h>
#define Port3_1
#define Port3_2
char message[18]={"This is jgmDESIGNS"};
int main()
{
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
WaveDAC8_1_Start();
LCD_Char_1_Start();
LCD_Char_1_DisplayOn();
LCD_Char_1_PrintString("Hello World");
LCD_Char_1_Position(1,5);
LCD_Char_1_PrintString("Daniel!!");
UART_1_Start(); /* Enabling the UART */
UART_1_PutString(message);
/* CyGlobalIntEnable; */ /* Uncomment this line to enable global interrupts. */
for(;;)
{
/* Set OutputPin state to the
inverse of the InputPin state */
Port3_2_Write( Port3_1_Read() );
}
}
Also,
Is there a radio button to put source code in to keep indentation and formatting?
Thanks
Jim
Show LessHi,
I want to use the EMIF. Since the EMIF is not part of the GCC default linker file, a custom linker file has to be created.
This document www.cypress.com/ describes the basics of linker file modification on page 28. Additionally, I found a example project here www.cypress.com/ in the last posting.
Now, my question is about initializing the variables located in external memory. According to the PDF document global and/or static initialized and zero initialized variables must reside in the .data/.bss sections, otherwise they're not initialized, even if they're explicitely initialized. To ensure variables are initialized, the AT keyword has to be used (see page 24).
Viewing the example project mentioned above shows that the linker file also has a SECTIONS entry for the EMIF with the AT keyword. The question is why it uses the AT if initialization is ignored? Or does it mean that only local variables can be initialized?
Regards,
Ralf
Show LessHi
An example project for PSoC5LP EMIF interfacing to Cypress Fast SRAM CY7C1019DV33-10ZSXI is attached.
This can be used as reference project to interface with any SRAM.
Show LessI am trying to use the SPI Master block in bidirectional mode (only one sdat pin instead of MOSI and MISO). I can't seem to get a read signal. Is there anything specific I need to do in the programming or in the TopDesign differently from the MOSI/MISO mode? How should I be using TxEnable/TxDisable methods?
Show LessHello,
Very new to these forums. I am evaluatinG gthe PSoC3 on the CY8CKIT-030 platform and I was wondering what the maximum frequency I can get out of the WaveDac8?
Out of the box the best I can do is 2.5khz, but I see an external clock. I have also done some work with other PSoC's and know there are some internal clock settings so I am hoping there is something else I can do. I am looking to get 50khz@1.5vp/p
Is this attainable?
Thank You
Jim
Show LessHi
I want to read the analog values of accelerometer and want to print in the monitor, whether it is possible in PSOC5LP through PSOC creator.
Show Less