You are here

Thoughts on Programming | Cypress Semiconductor

Thoughts on Programming

I am working on some web based applications that require I use HTML and javascript. As I read up about these languages I find it interesting to see programmers that have no need, desire, or understanding of real time applications.

 
I have spent most of my career in the design and development of micro-controller based systems. These designs all were real time applications. The other programming I have done has been with tool generation or modeling. These were not real time applications.
 
I find that the new college grads (NCG)s learned how to program, most likely on a PC, by the computer science department and real time was never really an issue. I am surprised the number of them that have never calculated an interrupts time. I have seen interrupt based systems that fail when a particular bunch of operations are being run. The solution usually is a quick conditional to not let an offending interrupt run immediately. (You don’t know why it fails, but you make sure the condition won’t happen) You only have 100% of the CPU. It seems to me that you would want to know just how much time you need for each operation.
 
I have always felt the engineers would be better served if they learned “C”, in the EE department, writing for a small micro, doing real time applications. Some schools no longer teach C but go directly to Java. In the PSoC Lab book I wrote, the underling theme project was an I2C controlled temperature compensated fan. The programming was in C.
 
Real time applications have to worry about determinism, interrupt latency, min max and average interrupt service time. Non real time programmer may heavily depend on interrupts. This isn’t the case with real time systems.
 
It becomes quite apparent when engineers first attempt to collect Cap Sense data via the I2C that these ideas are not well understood.
 
Side note:  I am finding NCGs coming out of school that specialized in Digital Signal Processing and  have only built filters in MatLab.  Never touched a real DSP. 

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.