Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I spent several hours looking here and on the Internet for a simple example that shows how to write a byte to EEPROM and then how to get it back. I need to save setup information so a restart can retrieve it and use the latest settings. I found many examples that involve EEPROM as well as LCDs, thermocouples, ADCs, arrays, vectors, and so on. These examples ARE NOT helpful. They contain too much "clutter" that confuses nonexperts like me and others. I often wonder if some people post examples simply to display their programming expertise rather than to educate others.
This criticism extends to other PSoC Creator devices in the 5LP chip I often work with. I spent a lot of time trying to get simple examples for Timers, PWMs, quadrature encoders, and other building blocks. For the most part, basic examples don't exist. The "Code Examples" section of the Cypress site could use a way to rate examples, perhaps as appropriate for beginners, moderately experienced users, long-time users, experts, and Cypress staff people. And every device should have a "beginners-level" example.
I looked at the example for a quadrature decoder this morning. It uses PWMs, and other components. But people would be better served if the example used a simple $3 incremental encoder and explained ways to use the APIs to do useful things. If someone wants to go beyond that more-advanced examples might help.
I like the PSoC devices, but lack of basic "start up" examples will point me to other MCU manufacturers.