PSoC™ 5, 3 & 1 Forum Discussions
Hi,
I thought I'd move this to a new post, given that the problem has now changed direction a little. Has anyone else had any problems with interrupts firing that have previously been explicitly disabled? I've tried using both isr_Disable() and isr_Stop(). In both cases, the interrupt is definitely firing despite being disabled. Any ideas?
Thanks.
Show LessHi again,
We are experiencing a very strange problem with the PSoC3. The device appears to successfully go to sleep and then wake up when it receives a pulse on a designated GPIO. The ISR connected to that pin then fires and executes successfully (we can see all of this in the debugger). On exiting the ISR though, the program enters an unknown state. We have discovered that the program in fact gets stuck in a function inside a switch-case in the main loop. The case that it gets stuck in though is not the expected case. In fact when I view the switch variable in the debugger it is not equal to the case that the program has entered. I have provided some of my code and my hardware setup to help illustrate. I have also pointed out where the program counter jumps to unexpectedly.
Show LessBootloading is one of the basic features that a microcontroller architecture is expected to have. Bootloading is a process by which you can upgrade a device firmware in field via standard communication protocols such I2C,SPI, USB and CAN. USB is one of the preferred protocols to bootload PSoC devices due to its robustness and omnipresence. Moreover PSoC3 bootloader is implemented using the standard USB HID interface. Most of the embedded host which has USB Host capability come with HID driver. The support for HID devices available in most operating systems is even more encouraging having a USB HID based solution.
AN73503 USB HID Bootloader provides a complete USB HID Bootloader solution for PSoC3 and PSoC5. The App Note explains,
-
Procedure to create a USB Bootloader project
-
Procedure to create a USB Bootloadable project
-
Create your own Graphical User Interface (GUI) to Bootload via USB
Each of the above is explained with a working example. A precompiled stand alone GUI is also available with the application note that can be used to perform Bootloading. This App Note can be used as a starting point to develop your own USB Bootloader GUI and add additional features as desired.
Join Dave Van Ess as he interviews engineers designing innovative solutions with PSoC. It doesn't stop with discussions, Dave and guests provide hands-on demonstrations providing tips and tricks along the way.
Chris Keeser demonstrates an easy way to do synchronous detection.
http://www.cypress.com/?rID=60521
Join Dave Van Ess as he interviews engineers designing innovative solutions with PSoC. It doesn't stop with discussions, Dave and guests provide hands-on demonstrations providing tips and tricks along the way.
Chris Keeser demonstrates an easy way to do synchronous detection.
http://www.cypress.com/?rID=60521
Show LessHello,
im from Germany and i begin with the Posoc board eval1 for a week.
I need help, cant find any code to decode hex in dec
I´ll show my data on my lcd, but i cant
Thanks for help
Show LessHi,
I need to transport 32bit from Counter to a 32bit shiftregister.
The direct way would be:
SR_OUT_WriteRegValue( Cnt2_ReadCounter() );
Cnt2_ReadCounter for itself reads the counter register from the STATICCOUNT_LSB_PTR register after pseudo-reading COUNTER_LSB_PTR.
What is the right way to do this without cpu interaction, e.g. dma transfer?
Thanks.
Show LessAN2376 shows how PSoC 1 can be used to control a resistive touchscreen, and read (x,y) positions of single touches as well as touch pressure. It describes the essential mathematics in detail, and includes a method for calibrating a touchscreen to a display. A project is included that passes touchscreen readings to a PC through a USB HID interface.
Touchscreen interfaces are effective in many information appliances, in personal digital assistants (PDAs), and as generic pointing devices for instrumentation and control applications. This application note describes resistive types of touchscreens. Their construction is simple, their cost is low, and their operation is well understood by users. The only concern is that the resistive layers can be damaged by very sharp objects. This document considers the basic principles of how resistive touchscreens work and how to best convert these analog inputs into usable digital data using a PSoC.
Show LessI want to call a C++/C# code which can diaplay a window during visual studio2010 performing it, and i need to emdeded the coed to my main.c program, or i can package the C++/C# code into a special function, and then call it in my main.c program.
And i know that PSoC creator can add new assembly file, c file, c# file and so on, so if i can use #include <xxx.c / xxx.c#> to include this code to my project, and then using function to use it, and make the code to display a window in my project running.
And in this window i can paint lines, and move the window's position and so on!
Thanks for you reply!
Show LessHi,
I am running the Delta-Sigma in 3 different configurations (simply to achieve different input ranges), all of which need to have the eoc interrupt running. The datasheet says that each configuration has a different interrupt routine. How do I enable the same interrupt each time I switch between configurations? Also, the datasheet is quite vague about what the ADC_IRQ_Enable() function actually does. I want to run my own external interrupt hooked up to the eoc pin on the ADC.
Thanks.
Show Less