Notes for MCU, such as Raspberry Pi Pico, FPGA.
2023-08-28 | #Words: 8378
Recently, I want to use Raspberry Pi Pico, DHT11 THS and SSD1306 OLED screen to make a thermo-hygrometer. Although the official sample has these two devices, but I encountered a big pit, so I wrote this article to record the whole process. I want this project as a beginning of learning microcontroller.
2023-08-27 | #Words: 1374
This blog begins with a description of the solution, and record my discovery process and the structure of the Pico I2C code ZhongUncle explored.
2023-08-26 | #Words: 254
Pico has two I2C, namely two sets of SDA and SCL. You can see this from the names in the pin diagram. By default, only the first I2C (`I2C0`) is enabled. It means, even if you modify the pin, but not in `I2C0`, it still doesn't work. There are two ways to modify the SDA and SCL default pins of I2C correctly, and also there is a not recommended method (but still a useful method).
2023-08-19 | #Words: 2172
Recently I received a Tang nano 9K FPGA development board as gift, so I wanted to take this opportunity to study FPGA. The official document recommand to use GOWIN IDE to develop GOWIN FPGA, but you need to apply for a license and submit a lot of information. Since it was a gift, So it is not convenient. In addition, IDE is actually not very suitable for learning and putting into production, because IDE hides many details. So I want to find other workflows, just like using any text editor and Clang/LLVM to compile C/C++ programs.
2023-08-15 | #Words: 429
Sometimes you need to reset the Raspberry Pi Pico. One way is to press and hold the BOOTSEL button on the Pico and re-plug USB; another way is connecting the RUN and GND pins with a button, and then press this button and BOOTSEL at the same time button. This puts you into USB mode.
2023-08-10 | #Words: 646
This blog lists errors that may be encountered when prepare cross-compilation environment and tool chain (arm-none-eabi-gcc) for Raspberry Pi Pico.
2023-08-09 | #Words: 2524
The reason for writing this blog is that the official tutorial is outdated. If you follow the official tutorial to configure on Mac now, you will encounter a lot of problems. I dropped into almost pits. Therefore, I record the complete process, as well as the causes and handling methods of various errors. And if I change to new Mac and encounter the same problem in the future, I read this blog to remind how to deal with it.