PSOC5 Analog Gotchas, Interesting Trick

In previous posts, I showed how to create a voltage 1/2 of your VDDA using analog pins with pull up/down resistors. Manipulating these pins through writing values to them provides you with the ability to output +5v (VDDA), (approx) 2.5v (~1/2 VDDA), and 0V in code, without using external...

Android Studio: Fast(er) Emulator

Eventually, I’ll let you know why Android on the SOCMAKER blog. Hint: USB OTG and PSOC5. Android Studio Program (ASP) is a mess. The IntelliJ IDE may be good, but Google has burdened it so badly it can barely function on a 3.6ghz 8 core I9 with 40gb of...

PSOC5 Some Analog Tips

If you are like me, the OpAmp in the PSOC5 is occasionally used. I use it for driving signals out from the 8 bit Voltage DAC. (The voltage DAC is the Current DAC feeding into a resistor, so it has a high signal impedance. It can’t drive any resistance...

Android Studio & Old Projects

Before I give you the gritty (dirty) details, you need to understand some things about the ABC company and the Fruit Company. They don’t care. You are dirt under their shoes. The only reason the ABC company lets you play in their store is because the Fruit company does....

PSOC5: Pulse Detection and PGA (Programmable Gain Amplifier)

Going back 10 years to just before I discovered the PSOC5, picking pulses off of a line would require OpAmps, Voltage References, Multiple Power Supplies, bypass capacitors, resistors, and a lot of board space. This time it is different, even though I use the same parts. The difference is...

OpenAI, ChatGPT, Etc.

I have casually followed Artificial Intelligence (AI) since the 1980’s. However, back then, they called it Neural Nets (NN). One of the earliest uses of AI was to do OCR (Optical Character Recognition). This OCR technology was used in scanning the amounts that are hand written on checks, for...

Economic Contractions.

Why do we go through “Economic Contractions?” (EC’s) They used to be called “recessions” (which is now a forbidden word in the USA). In worst case they are called “depressions” (which is more forbidden). The reason for EC’s is merchandising. Merchandising Explained (Simplified) Merchandising is the act of transferring...

PSOC5 Pin Quirks: P15 – USB & RS232

I am in the process of creating a cable tester for multi-pin cables, low frequency, high pin count. During this process I used *every* pin available on a TQFP-100 pin CY8C5868 part. The first prototype worked, but was a pain. As is typical for prototypes, I made several errors....

PSOC5 RTFM — Read The Fine Manual — NON Analog Pins On PSOC5!

I just got bit by Weasley wording of PSOC5LP data sheet! PSoCĀ® 5LP: CY8C58LP Family Datasheet Programmable System-on-Chip (PSoCĀ®) . *Route any digital or analog peripheral to any GPIO NO! You Can’t Do That (from a NON-RTFM point of view)! There is an App Note which explains this issue....

BlackMagic Probe, VSCode, Excellent Cortex-Debug. UPDATED

I finally was able to program a clone stlink-v2 with the BlackMagic probe software completely on the Mac. Note that the STM32CubeIDE software is installed on my Macintosh. Also, the setup for my VSCode follows the previous instructions on this site for PSOC5 programming and working with STM32CubeMX. If...