PSoC™ 5, 3 & 1 Forum Discussions
I could not find documentation on how ECC is handled.
I understand that one error is corrected by itself.
What happens when there is more than one error?
the datasheet says "an interrupt can be generated when an error is detected"
Does the device just stop working?
Does it go to a default interrupt and stay in a while(1) loop?
Would it cause the WDT to be triggered and then the error will be detected again?
I would appreciate it if anyone has more information
Thanks
Show Less
Hi,
I am using PSoC5 LP, and I need PWM to reconstruct an analogue signal from some data.
My question is, how can I increase PWM's frequency and at the same time having a 16-bit resolution ?
I have set BUS_CLOCK to 43MHz as indicated in the datasheet, for the maximum of clock frequency of 16-bit PWM.
As what I have understood, my PWM frequency is now 1/1.524ms = 656Hz ? which according to internet, is not sufficient, I would need it to be at least 20kHz.
I don't actually understand how does PWM function, but as what I have read from the internet, I should set PWM's frequency to the highest frequency possible and at the output of PWM I should have a low-pass filter at 10Hz to get the average value of my duty cycle.
I need a resolution of 16 bits because the value of the signal that I want to reconstruct varies from 0 to 65535.
Anyone has any idea of what I should do ? or is it just not realistic ?
Show LessModus Toolbox 2.3 is looking mature enough to make the leap, except it still does not seem to support the PSoC 5 LP. Have I missed something? Any plans to build BSP for the CY8CKIT-059?
Show LessCY8CKIT-062-BLE PSoC 6 BLE Pioneer Kit is not recognized as an USB Device. It is not possible to establish a connection between PC and the BLE Pioneer Kit for flashing the binary. It is also not possible to restore the on-board PSoC 5LP CY8C5868LTI-LP039 programmer firmware KitProg2.
Show LessHi team,
I had couple of questions which I need help with urgently -
1. Does PSoC creator 4.4 and its corresponding compiler support PSoC4 and PSoC5 processors? We use the following PSoCs for development –
CY8C4014LQI-422
CY8C5888LTI-LP097
CY8C5667LTI-LP041
2. We use CyBootloaderUtils to upgrade PSoC firmware for each PSoC. If we upgrade PSoC Creator from 3.3 to version 4.4, should we also upgrade the corresponding CyBootloaderUtils library or can we continue to use the CyBootloaderUtils library from v3.3?
Thanks,
Ankita
Show LessHello everybody,
in my project I must optimaze a file as SPEED.
How to exclude a single instruction from being optimazed?
There some instruction that said to compiler to do not optimize the instruction?
I think in my case, the compiler makes optimization of CY_NOP instructions that I used as small delay and my routine do not works correctly. Is there something label to write before the CY_NOP to say to compiler that have not to optimize the instruction?
Something like the "volatile" for the variables..
Thank you
Show LessHello,
I am using an IDAC on the PSoC 5LP KitProg (LP-097). I have connected the output of the IDAC (Iout) and measured the voltage and found it to be 5V. I wanted to know if there is any way to change the source voltage of this IDAC component alone to 2.5V such that it outputs 2.5V? I tried to change all domain voltages to 2.5V (VDDA, VDDD, VDDIOs) but this will hamper the rest of my application. Is there any way I can modify the source of the voltage to the IDAC to 2.5V while leaving the current supply unhampered?
Thanks.
Show LessHey,
I found this document from cypress on the implementation of DALI:
http://www.cypress.com/file/106181
But I cannot find any DALI library files online or in the examples.
Are there libraries available for the implementation of DALI? I am making a DALI slave device ( Control Gear)
Thank you,
Niek
Hai,
I would need some help on transferring data by SPI Master with DMA.
Sending data works very well, all the data in txBuffer is sent.
However, I do not receive the data that I am expecting from the slave.
I am expecting a lot of 0x8000 and some measures in the table rxBuffer :
However, I received a lot of 0x0000 and some measures that do not really make sense to me in the table rxBuffer when I read the table in debug mode :
Here is the configuration of my SPI and DMA :
Hardware request is "Level" because rx interrupt is always at high level.
Attached below is my project, does anyone have an idea what can cause this ?
Show LessBelow source code is that sends decimal 65 to the terminal with USBUART by USBUART_1_PutData or USBUART_1_PutString function.
In my understanding, 6 and 4 are encoded as ascii 54 and 52 respectively and sent to the termnal,
and then the terminal decodes the values of 6 and 4 with this ascii code and finally displays 64 on the terminal
Can I send decimal 65 to the terminal as number 65 without encoding with ascii?
At this time, I suppose that 'A'(ASCII code:65) may be displayed on the terminal.
Arduino has Serial.print and Serial.Write funciton.
If you write Serail.print(65), 65 is displayed on the terminal and Serial.write(65) show charater 'A'.
Is there a function in PSoC 5LP can write binary data to serial port like Serial.write() of Arduino?
I would appreciate if you let me know if there is any possible way.
-------------------------------------------------------------------------------
uint8_t wrBuffer[USBUART_BUFFER_SIZE];
uint16_t rtnCmd = 65;
sprintf((char *)wrBuffer,"%d",rtnCmd);
USBUART_1_PutData((uint8 *)wrBuffer, strlen(char *) wrBuffer));
Show Less