PSoC™ 5, 3 & 1 Forum Discussions
I want to know how to implement this using an integrator (PI Controller) in Psoc. I know how to do it software like Simulink but unable to proceed for Psoc
Show LessHello, I want to make lissajous figures using Psoc 5lp .. Can anyone give me a lead? I know how to generate a sin wave..
Hi, I have a neopixel library that I'm using for my project. I used this project for a while and it doesn't seem to have any issues at first sight. Now I need to control a matrix of 128 neopixels and I got in to trouble.
The problem:
*I can't turn on all neopixels at the same time, If i set all the pixels in color white the controller turns on a few pixels and then it doesn't update anymore. After a while all the pixels change to an orange color.
*I know its not a power issue because I created a running light (one pixel at a time, every 500ms the next pixel). After setting 43 pixels the 43th pixel changes color (because the last bluebit isn't send anymore) and the neopixel strip stops updating (no leds blink after that).
What I did so far:
*I definied an array and on the screenshot you see the values at the moment the strip stops updating. My array then continues updating but the led strip doesn't. So I know almost for sure that the program is working correctly but not whats driving the ledstrip behind it. My guess is that something with the DMA goes wrong and I don't know whats going on behind it.
Any help appreciated!
Show LessIn developing a board utilizing a CY8C21xxx PSoC, attempts to select this as the target for the emulation on the CY8CKIT-001 board with the CY8CKIT-020 (aka CY8C28 Family Processor Module) has been unsuccessful. The programmer detects the 28 series chip installed on the development board and won't allow it to "look like", program or debug it as the 21 series chip selected.
I've seen this on 2 other projects and had to develop the code and emulate as a 28 family chip and then clone the project in designer into the target 21 family chip (to which it complains about vociferously) and modify it to fit, which is a pain.
I would have thought that I could develop and emulate most any PSoC1 family device on the CY8CKIT-001 PSoC Development Board with the CY8CKIT-020 (aka CY8C28 Family Processor Module), but it doesn't seem to be the case. Am I missing a detail here?
Show LessHello,
What is the absolute maximum rating of the USBIOs for PSoC5LP?
The datasheet only mentioned GPIOs and SIOs.
If the PSoC5LP is powered off while communicating via USB, there should be a short period of time where the D+ voltage exceeds the VDDD.
If the maximum rating of the USBIO is the same as the GPIO(VDDD+0.5V), would this behavior be acceptable?
Regards,
Shimamura
Show LessHello,
Im trying to make a demo program that uses the input of a MIDI Piano and then just turns on some leds based on which note is being pressed. I have found a few examples on this website but none have the full code or also show the topdesign. I have tried setting up interrupts like the other examples but I cannot even get the onboard led to light up when an event happens.
Here is my topdesign (I used the USBMIDI Component):
Pins: MIDI_IN1 = P0[1] MIDI_OUT1 = P12[7]
I am totally lost and dont know where to look anymore. I have tried setting an interrupt given by the following post: https://www.reddit.com/r/PSoC/comments/etxxii/psoc_5lp_and_midi_implementation/ But It doesnt turn on the led I specified. I get the feeling that the Midi device doesnt communicate propely with the PSOC 5LP097.
I have also tried setting an USB_callback midi event but it doesnt trigger either.
This is the code I am left with at this moment.
```
int main(void)
{
uint8 midiMsg[MIDI_MSG_SIZE];
CyGlobalIntEnable;
MIDI1_UART_Start();
USB_Start(DEVICE, USB_DWR_VDDD_OPERATION);
USB_MIDI_Init();
//MIDI_Interrupt_StartEx(MIDI1_RX_ISR);
for(;;)
{
CyDelay(1000u);
}
}
void USB_callbackLocalMidiEvent(uint8 cable, uint8 *midiMsg) CYREENTRANT{
cable = cable; // to avoid a warning message (var not used..)
LED_Write(1);
}```
If anyone can help me into the right direction, its much appreciated. Also if someone has an working example of a MIDI In that I could work with thats good too. Thanks in advance!
Hi,
I have some CY8C26443 chips that I found lying with me. I also have the PSoC(tm) Prongle(tm) Rev B Device Programmer (pic attached), but I dont have a parallel port on my laptop. So what are my options?
1. Should I throw away the 26443's? (I dont want to. I am a hobbyist and would like to use them in some design).
2. Can I still use the Prongle for programming the chips? If so, how with a parallel interface? Which cable to use to connect it to the Computer?
3. And which programming software should I use on the laptop side?
Thanks in advance,
Amit
Show LessHello,
I try to prepare a course for student with cy3210 PSOC1 kit.
I would like to do a integer schematic : so i try to configure SwitchCapConfig.
But my results aren't ok.
My signal is not center at 2,5V (AGND) and my amplitude isn't the good value (Value of Gain is different for a frequency signal)
Could you help me ?
Arnaud MARTIN
Hello,
I want to get program size from the flash with/without linker symbols or something else that compiler supported. When I build my project, I can see the code size which is written in the Output window. But I do not know how to use it at run time.
Show Less
I was able to compile and download the firmware to my CY8CKIT-059 board, I was able to connect to the USBUART COM interface and I was able to send commands via HTerm to the board, I got an echo as response. I got no kind of “USB timeout”
But getting With Python script
Show Less