Divide and conquer

Welcome to the blog post I wish I had read two days ago.

From now on I will make it a rule to get one peripheral working at a time. Why? Because it turns out if you don’t; they might interfere with each other in a bad way.

This particular one saved us a PCB spin. If I did not get the devkit, this is one of the things I could not foresee. That’s why my new rule is to test one peripheral at the time, then together!

Maybe it is getting a screen working, reading from an SD card or simply getting I2C working. Get them working one at a time, then together. Oh, and did I say I2C is simple? Let me take you on my ~20 hour journey getting it to work in my setup!

Continue reading “Divide and conquer”

Divide and conquer

MCU jungle

One of the many important choices when starting a hardware project is to choose the part that is going to be what everything else revolves around. Namely the Microcontroller.

I knew my minimum requirements were something like this:

  • 1 SPI
  • 2 I²S with master clock out
  • 1 I²C
  • 1 U(S)ART
  • LCD 8080/6800 parallel peripheral
  • USB FS (pref HS) Device

These all need to be accessible at the same time, so I don’t want to keep reconfiguring pins and all that jazz. I want a chip powerful enough to comfortably do what I want it to do. Comfortably for me, that is.

Continue reading “MCU jungle”

MCU jungle