全能電路設計實戰

2021年2月7日 星期日

RP2040 與 Raspberry Pi Pico


Raspberry Pi 基金會也切入MCU 領域--Raspberry Pi Pico。Raspberry Pi 基金會還開了一個自己的晶片RP2040. 雙核的ARM Cortex-M0+ (133MHz), 內建264KB SRAM, 還外掛一個 16MB的 Flash。Pico 內部帶有boot loader,不過沒有作業系統 (不像Pi 或Pi zero 有Linux作業系統), 但Pico有提供C/C++ SDK及MicorPython SDK供使用者快速開發.   GPIO 輸出是 3.3V . 不過目前晶片還沒有對外銷售, 只有提供給幾家廠商,如Sparkfun開發板子. 重點是支援 TensorFlow Lite 框架, 可以開發輕量級Deep Learning 的應用


 
7 × 7 mm QFN-56 package 



RP2040 Chip features:

  • Dual ARM Cortex-M0+ @ 133MHz
  • 264kB on-chip SRAM in six independent banks
  • Support for up to 16MB of off-chip Flash memory via dedicated QSPI bus
  • DMA controller
  • Fully-connected AHB crossbar
  • Interpolator and integer divider peripherals
  • On-chip programmable LDO to generate core voltage
  • 2 on-chip PLLs to generate USB and core clocks
  • 30 GPIO pins, 4 of which can be used as analog inputs
  • Peripherals
    • 2 UARTs
    • 2 SPI controllers
    • 2 I2C controllers
    • 16 PWM channels
    • USB 1.1 controller and PHY, with host and device support
    • 8 PIO state machines

RP2040的晶片架構圖

Raspberry Pi Pico



而底下是由台灣程式教育協進會所開發出的 Pico 擴充卡, 可應用在物聯網及AI Edge 應用 (Tensor flow  lite), 而且可以使用MicroPython 撰寫程式。

Pico 擴充卡規格: 

1.) UART-to-USB (PL2303) 可連接PC

2.) UART座 for ESP-01 (可連接ESP8266 WiFi)

3.) SPI pin x1  

4.) SPI 腳座for SPI ArduCAM

5.) I2C 針腳 x1  

6.) I2C 座for OLED

7.) G-sensor (LIS3DH)

8.) PWMx8

9). ADCx1

10.) LEDx2

11.) Micro phonex1

12.) Buttonx1

13.) 電源輸出座-(5V,3V輸出)

14.) Power LED indicator



pico W 使用MQTT publish 











沒有留言 :

張貼留言