PSoC™ 4 Forum Discussions
The Segment LCD can work properly when using High Speed Mode with hs_clk set to 1M ~ 3M Hz. But when set to use Low Speed Mode, the LCD can't work properly, with all the icons displayed on LCD. I can't turn off any icon by writing LCD_Seg_PIXEL_STATE_OFF to the corresponding pixel, while this method works OK in high speed mode. Currently using the PWM Driving Mode, but Digital Correlation has the same issue. Could somebody kindly tell me how to drive Segment LCD in Low speed Mode?
I also notice that with High Speed mode, when the hs_clk is set to a low enough value (such as 100K), the same issue happens, i.e., all the icons are displayed and can't be turned off.
Show LessHi all, I've got a pretty noobish understanding of the PCB world, but the various guides on it all have given me a pretty good understanding on capsense, enough to get started.
I'm currently trying to design a touchpad. It needs to be 30mm x 150mm and I've decided a 4x20 grid will do the trick (each block's diagnol length is roughly 7.5mm).
I'm currently very stuck on picking out a MCU. There seems to be a ton of options and I'm not sure exactly what I might need.
1. What is the best MCU to that has 48 capsense i/o pins for a 4x20 touchpad? (I am correct in assuming I need 48 capsense pins for a 4x20 trackpad I hope...)
2. What is the difference between capsense i/o and GPIO? On some MCU datasheets, they are listed as different things, but other documents seem to state you can use GPIO for capsense?
3. I'm very new to Eagle as well but I can figure that out thanks to Youtube tutorials... A few PSoC devices are there in my Eagle library by default, but I'm not sure if any of them will work in my case. Once I know which PSoC device I need, how do I find an Eagle library containing it?
4. Are there, by any chance, how-to videos or tutorials demonstrating the schematic/PCB design of a touchpad? Any examples I could take a look at, just to aid in the learning process?
Show LessHello,
使用J-link对芯片进行烧录时发现, 当Debug select 选择SWD模式时, 芯片的烧录, 擦除完全正常. 但是当Debug select 选择GPIO模式时 ,HEX文件第一次烧录时是可以正常烧录 ,然而第二次烧录的时候 ,J-link就会提示连接错误 , 导致无法下载. 这时把GPIO模式下的程序使用Psoc programmer擦除 , 然后J-link又可以正常连接烧录 , 手动复位芯片也无法正常连接J-link.
我有看论坛上有类似的问题,可是办法并不适用,当前使用J-flash版本为V6.34,论坛解决办法链接如下:
[SOLVED] SWD connect fails on PSoC in low-power mode - J-Link/Flasher related - SEGGER - Forum
所以想请教各位是否有能够使用J-link下载low_power的程序的方法,谢谢!! 测试过PSOC 4000S和PS0C 4100S PLUS系列,现象一致.
Best Regard!
jarkko
Show LessHi,
I'm currently working on an app with the module CYBLE-012011 and I'm facing an annoying issue.
When I'm trying to connect my android to the device with the cySmart app, I'm not able to establish connection. This issue does not occur with all android device.
I have 4 test phones; when I have ran the test only 2 have had a successful connection.
Huawei mate 20 pro : Android 10 -> connection issue
Huawei p20 pro : Android 9 -> connected successfully
Xiaomi remi note 8: Android 9 -> connections issue
Xiaomi mi 9t pro : Android 10 -> connected successfully
Version of BLE compoment topdesign : 3.64 (3.51 also tested with the same results)
I also try to connect the device to a custom Qt app (Huawei mate 20 pro), and I get this log:
W QtBluetoothGatt: Using Android v23 BluetoothDevice.connectGatt()
W QtBluetoothGatt: Unhandled error code on connectionStateChanged: 133 0
W liblowenergyscanner.so: Error: "Error occurred trying to connect to remote device."
I believe that I have tried all possible settings in the component, but I always have the same results.
Am I missing something? Please could you advise.
P.S: I can establish a connection between my samsung tv, and my Huawei mate 20 pro without any problem and with the same app (cySmart app)
Show LessHI ,
I use 1ms system tick sample code . System LED toggle per 100ms.
It is OK no problem.
When I add other function. like SPI and Capsence...etc.
LED toggle time is will exceed 100ms.
How to setting 1ms timer priority to high priority ?
My code is under below.
Show Less
Hi all, I'm currently working on a class project, part of which involves flashing an LED periodically. I'm using an interrupt to trigger when the LED flashes and another interrupt to turn it off. The first interrupt seems to always execute on time (turning on the LED) but the second interrupt that turns the LED off seems to speed up such that the amount of time the LED is actually on decays to zero and then rolls over to being "normal". I'm having some trouble debugging why this might be happening or even understanding conceptually why this might be happening, since I'm making sure to reset my timer count back to zero every time I execute the first interrupt.
The first interrupt, which calls setLED to schedule the second interrupt:
Show Less
I can't find Automotive grade PSoC4 parts number on Cypress website.
For example CY8C4245AZA-M445,
The datasheet will indicate to https://www.cypress.com/file/377971/download
There are no include any automotive grade parts information.
How to get correct datasheet?
Show LessHI,
If the external power is 1.95V。There are two methods to connect the power.
1、With the external 1.8~5V power mode connection;
2、Add one 1.8V external LDO, then connect with the external 1.8V power mode。
If I use the capsense function yet, whether are the effect of the two methods same? How to select?
Show LessHI,
为了得到更精确的时钟,我们需要连接外部时钟。
1、对于Cy8C4045的外部时钟输入只能通过默认的P0.6连接外部时钟输入。是这样吗?
2、P0.6直接连接外部时钟,电路上有什么特殊要求吗?
3、在Clock配置界面,使能外部时钟(EXTCLK)。若同时把HFCLK的配置也选择为EXTCLK,是不是这样编译下载后,芯片上电就是使用的EXTCLK作为主时钟? 还是需要把HFCLK配置为IMO,然后在主函数的开头再通过API切换到EXTCLK?、
期待回复中。
Show Less