PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
I'm just rebuild the sample project CE58352. It's a FIR Filter 8 - Bit. I think i can transfer the values form the AD converter to the filter, but i don't get a DMA request from the Filter_1 to the VDAC. I tried to debug the project with the UART interface and the code never gets a Status_Reg_2_Read() == true.
I think there is a problem with the DMA configuration. I'm the DMA configuration with the DMA wizzard like the description in the cypress document CE58352
Perhapse someone has an idea what i have made wronge.
Have a nice day
bye by
Show LessHi everybody.I want to do ask a question and please guidance me to solve my problem.
please see my project.i have a IOT project with CY8C5888LTI. It is contain some feature like GSM ( Quectel M95 ) it connected to CY8C5888LTI with uart and FRAM ( eeprom ) connected with i2c to CY8C5888LTI and some other parts for working function.Its work well.Sometimes need to change some feature in program and reprogramming psoc5.
so my problem is how changing program in working over the air!!!
I know should use bootloader and bootloadable and when i need change program using UART or any peripheral with bootloader Host to update project firmware by "Bootloader Host Tool" but because i have not ability to access to device,so i cant use that.
I think the best way is use eternal memory from my board like EEPROM(I2C) and GSM(with network) to doing my purpose.
I can download new bootloadable.cyacd from network or FTP by GSM and then write on external EEPROM.
I try to use some sample code like(for example model) Hackster.io but this file project have build Error (attached error build).
I do not know how i can use CyBtldrCommWrite() or CyBtldrCommRead() in psoc creator without Error.
1- why this function not recognize?
2- My question exactly is about how writing new bootloadable.cyacd correct that is understandable for bootloader?
3- Another question how can i configured bootloader to check and read new bootloadable.cyacd from external EEPROM and then write it to internal FLASH?
(I know should i use custom interface in bootloader but i do not know how i can set bootloader to programing new program from external EEPROM)
4- Third question is it possible to do this purpose with internal EEPROM of CY8C5888LTI?
this question maybe answered in some communication discussion but those discussion did not use custom interface in bootloader.I want to do that by custom interface in bootloader.
please help me and thanks a lot for attention...
Show LessAccording to the "PSoC 3 and PSoC 5LP Hardware Design Considerations" document, section 4.2 "I/O Pins and Device Reset", "While reset is active, all I/O pins are in the high-impedance analog state." Does this include pins with extra configuration options such as the Op Amp pins and the JTAG pins?
Show Lesshi all:
I have a design with CY8C5868AXI-LP035 to realize DAC ,ADC.
It can work below 60℃ and can't work when the ambient temperature rises to 75℃.
I use CY8C5888AXQ-LP096 to repalce CY8C5868AXI-LP035 and the result is the same.
Show LessI have a simple project that turns the onboard LED on/off via the switch.
Then reads the state and outputs "Light On" or "Light Off" via usb uart using _PutString function. The code and the working serial out:
However, when I add a second consecutive line with the _PutString function, the output garbles badly and ultimately fails to respond after 13 or so button presses.
I'm expecting a "Line2" to get printed underneath "Light On".
Show Less
I am using a ILI9341 240x320 LCD Controller configured for Parallel indirect interface with a Touch screen. I do not know whether to add the nosts or osts directory to the compiler from the Include directory. Also, do not know which file to add to the linker, libemWin_nosts_cm3_gcc.a or libemWin_osts_cm3_gcc.a from the GCC directory. I guess this depends on whether I am using RTOS but not sure not sure how to determine whether I am or not. There is the question of which GUI_X Source file to use, GUI_X.c, GUI_X_FreeRTOS.c, GUI_X_embOS.c or GUI_X_uCOS.c from the FlexColor directory.
Any suggestion, Thanks Mike
Show LessHello All!
Is there a way I can echo simple printf commands inside the IDE for debugging purposes?
With Arduino I use serial.print() religiously to debug programs as I work. Seeing what's inside variables, creating breakpoints to see if a program has gone awry, etc.
I've tried to replicate that approach with my CY8CKIT-059, but the USB UART serial interface is much more complex. As I learn it, I'm trying to debug it too (LOL!)
Show LessHi all,
I am currently working on trying to read the RPM of a motor using a PSoC 5LP. The sensor consists of a IR sensor and a disc encoder. The disk encoder has holes that generate a pulse every time it blocks the IR sensor making the sensor output signal a PWM So far I was able to read the speed of the frequency/RPM of the motor doing the following:
Code:
#include "project.h"
char string[120];
int count;
CY_ISR(Counter_ISR){
count = 5*Counter_1_ReadCounter();
}
void Init_Hardware(void){
UART_1_Start();
PWM_1_Start();
PWM_2_Start();
Counter_1_Start();
ISR_Counter_Start();
ISR_Counter_StartEx(Counter_ISR);
}
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
Init_Hardware();
for(;;)
{
sprintf(string,"%d Hz\n \r", count);
UART_1_PutString(string);
}
}
The way it works is that the PWM sets a window during which the counter will count an event. The ISR component is used to read the count every time the interrupt event happens within the PWM block. The other PWM is just there to drive the motor.
My problem is that the counter variable does not seem to update should the speed change.
Any help will be appreciated.
Thanks
P.S I do not know how to properly attach a project to posts.
Show Less