PSoC In China Blog 可编程片上系统芯片之中国篇 - Cypress.com: Blog Posts 人生的第一次航班行 程13个小时,把我带 到一个陌生的国度, 在美国马凯特大学攻 读电子工程的硕士学 位。有了在]]> http://www.cypress.com/?id=2487 A Personal Touch of Christmas http://www.cypress.com/?rID=57413  

 

This week, I got a Merry Christmas email from one of my most respectful professors, stated that he thinks himself as a technology leader, perhaps he "should send email cards, at least to my technology literate friends, among which I count you". As flattered as I am to be considered as a techonolgy nerd, I replied as:

 

"I actually still believe in hand-written cards that we can physically hold in our hands, so this year, I will still be mailing my Christmas greetings.

 

Thanks you so much for the kind wishes and for keeping up with our 'new' or 'innovative' ways to electronically communicate with each other. I believe old fashion value never dies, and should never die. In China, we have a saying that:"You can see through a person by his/her calligraphy." Nowadays, everything emphasizes 'fast', 'speed', 'efficiency'; however, time is actually the most precious gift we can ever give to someone."

 

In 10 minutes, my professor responded:" In truth, I sent our Christmas letter that way to 15 former students partly because I'm late, partly to save money, and partly to demonstrate paper Christmas cards are NOT going away.  Of 15 I sent out Sunday afternoon, by Monday morning (proving these are NERDS), I received 7 responses, all similar to yours, saying in various ways, 'I'm sticking with paper.'

 

Mission accomplished :-)"

 

Phew!! I passed the test again. After 4.5 years out of school, I am till taking his test and learning from him. The only difference is that he is now coaching me about the virtue value of life.

 

Yes, the point of sending out a card, or offering a gift as small as a box of cookies or even a hand shake, or a hug, is to show appreciation for the past, for the friendship, for the effort received, for all of those who made an impact to our lives. Technology has made us so easy to remember special events: we get reminders on Facebook of friends' birthdays, we use E-calendar to mark anniversary dates, we can send out a Happy Birthday/Anniversary/Holidays in 5 seconds to our friends, we can even generate a sketch art work by computer program instead of having an artist spend days of sweats and emotions injected into the canvas. Everything is about fast. The truth is "When I slow down, I go faster". Slow down to appreciate others' effort, slow down to re-align priorities in life, and slow down to hand write to my dear friends:

 

Merry Christmas!

]]>
Thu, 22 Dec 2011 16:24:05 -0600
CapSensePLUS Advantage 1,2,3 http://www.cypress.com/?rID=44293 I have been sweating over webinar "Simplify Your Capacitive Touch-Sensing Designs" in the past couple of weeks. It will be on tomorrow morning 9 AM Pacific Time. Well, you can still register at here. No matter you like it or not, please also send me feedback at psocinchina@cypress.com. As engineers, we all know that the only way to keep a system stable is negative feedback. This line also works well to get what your manager really think of you during your performance review, by the way

Here is a little bit peeks of the webinar tomorrow:

  • CapSensePLUS Advantage #1: More integraion, less BOM.
    • See what more can be integrated beyond CapSense
  • CapSensePLUS Advantage #2: Higher resolution, less sensor
    • In slider designs, how did we enable higher resolution with less sensors and less I/Os, and how did the diplexing allows us to scanning 2x sensors with the same number of I/Os
  • CapSensePLUS Advantage #3: More Robust, Zero coding
    • How did we achive no false trigger in the presence of water films or droplet with zero coding required
]]>
Thu, 08 Dec 2011 07:32:46 -0600
关于PSoC的书籍/PSoC Books http://www.cypress.com/?rID=43586 PSoC 3 & PSoC 5 Related

My First Five PSoC® 3 Designs by Robert Ashby (Free Ebook)

Own a hard copy from here: B/W Inside Pages; Color Inside Pages

PSoC 1 Related: 

]]>
Mon, 05 Dec 2011 06:24:06 -0600
PSoC 5 is in Production NOW http://www.cypress.com/?rID=55542 The first 3 PSoC 5 Production parts are open for production order entry NOW.

CY8C5246AXI-054
CY8C5367AXI-108
CY8C5568AXI-060

The other 10 TQFP part numbers will be open within the next two weeks. Please stay tuned.
   
PSoC® 5 offers the most powerful processor core among all PSoC 1&3&5 families up to date: ARM® Cortex™-M3, and is a true programmable embedded system-on-chip, offering modern method of signal acquisition, signal processing, and control with high accuracy, high bandwidth, and high flexibility

Learn more about PSoC 5 at www.cypress.com/go/psoc5, and experience PSOC 5 performance by purchasing our latest PSoC 5 dvelopement kit CY8CKIT-050 ($99) at www.cypress.com/go/cy8ckit-050.

Happy Friday!
--Meng
 

]]>
Fri, 28 Oct 2011 12:42:15 -0600
Announcement of All the 66 PSoC 3 Part Numbers Are in Production http://www.cypress.com/?rID=54206 All the 66 part numbers of PSoC 3 are in full production now. Please visit www.cypress.com/go/psoc3 to access product info.

Here is the lead time by package:
100TQFP package 8~10 weeks
48/68QFN & 48SSOP: 6~8 weeks

6 has been a lucky number in Chinese culture, as it's pronunciation is similar to the word which represents "successful and fortunate." Let us all wish PSOC 3 a succesfful and fortunate future!!

 

 

Al

 

 

]]>
Tue, 13 Sep 2011 11:27:38 -0600
Happy World Amaetur Radio Day: The First Technology-Based Social Network http://www.cypress.com/?rID=50401 According to www.arrl.org: Amateur Radio: The First Technology-Based Social Network" is the theme of this year's celebration. It is indeed the most authetic way for technology fans all over the world to gather, share, and communicate. Till today, amateur has always been around to provide emergency communications during natural disasters, such as tornados, hurricanes, and even the world trade center disaster on 911... and, who are the ones behind the radios and pumping out morse code and be the hero behind the scene? Engineers.

Besides the practical usage, engineers are also proud of the efficiency of their finely tuned antenna that allows them to send/receive good quality morse code with ultra low power,  they can even use old tube based equipment and maintain them in good shape ----- To me, they are sincerely smart heros. Amateur radio is the foudation of tens of advances in radio/communication theories. Without the evolvement of amateur radio, we will not be where we at today, with all the fancy social networks, cell phones, etc.

So, here, cheers to all the Amateur Radio Engineers!!

-.-- --- ..-   .-. --- -.-. -.-

.--. ... --- -.-.   .-. --- -.-. -.- ...

 

]]>
Mon, 18 Apr 2011 19:28:26 -0600
Totally 21 PSoC 3 Part Numbers Are In Production!! http://www.cypress.com/?rID=50000

]]>
Mon, 04 Apr 2011 18:55:38 -0600
PSoC 3 Production Silicon in Full Production and Sampling ----- NOW http://www.cypress.com/?rID=48932 Happy New Year of Rabbit!!

I have been not been a good blogger in the past few month, instead I have been a blog blocker. Now I am back, and back with exciting news:

The PSoC 3 is in full production NOW.

You can order or sample the following 11 marketing part numbers on www.cypress.com/go/psoc. The rest of the part numbers will be open in the next few month by stages.

11 x parts for a new year of 2011!!


 

]]>
Fri, 18 Feb 2011 16:06:57 -0600
Treats for PSoC Fans http://www.cypress.com/?rID=45735 Here are some treats for our PSoC fans: We have series of training modules for PSoC development software: PSoC Designer (PSoC 1) and PSoC Creator (PSoC 3 and PSoC 5).

PSoC Designer On-Demand Training Series

PSoC Designer 101: Intro to PSoC Designer
Description: This is a web-based course that provides an overview of the PSoC Mixed-Signal Array and its Design Tools. It is the first of a multi-part series of modules designed to provide you with the necessary training to enable you to quickly take advantage of PSoC Technology, develop your embedded applications and get to market fast. It also introduces you to PSoC Designer using three basic example projects and the PSoC FirstTouch Starter Kit.

PSoC Designer 210: Chip-Level Designs
Description: This is part of a series of web based courses designed to provide the necessary training to enable you to quickly take advantage of PSoC technology, to develop your embedded application, and get to market faster. This module will take you deep into various types of PSoC Designer datasheets, show you how to optimize designs with flexible routing resources and show you various PSoC design considerations in PSoC Designer’s chip-level view using an example project and the CY3210-PSoCEval1 Kit.

PSoC Designer Module 3: Debugging with PSoC
This module introduces the powerful PSoC Designer debugging tools that can save you hours in the troubleshooting process. This module goes over features such as trace buffers, watch variables, and breakpoints. The last part of the module also walks you through debugging of a real project. PSoC Designer and the PSoC In-Circuit Emulator or ICE is required for the project.

PSoC Designer Module 4: Dynamic Reconfiguration
This module first looks in detail at the register map and configuration files used with PSoC User Modules. Then, the course  walks through how to implement dynamic reconfiguration which allows you to reuse resources in PSoC by reconfiguring PSoC on-the-fly to perform a new function.


Component Development Training For PSoC 3 and PSoC 5 using PSoC Creator


PSoC Creator 110: Schematic Components
PSoC Creator 111: Component Parameters
PSoC Creator 112: Intro to Component API Generation
PSoC Creator 113: PLD Based Verilog Components
PSoC Creator: Custom Components

]]>
Thu, 26 Aug 2010 19:47:19 -0600
SAR vs. ΣΔ http://www.cypress.com/?rID=45241 Several months ago, I worked on a project that involves analysis on the SAR ADC architecture, which got me obsessed on the various implementation from different vendors. I enjoy calculating the single and multiple channle converstion time for diffrent resolution settings for hours. Then one night, I had a dream about the SAR ADC.

Yes, as much odd as it sounds, I did dream of it. When I woke up, all I remember is that some thing about the SAR upset me for big time. I even held fists full of emotions in my dream. Insanity? Yes. Stuff like that definitely put me out of 3 sigma in the normal human being behavior statistics, but the good side is that dream inspired me to team up with our senior apps engineer Andrew Siska to write this article: "Golden Gloves" A/D Converter Match: Successive-approximation register vs. sigma-delta topology":

In one corner, the current champion successive-approximation register (SAR) analog/digital converter (ADC); in the opposing corner, a relative newcomer to the A/D conversion scene, the sigma-delta (ΣΔ) ADC. This will be a seven-round fight to the finish, with judges awarding points in the following categories:

   1. Conversion Accuracy
   2. Speed of Conversion
   3. Linearity of Strikes
   4. Conversion Accuracy in the Low and High Side Corners
   5. Differential Non Linearity
   6. Integral Non Linearity
   7. Quantization Error

...

You can access the full article at here.

]]>
Thu, 29 Jul 2010 12:44:27 -0600
CapSense Tuning Chart for CY8C22xxx/21x45 Family http://www.cypress.com/?rID=44843 CY8C22xxx/21x45 is our new CapSensePLUS PSoC 1 family that target at both industrial and automotive grade application. With 2 parallel CapSense® touch-sensing channels, the new PSoC devices can process twice as much input data at any general purpose I/O pins at the same scanning interval.

How to set up the parameters in the CSD2x user module to achieve the optimal performance. The following flowchart shows the steps to be performed for calibrating CSD2X in PSoC Designer
, courtesy from Bob Hu, application engineer at our Shanghai office:

 

]]>
Wed, 21 Jul 2010 16:58:09 -0600
Embracing Geekness http://www.cypress.com/?rID=44569 Yes, there is a day of the year endorsed as "Embracing Your Geekness Day", and it is is a trademarked holiday of Wellcat Holidays. Being geeky and nerdy is an admirable emerging fashion. Every single day, I enjoy nothing but the intelligent, simple and down-to-the-earth fun brought by my geeky and nerdy friends. Embrace Your Geekness Day is July 13th, and how should we celebrate it? Here is my two cents: let us leave books, computers, electronic parts, ham radioes, Xbox 360s, internet, PCB boards etc. aside for a moment, let us celebrate it by, writing.

There is a description that having engineers write can be as hard as squeezing water out of rock, but publishing and archiving all the brilliant, roller coaster like brain traffic is just as important as writing code and design circuits. Writing allows us to think out loud, share and promote our work. Archiving the back ground story and every details of an engineering project can avoid unnecessary questioning and offers solutions to similar chanllenges in future designs, and in some situations, it can save our jobs.

Here are some tips for writing:

1. Start writing from an outline. When is the last time an engineer was asked a simple question, and he/she gave a dissertation like answer? I know I experience that every single day. A good way to start writing is to offer a concise answer, or some bullet point answers first, and then enrich them with your professing dissertation.

2. Ask yourself: what did I accomplish in the past week? Write down the progress you have made by sweating over this software drop and the board layout for a week, write down that you have sent it out for a group to review, and waiting for feedback.

3. Write down all the thinking and concerns. For example, why did I choose this layout? Why this is a 5 layered board instead of 4? What is my thinking behind this pull down resistor? Why did I put it down there when there is integrated resistance in the part? What are the risks in this commitment date? What problem am I solving?

4. Try to predict the questions people tend to ask when they review your project, and write down the answers. Because these questions WILL come back to you. You are No.1 expert in this code drop in the whole world, because you wrote it! So share your thinkings with others to help them understand it before the judgement gets started. Every engineer has their own way to solve a problem, and if the others happen not to appreciate your method, you owe them an explanation.

5. Get a voice writing software, you will be amazed by how well your words from mouth look like when they are on paper.

Here I am, applauding and campaigning for nerds and geeks, wish everybody a happy Embracing Your Geekness Day!

]]>
Thu, 15 Jul 2010 15:35:48 -0600
EEFocus: 工程师的家园 http://www.cypress.com/?rID=44586 http://www.eefocus.com/

My colleague Patrick Kane (link to blog) sent me this website link and I was blown away. The information carried in this site is tremendous. There are blogs, communites, news, ebooks, supplier list, forums, etc. The topics ranges from semiconductor technology to the latest trend in end equipments. Cypress just annouced the result of PSoC Community Innovation Design Compeititon Program: link. There have been hundreds of designs submitted. The reward for winners is our CY8CKIT-003 PSoC® 3 FirstTouch™ Starter Kit ($49). Enjoy!

And, the website is in Chinese, which is easier on the eyes for our Chinese engineers :-)

 

]]>
Thu, 15 Jul 2010 15:34:31 -0600
Should, Would http://www.cypress.com/?rID=44435 There is a well-known war in the ancient China history called "War of Chang Shao " that happened in 684 B.C. It was a war between two kingdoms: Qi and Lu. This war has been known for it's famous stratey that brought a significant victory to the the Kingdom of Lu regardless of the overwhelming size and power of Qi's troop.

Qi was planning a major invasion on the boarder of Lu, and both troops laid out battle arrays, holding breath for the upcoming attacks that could happen any minute. As arrogant as the king of Qi was, he ordered the drumming to signal the 1st charge. As Qi's soldiers headed towards Lu's troops with vigorous spirit, On the Lu's side, however, the king ordered the troops to stay absolutely still. Qi's troop withdrew back to it's arrays because they could not break Lu's array. The king of Qi could not comprehend what game was Lu playing, so he ordered the drumming for 2nd charge. Lu's troop yet stood still and maintain it's array. The 3rd time when Qi ordered the attack, Lu's troops finally responded with the most decisive and furious charge.

Qi lost the war. Why? Because the very 1st drumming cheers the soldiers up, the 2nd weakens them, while the 3rd absolutely devitalizes them (). When the 3rd drumming happened, the solders could not help but wonder: What if enemies do not respond again? The hesitation and doubt wore down their spirit and confidence to win the war:"Should we attack? Yes, but would we?"

When the morale is depleted, the logic of "should" can not supplement the emotion of "would". Back from the ancient China to the present world, managing emotions and expectations is just as important as setting up measurable goals with numbers. To truly understand our customers' expectations and minimize the risk of breaking promises is just as important as maximizing our product's profit and developmeng speed, even though it means our troops need to stand still, for a while :-)

]]>
Wed, 07 Jul 2010 16:33:29 -0600
Cypress Resource Center for China 赛普拉斯资源中心 http://www.cypress.com/?rID=44022 Here is our resouce center webpage tailored for our China audience, powered by EE Times. All the resouce are categorized in the following categories:

 

  • On Demand Modules
  • Application Notes
  • Product Brochures
  • Technical Reference Manuals
  • Datasheets
  • Developer Kits
  • Software Download

The latest, fresh out-of-oven PSoC 5 product collaterals are available to dowload as well. Enjoy!!

http://www.eet-china.com/resource/index.do?sponsorId=1000002900
 

]]>
Wed, 23 Jun 2010 20:01:02 -0600
在线研讨会 / 优化电容触摸感应设计 http://www.cypress.com/?rID=43999 This is the Chinese webinar, and you can register at here.

]]>
Tue, 22 Jun 2010 15:16:49 -0600
Learn A Chinese Character for Father's Day (父亲节看“孝”) http://www.cypress.com/?rID=43980 Today is Father's Day, as we are honoring and celebrating the love, guidance and support from our fathers, I would like to share a Chinese character that carrys meanings of "devotion and love for parents".



So, in Chinese character, the word "devotion and love for parents" is composed with word "Old" connecting to "young": we have all been young, and will be old someday, it is the devotion and love chaining generations and generations together, and therefore the cycle of life...

]]>
Sun, 20 Jun 2010 14:14:06 -0600
CapSense + = CapSense + Motor Control + LCD Direct Drive + Intelligent Sensing + ... http://www.cypress.com/?rID=43936 Typical touch-sensing designs require multiple discrete components each of which adds cost as well as occupying board space. Making changes with discrete components can be time consuming and cause projects to be delayed. Cypress's CapSense Plus family leverages a dual channel interface to implement multiple button and slider interfaces while managing functions such as segment LCD direct drive, motor control, intelligent sensing, LED control and more.

In order to introduct the new CapSensePlus technology enabled by PSoC, I partnered with my college product manager in China, Arden Li, to deliver two webinars: one in English, and one in Chinese. You can register the English webinar through this link.

Welcome to join the discussion and discover the fun of CapSensePlus!

]]>
Thu, 17 Jun 2010 19:20:36 -0600
"Football originated in China." 足球起源于中国 http://www.cypress.com/?rID=43878
"Football originated in China." said João Havelange, the former FIFA president, July, 1958.

Here is a piece of insignificant significant knowledge about soccer that I would like to share while the whole world is embracing the a dose of World Cup fever.

The soccer game was first called "Cuju" (
or ) in China. Both “ ” and “ " carry meanings of "kick". " ” means "ball".

"Around the 2nd or 3rd Century BC, the Chinese military during the Han Dynasty played a game involving kicking a ball into a small net... A game similar to soccer was played by the ancient Greeks and Romans but their game could include up to 27 players on a side compared to the modern day game of 11 players to a side.

Soccer became one of the most popular sports of the masses due to its popularity as a war game. A game of "football" which the British called it, was played in the east of England during the 8th Century where the head of a defeated Danish Prince was used as the ball."

http://www.footballjerseyonline.com/footballjerseysblog/archives/56

http://ezinearticles.com/?The-Origin-of-Soccer&id=244527

]]>
Tue, 15 Jun 2010 11:51:44 -0600
How Smart Is SmartSense? CapSense 自动调校技术 http://www.cypress.com/?rID=43803 Here is a 10 minute video from our CapSense team. It was recorded in Mandarin for our China audience :-)

                                                                                    

 
]]>
Mon, 14 Jun 2010 09:39:50 -0600
Segment LCD Direct Drive with PSoC 1: Yes, it is real, and Yes, it is simple. http://www.cypress.com/?rID=43832 Yes, it is real

With no external driver required, the “Segment LCD Driver” is the first user module that truly enables the easy-to-use and command-and-control development tool for low cost LCD segment direct drive with PSoC 1 with no external components required. This user module (SLCD) applies to all the PSoC 1 families.

Features include:

  • Multiplexed -1/2 bias supported
  • 2, 3, and 4 common LCD drive
  • 30-150 Hz refresh rate
  • LCD Drive technique using analog MUX bus
  • Option of 1/2 bias to be generated externally or internally
  • Supports Type A waveform only
  • Contrast Control

Yes, it is simple

A wizard is available in PSoC Designer to shoot for "skill barrier."After the wizard is complete and the project is built, constants for all displays with corresponding IDs are available in the SLCD.inc and SLCD.h files. There are three main sections (shown with additional color coding in the figure) of the SLCD Wizard:

  1. LCD Specification: Specify the number of common lines and segment lines, add or remove numeric or alphanumeric displays, and add or remove digits to or from a display.
  2. Segment-Common Mapping Table: Maps segments and symbols to commons according to the LCD specification.
  3. Pin Assignment: Assigns the bias pin, and common and segment lines to PSoC pins and sets group size for displays.

Try it in the latest PSoC Designer release: http://www.cypress.com/?rID=41083
Here are all the tranings available for PSoC Designers: http://www.cypress.com/?rID=40543

]]>
Fri, 11 Jun 2010 15:51:13 -0600
人之初,性本善 http://www.cypress.com/?rID=43769

]]>
Mon, 07 Jun 2010 15:38:48 -0600
创新,勤奋与信心 http://www.cypress.com/?rID=43532

 

]]>
Tue, 01 Jun 2010 13:20:58 -0600
不是万事都要开头难 Not Everything Needs to Start In a Difficult Way http://www.cypress.com/?rID=43233 There is a saying in China “ ”. The direct translation is “Still water runs long”, and the underline meaning is “Persistence gives success in the long run”. My blog posting behavior apparently did not reflect this spirit. I took a vacation during the past month, and executed a “i = i++” line on a variable called age. Now I am back, to write,  to share and keep my blog alive. 

, Most things tend not to start in an easy way, we have got a free ebook My First Five PSoC® 3 Designs to help you kick off your first 5 PSoC 3 Designs. The labs designs selected for this book provide you with a working foundation. Each project builds upon the knowledge you learn from the previous project. By the time you finish the Project 5, you will know about the PSoC CY8C38xxx core, its digital and analog capabilities. Each completed project includes interfaces to user input, display, and computer communication. You will have created an entire system using a single chip and will realize how easy it is to complete these designs.

"If the only tool you have is a hammer, every problem looks like a nail." Try PSoC, it can revolutionize your whole tool box, and enables you to solve problems more than a nail, problems existed now, or will exist in future :-)

]]>
Sat, 29 May 2010 14:04:35 -0600
The Color of Music 音乐之色 http://www.cypress.com/?rID=43470 "It occurred to me by intuition, and music was the driving force behind that intuition. My discovery was the rest of musical perception." - Albert Einstein on his Theory of Relativity.

Music is one of the most magical creations, even to Einstein. Both math and music deal with vibration and harmonics. The tone of music is decided by frequency, and the sound of music is based upon the richness of the harmonic contents. What about the color?

I can be persistently annoying when there is a goal in my mind, and this behavior showed itself well when I went after Dennis Seguine, one of the most respected engineers at Cypress, for a cool demo for our new PSoC 1 CY8C28xxx device. Actually, I bribed him with 20 CY8C28xxx samples :-) Engineers cannot turn down offers of cool gadgets.

Two weeks later, Dennis successfully combined his passion for music, banjo and PSoC into his invention “The Amazing Banjomatic”. It is a board equipped with 272 LEDs in four colors, and can be installed behind the drum head. The colors of the LEDs respond to the frequency of the tone, while the expansion of the LEDs reflects the volumes.

This design utilized the simultaneous 4 Delta Sigma ADCs with dedicated decimators in CY8C28xxx, which is also Dave’s favorite PSoC 1. This display for each section is a stacked row of LEDs, 4 columns, 10 rows one each side for a grand total of 272 LEDs. The linear output of each channel is converted to a logarithmic (3 dB per step) display with a look up table. The colors are scanned sequentially, evaluating the level in each channel. The row and column selections for each color are made by turning on port 1 and 2 outputs according to another table. Each channel is updated at a 50 Hz rate. Each LED is driven at the same peak current. Some LED colors are more efficient than others, so the duty cycle is varied by color to maintain constant "apparent" brightness. The physical nature of a vibrating string is to maintain resonance longer for lower notes. Thus the high frequency channel has an increased duty cycle to balance brightness and compensate for the relative inefficiency of green LEDs. The LEDs are driven by P-channel FETs for each column (or color) and N-channel FETs for each row.

Einstein got his share of attention as scientist, engineer, and musician, and I am sure Dennis has been getting his share too :-)

 

 

]]>
Thu, 27 May 2010 13:48:55 -0600
Shakespeare Literature and Coding Guidelines http://www.cypress.com/?rID=43270  

Unlike Mr. Pearson’s mom who told him: “don't play ball in the house”, my mom always tried to advise me on what to say and what not to say.  After I grew up to be an engineer, my thesis advisor would guide me on what to write and what not to write, what to code and what not to code.

 

When I was reviewing my growth algorithm code with him, instead of sharing the joy of the improved model with better accuracy, he leaned back in the chair, and said something that I had never expected from a professor in a computer science department:” You should consider taking a Shakespeare literature class.” I’ve kept this guideline in heart since that day. William Shakespeare has been regarded as the greatest writer in the English language. And what is common between literature writing and embedded coding? In the literature world, it is about not a word less, or not a word more to resonate with the audience.  In the embedded system world, it is about not a byte more, or not a byte less to achieve the optimal usage of both memory and timing.

 

Any repeated function block in the code should be regulated as reusable functions, which is equivalent to the concept of APIs, user modules and components in the development software.  Since PSoC devices comprise embedded microprocessors (M8C, 8051 and ARM Cortex M3) along with a programmable digital and analog arrays, we need tools (PSoC Designer and PSoC Creator) that can combine hardware blocks, or components, with software APIs to simplify and optimize the development.

 

I went back and re-wrote my program that day after the review, and achieved another level of understanding Shakespeare’s literature, as an engineer.

 

]]>
Tue, 25 May 2010 10:27:43 -0600
The Little CapSense Button That Could http://www.cypress.com/?rID=43342  The little CapSense button that could:

•    migrate to large multi touch solutions
•    offer the best noise immunity
•    implement haptics feedback
•    sense liquid level and proximity
•    support SmartSense™ auto tuning
•    compensate environmental and process variation
•    automatically adapt threshold setting
•    shorten EMS test time and get reliability approval

It has been a very joyful week at Cypress San Jose headquarter office, where the international FAE conference is being held. I salute engineers and always enjoy their presence, because they are the builders of our modern world. They mediate every day of our life with delightful, robust and intelligent products, the result of engineers quietly sweating on their work.
 
Today, I had lunch with two engineers who both have been intensively involved in CapSense solutions. One of them is form China focusing on home appliance and the other one is from US specializing in automotive applications. Though coming from completely different cultures, 5 minutes later, they realized that they are one-hearted when it comes to the touch sensing domain. 5 minutes and 1 second later, one of them grabbed his laptop to show his new friend tricks in the latest dual channel CapSense (CSD2x) user module in PSoC Designer. 30 minutes of nods and shakes later, they exchanged respects to each other not just as colleges, but also as friends who live across the world.

This post was suggested by them: “The Little CapSense Button That Could”, inspired by is a moralistic children's story “The Little Engine that Could”. The book is used to highlight the value of optimism and hard work. Before we, Cypress, become the market leader of CapSense, we say "I--think--I--can, I--think--I--can." And now, we simply say "I thought I could, I thought I could." :-)

 

]]>
Fri, 21 May 2010 10:44:46 -0600
Another $5.99 Entrée on the Menu http://www.cypress.com/?rID=40982 When I see TV ads with deals like $5.99 entrees, I used to share them with my friends as a new happy hour option. The key word here is “used to”, because I grew out of impulsive buying based solely on pricing. Our satisfaction is exactly what we define it to be, and it takes a lot more than just a pricing label of $5.99 to make our Happy Hour truly happy. I do not want to end up with sub-par food, and paying more to get the quality and quantity of service that I really want.

 

Similarly, in the embedded system world, it takes a lot more than just the pricing on the naked silicon to satisfy designers. Engineers care about development software that allows them to “design the way they think”, like PSoC Creator. They would also love an eco system where the design IPs, components, programs can be created and shared, like the reusable components in PSoC Creator (Apple wowed the world not just with cool gadgets, but with social and savvy applications). Electronic enthusiasts would also endorse the freedom of changing designs (digital communication interfaces, capacitive sensing tuning parameters, converter resolution, etc.) in the last minute, which is enabled by the programmable nature of PSoC.

 

There are examples of vendors announcing segmentations with micro-controllers, and the lowest end MCU is priced at 25 cents, featuring 512B flash, 128B RAM, 1x 16 bit Timer, 1 WDT. It reminds me the experience of $5.99 entrées. Can I fulfill the requirements of my design at this low price? What can I really do with the 25 cent part? Cypress reacted to the low end MCU market by rolling out a promotion program for the lowest end PSoC 1 family starting at 35 cents last year: CY8C21x23 family, featuring 4K flash, 256B RAM, 4 digital blocks, and 4 analog blocks. So by 10 cents delta in pricing, users get 8x as much flash and 2x SRAM, and the configurable hardware full duplex UART, SPI and I2C, PWMs, comparators, and ADCs ----- a system on chip. Restaurants like Chevys, Macaroni Grill do not panic over Subway’s $5 foot long campaign, because they are not really in the same market, just like CY’s programmable system-on-chip is not in the 25 cents low end MCU line.

 

Customers define their satisfaction and our value, and happy customers make for successful businesses. We just want to make sure that every penny spent by a customer is well earned :-)

 

]]>
Wed, 31 Mar 2010 16:16:00 -0600
Pi: 3.1415926535897932384626433… http://www.cypress.com/?rID=40603 Around 480, the Chinese mathematician Zu Chongzhi approximated a circle with a 12288 (212 x 3) sided polygon built by merely using a pile of wooden sticks called Counting rods, and derived what remained the most accurate approximations for π in the next 900 years: 3.1415926 < π < 3.1415927.   

As simple as the shape of a harmonic circle could be, it’s key ratio number continues to be infinite and random till present ---- “reeks of mystery”.

To celebrate the beloved and mysterious number that captivated imaginations for thousands of year, March 14th has been established by math enthusiasts around the world as Pi Day, and it also happens to be Albert Einstein’s birthday. In my geek’s haven, we baked a chocolate cake with vanilla icing as a way to celebrate of God’s mathematical creation of π :-)

Designing any structure with cylindrical components involves π; for electrical engineers, it is about designing harmonic systems with harmonic signal chains. The invention of Laplace-domain enables us to view the continuous time-invariant system to the moments of harmonic vibration, and the key ingredient here is s = σ + 2 π f j. Derivatives and integrals in time domain (t) equate to multiply and divide in frequency domain (s); therefore analyzing the stability of system gets a lot easier by identifying the locations of zeros and poles in the s domain. For example, in the frequency domain, a four-pole band pass filter has the following frequency response, and the response for High and Low filter parts can be calculated by the formula below: 

 

 

  

Depending on whether Lower or Higher filter parts are calculated, L or H indexes can be used in all formulas instead of X. Thanks to the PSoC switched capacitor block structure, the center frequency and Q (ratio of center frequency to bandwidth) are functions of the clock frequency and the ratios of the capacitor values chosen, and the center frequency can be set very accurately or adjusted by controlling the sample rate clock. And the maximum number of poles enabled by PSoC 1 family analog filtering is 8.  

 

 

 May the joys and wonders of π be with us forever :-)

 


 

 

 

 

]]>
Wed, 17 Mar 2010 08:59:06 -0600
忙则心亡, 心亡亦忘 http://www.cypress.com/?rID=40507  
中国的汉字有三美:意美、音美、形美。意美以感心,音美以感耳,形美以感目。今天的这篇博文,让我们借用两个汉字:“忙” 与“忘”来向各位世界村的朋友们浅谈这三美。仔细斟酌起来,这“忙”字是由“心”与“亡”构成,发音为升调máng。心”在左,“亡”在右;而“忘”字则是心”在上,而“亡”在下,发音为降调wàng
 
两个字,简简单单却切中要害。当今社会人人步履匆匆,生活中很难有空闲来静观夕阳黄昏,聆听浪花轻啄,享受雅致茶香。城市的浮躁与科技的飞跃让我们忙碌不堪, 不知不觉心灵被高节奏的生活所麻木——忙则心亡,心亡亦忘。忘记了一声彼此的轻侯,忘记了绚烂的忧思与凄美,忘记了璀璨精灵的童稚。

每个汉字都有一段历史与故事,这“忙”与“忘”巧用了“心”与“亡”的组合,兼表音义,品味起来有醍醐灌顶之感。汉字是世界上最古老的文字之一,也是中华民族几千年文化的瑰宝。

每个时代都有对汉字独一无二的诠释,世界村的你我已经在谱写历史,就从今天的“忙”与“忘”开始 :-)

Chinese characters have been well known for their comprehensive meanings to the soul, graceful pronunciations to the ears, and enjoyable stroke structures on the eyes. Now, let us, the residents of Globe Village, take a second to get the first touch of the wonders of this exotic language by learning two characters: and .

In Chinese, the word (meaning “busy”, and pronounced as máng) is composed of symbols of "soul () sitting left of the word "death ()"; while the word (meaning “forget”, and pronounced as wàng) has the word “death ()” resting on top of the word “soul ()”.
 
Both of these w
ords were well engineered to be simple and to the core. In this fast paced society, rushing is a style and habit, life is difficult to be free to wait and see the sunset at dusk, listening to waves padding and enjoy the eloquent aroma of a cup of tea. Our souls can be easily misled to numbness by the city's impetuous leap in science and technology – Being busy can lead to the unconsciousness of the soul, and death of the soul introduced the forgetfulness (
忙则心亡,心亡亦忘). We might forget the warm and cheerful greetings from each other, forget the beauty of nature embedded in seconds of life, forget the pureness of laughter from a child.

There is a rich history and story behind each Chinese character. The combinations of
“death (
)” and “soul ()” deliver wisdom derived from centuries of being. Chinese is one of the world's oldest civilizations, and the Chinese language is the treasure chest of wisdom.

Every generation has their unique interpretations of Chinese characters. We, the residents of this global village, are part of that too, starting from learning
and .

]]>
Wed, 10 Mar 2010 13:17:02 -0600
The Engineer’s Guide to Fashion http://www.cypress.com/?rID=40412

A couple months back, I went shopping (Yes, Pods, I shop). I have been the humiliating target of "lack of common sense" exclusively on clothing since I was 18. Believing a black dress that fits every situation is the solution of this problem, so I went on a mission ----- shopping.

 

I ended up spending $60 on a dress, even though the material and back end processing cost is around $20 based on my deliberate and logical calculation. Before you start thinking this is a petty chick post, let me say that I do, also believe fashion is commerce masquerading as hip. The fact that fashion goes out of fashion is pure insanity. I spent this money as an ultimate salvation for a fashion dummy. It is a flexible dress that allows me to twist it into >10 styles with the same bill of material any time I want.

 

 

 

Now, did you get the head fake of this post? PSoC has been known for its configurable and reusable digital and analog peripherals: each of the analog blocks is an Op-Amp circuit with a programmable resistor or switched capacitor feedback network (R = 1/fC) that allows the creation of complex analog signal flows. By simple placing user modules or components, the same analog block can be twisted into >10 functions: ADC, DAC, CPM, Op-Amp, filter, mixer, multiplying DAC, DTMF Dialer, modulators, etc. at various resolutions and speeds.

 

Wonders like "We used 12 out of the 4 PSoC blocks" is happening everyday as design salvations.

 

So…"The Engineer’s Guide to Fashion"might be one of the world’s shortest books, but we enjoy the oxymoron, and our guide to fashion is simple and to the point:

 

 

We worship something smart, pleasant, flexible, and practical, just like PSoC.

 

 

]]>
Thu, 04 Mar 2010 00:21:23 -0600
Welcome! 欢迎! http://www.cypress.com/?rID=40379  

“Hi, my first name is ‘Mung’, but it’s spelled as M E N G; and my last name is ‘Hu’, but it’s spelled as H E” ------This has been the typically the first line of my self introduction while studying and working in the U.S.  Regardless, all the English names available on babysname.com, I have been managing persistently on using my original Chinese name 何萌. Not just because it is the 2nd most precious gift next to life my parents ever gave me, it is also because my belief in: The first step of understanding another culture should start with their language. Giving how much meaning a Chinese character can carry, I even convinced the owner of babysname.com to adopt Chinese names on their website for Americans (more on that one later). 

 

I love engineering, and love even more about how engineering makes me know how much I do not know.  Engineering is an intriguing, high-velocity ride enabled by our most treasured mental acts, and PSoC makes this ride more inviting and adventurous. I will tell stories about this PSoC ride here with who, what, when, where and why. Example topics include: what does flexibility and programmability mean in embedded system design? Is 4 is a bad number in Chinese?Why? How can Chinese Engineers change from building stuff others designed to designing stuff that others build (thank you for the ideas, Dave).

 

“If you can find your footing between two cultures, some times you can have the best of both worlds” ---- Randy Pausch. So, here we are, in this cozy corner “PSoC in China”, let us share what we know, what we do not know, with footings in both China and America :-)

 

]]>
Thu, 25 Feb 2010 12:05:26 -0600