PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hello all,
Currently i am developing software for USB-HID Touchpad.
I am using IC CY8C4246AZI-L445. I am trying to fetch XY Co-ordinates from touchpad without using Gesture feature.
All over data i am sending to pc using USB_HID is done.
Please Help me out to get XY proper co ordinates from touchpad without gesture.
Thanks,
Pragati
Show LessHello to everyone,
I'm new to PSoC processors. I have the CY8CKIT-041-40XX development kit. I want to run SPI communication. I want to perform this communication in PSoC4 with the LoRa module that I have previously implemented in the STM32 SPL library. But I'm having problems with interrupts. I failed to use the SPI TX empty and RX not empty flags. Without them, I cannot perform SPI_Tx and SPI_Rx operations. If I enable interrupts in the block diagram, I get stuck in the SPI_1_Start() function in the code part, and the code does not progress. If I don't enable interrupts, the code will progress, but I cannot read data in SPI. My code may also be faulty as I am very new to PSoC. I would be very grateful if you could help me with this.
Show Less
Herkese merhaba,
PSoC'de yeniyim ve öğrenmeye çalışıyorum. PSoC4 CY8CKIT-041 kitine sahibim. SPI ile iletişim kurarak LoRa modülünü çalıştırmakta zorlanıyorum. LoRa modülü iyi bildiğim ve STM32, Renesas gibi işlemciler üzerinde çalıştırdığım bir modül. Ama PSoC ile sorun yaşıyorum, özellikle SPI'da takıldım. SPI TX ve RX fonksiyonlarının resimlerini ekledim ve projeyi ayrı ayrı ekledim. Kontrol edebilirsin. SPI'da komut gönderme ve alma konusunda bana yardımcı olabilir misiniz? Benim için doğru komut fonksiyonlarını oluşturabilir misin? Şimdiden teşekkürler.
Show Less
Hello Everyone,
I'm using 4100PS development kit CYC8KIT-147.
in my project i used one PWM block and 2 timer for capturing and reload to measure frequency and duty cycle, but when i tried to connect PWM output line or line_n to reload or capture then i'm getting the following errors which you can see in the attached picture.
If anyone has an idea then please share.
Thank you
Show LessHi, I saw that my board has the Arduino connection but how can I program it with the Arduino IDe?
Hi,
I follow below URL porting FreeRTOS on PSOC4 using Modustoolbox
But got fail on PSOC4.
--
C:\workspace\modus\psoc4_test\Hello_World/../mtb_shared/freertos/release-v10.4.305/Source/tasks.c:3562: undefined reference to `vApplicationSleep'
--
Have someone had experience about porting freeRTOS using Modustoolbox? Any steps that I missing?
Thank you!
Show LessHi, So I'm doing some project that using capsense touch button. I need 6 touch button total, and I notice that either I can add 6 different button(each buttons have there unique sensor), OR, add only '1' button that has multiple sensor(which is 6)
Is there any difference between two of configuration? Sometimes, when I use 1 capsense button per multilple sensor, it goes to hardfault and all the capsense button going to dead.
Best regards,
Show LessDear supporters,
I have a question about the PSoC4000S.
Is it okay to perform sensing in the OPEN state without connecting anything to the microcomputer terminal?
The purpose is to reserve the design.
Thanks,
Ayano Takeuchi
Show LessHi, Community
I am using ModusToolbox 3.0 and Library Manager 2.0 .
I have created a custom BSP using the same method as the link below.
However, my project build failed.
Here is the reason :
make: *** Build support for the target device not found. Run "make getlibs" to ensure all required build and code dependencies are present.. Stop.
So, I ran the "make getlib" command and "make bsp TARGET_GEN=(My BSP)" from the terminal.But, both of them terminate with an error.
What should I implement to resolve the error?
And, I also checked this article.
I have confirmed that the project will include the following folders.
My WorkSpace \ mtb_shared
\-mtb-hal-cat2
\mtb-pdl-cat2
\ recipe-make-cat2
\ .settings
\ capsense
\ core-lib
\ core-make
Best Regards,
Chihiro Tatebayashi
Show LessHello.
I use the CapSense and CyDelay with other interrupt(Timer and EZI2C).
When it uses the CyDelay, I look the Interrupt noise in capsense raw data.
=====================================
uint32_t cydelayFreqKhz1 = 0x00005DC0;
void CyDelay1(uint32 milliseconds)
{
short *a=0,*b=0;
int32_t temp1 = 0,temp2 = 0;
while (milliseconds > CY_DELAY_MS_OVERFLOW)
{
/* This loop prevents overflow.
* At 100MHz, milliseconds * cydelayFreqKhz overflows at about 42 seconds
*/
CyDelayCycles(cydelay32kMs);
milliseconds -= CY_DELAY_MS_OVERFLOW;
}
CyDelayCycles(milliseconds * cydelayFreqKhz1);
}
==========================
If it removes the CyDelayCycles in CyDelay1, the interrupt noise in Capsense Raw data disappreared.
Why does CyDelayCycles cause Interrupt Noise?
Thanks and Best regards.
Glenn.
Show Less