PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hello,
I'm using the MiniProg3 (!https://www.cypress.com/documentation/development-kitsboards/cy8ckit-002-psoc-miniprog3-program-and-debug-kit ) programmer to program my Cyble 012011-00 (!https://www.cypress.com/file/212456/download) module with EZ-Serial hex file (!https://www.cypress.com/documentation/software-and-drivers/ez-serial-ez-ble-module-firmware-platform).
I'm using PSoC Programmer software to program the hex file to the board, which does work as seen in the pictures. However, when I then try to connect it with my RX & TX pins to view the output in a terminal, it doesn't output anything. The documentation of EZ-serial says that it should output a system_boot event upon reset/power on. When I reset the module, the event output is not displayed. Sending commands, such a "/PING" is also does not provide a response.
I'm pretty clueless about what I am doing wrong at this point. Any help would be greatly appreciated!
Kind regards,
Toink
Show LessHOW TO DEBBUG A SELECT PROGRAM... I AM NOT ABLE TO EXECUTE THE STEPS??
#include <project.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void config(void);
char ch,ch1;
char str[100],str1[100];
int i = 0,j = 0;
CY_ISR(ISRCmdHandler) // interrupt handler for CMD
{
ch = UART_CMD_UartGetChar(); //connect
UART_CMD_ClearRxInterruptSource(UART_CMD_GetRxInterruptSourceMasked());
if(ch != '\n')
{
str = ch;
i++;
}
else
{
i = 0;
config();
memset(str,0,sizeof(str));
// UART_GSM_UartPutString(str);
}
// UART_CMD_UartPutChar(ch);
}
CY_ISR(ISRgsmHandler) // interrupt handler for GSM
{
ch1 = UART_GSM_UartGetChar();
UART_GSM_ClearRxInterruptSource(UART_GSM_GetRxInterruptSourceMasked());
if(ch1 != '\n')
{
str1
j++;
}
else
{
j = 0;
UART_CMD_UartPutString(str1);
// config();
memset(str1,0,sizeof(str1));
}
// UART_GSM_UartPutChar(ch);
}
void config(void)
{
if(strcmp(str,"CONNECT") == 0)
{
UART_GSM_UartPutString("AT");
CyDelay(500);
UART_GSM_UartPutString("AT+NETCLOSE");
CyDelay(500);
UART_GSM_UartPutString("AT+CSOCKSETPN=1");
CyDelay(500);
UART_GSM_UartPutString("AT+CIPMODE=0");
CyDelay(500);
UART_GSM_UartPutString("AT+NETOPEN");
CyDelay(500);
UART_GSM_UartPutString("AT+IPADDR");
CyDelay(500);
// UART_GSM_UartPutString("AT+CIPOPEN=0/");
// UART_GSM_UartPutString("/");
}
// else if(strcmp(str1,"OK") == 0){
//
// }
}
int main(void)
{
UART_CMD_Start();
UART_GSM_Start();
ISR_CMD_StartEx(ISRCmdHandler);
ISR_GSM_StartEx(ISRgsmHandler);
UART_CMD_UartPutString("UART 1 START\n\r");
UART_GSM_UartPutString("UART 2 START \n\r");
CyGlobalIntEnable;
for(;;)
{
}
}
/* [] END OF FILE */
Show LessHi.
My customer use PSoC 4100S Plus.
My customer changed Sense clock frequency on the CapSense Tuner.
3000kHz => 1500kHz
I recognize that if you lower the Sense clock frequency, the raw count will decrease.
However, this change has increased raw count.
What could be the cause?
Best Regards.
Show LessHello everybody,
Is it possible to implement this architecture of circuit In PSoC 4200L with the Opamp used as integrator and two internal analog switches S1 and S2?
What are the switch components in the internal Cypress library?
the architecture for duration measurement is as follows:
Thanks in advances
Soukayna,
Show LessThe 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