PSoC™ 5, 3 & 1 Forum Discussions
Dear Sirs and Madams,
Is there a soft error report(SER) about PSoC's internal memory?
I confirm for Cypress website but couldn't find it.
Is there a PSoC SER in the first place?
Regards,
Show LessHello Cypress Team,
I am facing issues during burning the code in CY8C29466 with the help of CY8CKIT-002. Yesterday I burned code that time it was ok and working correctly. today I am going to burn same code with same kit its show me error like..
Program Finished at 15:37:25 |
Can not Acquire Device! Please verify the device connection to the Programmer |
Program Requested at 15:37:20 |
MiniProg3 version 2.05 [3.11/2.10] |
Connected at 15:37:16 |
I checked my connections as well as voltage of VRTAG and GND its also correct as I gave it, still its showing above error..
Anyone can suggest something, how I can overcome this issue.
Show Lesswhen I select the 5V as power, the SCLK and SDAT should be 3.3V, but in my case its showing less than 1V.
I think its issue with hardware...I think this component L2- damaged because of that I am not getting proper voltage to SCLK and SDAT pins
can anybody tell me what is this L2- ?
I can replace it and may be my hardware will work.
Show LessHi,
I am using the Term_v2_2 component, USB_UART mode.
1. I am trying to configure that I will receive a prompt message '#' when I turn the unit ON, I tried to use '\n' and '\r' but for some reason its not working.
2. I want the user to type the command and finish it with the "ENTER" key [currently it is defined as 10 digits].
Please your support, this is my current code:
int main()
{
char rdBuffer[RD_BUFFER_LEN];
char newString[10][10];
//char prompt[4]="\r# ";
/* Enable Global interrupts - used for USB communication */
CyGlobalIntEnable;
SPIM_Start();
LCD_Char_Start();
ADC_SAR_0_Start();
DVDAC_1_Start();
DVDAC_2_Start();
Opamp_1_Start();
Opamp_2_Start();
/* When implementing a <=5 channel mux, the Analog sequencing Mux is faster
* on an average than the Analog Hardware mux. However, additional code is
* required to select channels non-sequentially.
*/
AMux_0_Start();
Term_Start();
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
CySysTickStart();
CySysTickSetCallback(0,&isr_systick_0);
/* Start of forever loop */
for(;;)
{
char rdValue;
int r=0;
int t=10;
int i=0;
int j=0;
int ctr=0;
uint8 y=0;
for(r=0; r<65;r++)
{
rdBuffer
}
//while(Term_GetChar()!=' ');
//Term_PutString(prompt);
while(t>0)
{
if((rdValue=Term_GetChar())!='\0')
{
//PIN_LED_BLUE_Write(1);
//CyDelay(100);
rdBuffer=rdValue;
i++;
t--;
Term_PutChar(rdValue);
Term_PutString("");
rdValue='\0';
//PIN_LED_BLUE_Write(0);
//CyDelay(100);
}
}
//while(Term_GetChar()!='\r');
/* Split the command by space into words */
for(y=0;y<=(strlen(rdBuffer));y++)
{
// if space or NULL found, assign NULL into newString[ctr]
if(rdBuffer
{
newString[ctr]
ctr++; //for next word
j=0; //for next word, init index to 0
}
else
{
newString[ctr]
j++;
}
}
/* The splited command will be directed to the relevant path.
If read, the function prints the relevant port's hex value.
If write, the function activate the port in accordance to the command and returns '#' */
Command(newString[0], newString[1], newString[2], newString[3]);
} /* End forever loop */
Show LessHello
I have some questions about interrupts in psoc5LP.
[Question 1]
In the interrupt disabled section starting with CyEnterCriticalSection
Which behavior does the CYPRESS PSoC5LP microcontroller do, 1 or 2?
1. Interrupts generated in the interrupt disabled section are pending. Issued at the same time as interrupt disable release.
2. No interrupt occurs in the interrupt disabled section. For interrupt generation conditions Even if applicable, it will be ignored (masked).
[Question 2]
2-1. If the answer to Question 1 is 1, is there a limit to the number of pending interrupts when multiple interrupts occur while interrupts are disabled?
2-2. Related to Question A. If multiple interrupts with different priorities occur, how is the restart from pending performed?
[Question 3]
In the case of multiple interrupts in the CYPRESS PSoC5 microcomputer, which operation is a or b?
3-1. When a low-priority interrupt ①occurs first, and a higher-priority interrupt ②occurs during ISR execution.
a) The ISR of interrupt ① is canceled, jumps to the ISR of interrupt ②, and after the ISR of interrupt ② ends, returns to the ISR of interrupt ①.
b) Jump to the ISR of interrupt ② after the ISR of interrupt ① ends.
3-2. When a high-priority interrupt ③ occurs first and a low-priority interrupt ②occurs during ISR execution.
a) Jump to the ISR of interrupt ② after the ISR of interrupt ① ends.
b) Interrupt ② is discarded.
Best Regards
Hayato
Show LessHi all,
I am considering using FreeRTOS for my project. I will need this program to be hard real time.
My problem is, I do not know where to start. How do I port the FreeRTOS API onto PSoC Creator?
Show LessHi, I am trying to build a system to create two sine waves with arbitrary phase shifts controlled by software. I am using the DDS24 component created by BoTa_264741 as a clock source to request DMA to send sine wave table data to the VDAC. However using the phase shifted square wave signal created by the DDS24 component to request the DMA to transfer data to the VDAC does not result in any phase shift in the output of the VDAC, i am confused as why there is not any phase shift in the output, even though the clock source to the DMA has a phase shift. Any guidance on what might be wrong , or if i am missing anything is greatly appreciated. I have attached a pic of the DDS24 output, VDAC output and the schematic.
Show Less
Hi.
I'm trying to use this code for implement SD-card on PSoC 5LP
GitHub - honet/PSOC5DMASDSPI: SPI mode SD-Card interface for PSoC5LP with DMA. (fatfs porting)
I'm in trouble this code stop at 128
I know the disk_initialize() return driver status
http://elm-chan.org/fsw/ff/doc/dinit.html
if you know why I have a error of 3 in initialize please tell me
I'll get back to you if I have any problem
Thank you!
Show LessI'm working with PSOC 3 device through SWD interface using third side hardware.
So I have access to PSOC registers and can use WRITE_REGISTER(<ADDR>,<DATA>) and READ_REGISTER (<ADDR>) commands.
The task is to define I2C pins pair different from default.
How can I do it?
Show Less