- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
New to the CY8CKIT, previously I used other brand of Cortex M3.
I made a small program which includes Systick, UART ( Rx interrupt (large buffer) Tx internal interrupt, LCD
Systick simply flashes LED.
When compiled in debug mode works OK
When compiled in release LED doesn't flash, but UART and LCD works fine.
Seems that only one time is called the Systick ISR.
Any help, please
efrs
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Bob,
My problem was having a "large UART_ISR". In these simple example, all received bytes are stored in the buffer until a LF is received, then the buffer is sent back.
I moved the "sent back" to the main loop and all worked. There is no simultaneous reception transmission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is usually the case when you forgot to declare a global variable as "volatile" that gets changed in an interrupt handler. This is just a guess. To tell more, can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Bob,
My problem was having a "large UART_ISR". In these simple example, all received bytes are stored in the buffer until a LF is received, then the buffer is sent back.
I moved the "sent back" to the main loop and all worked. There is no simultaneous reception transmission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The interesting thing about PSoCs is not the M3 CPU, but the tremendous amount of configurable hardware within the chip that you can freely use and wire to your requirements. What other chips allow you to place some FFs, gates, and other stuff, connect them as you want and get a circuit that exactly does what you wired. FPGAs can do that, but they are pretty large (and expensive) and by far not as easy to handle as PSoCs.
Happy coding!
Bob