【简介】
感谢社区活动有机会试用MAX78000 FEATHER 的开发板,板卡相关介绍及资料可以从此链接获取,https://www.maximintegrated.com/en/products/ MAX78000FTHR 对应的板子特性如下
Benefits and Features
● Dual Core Ultra-Low-Power Microcontroller
• Arm Cortex-M4 Processor with FPU up to 100MHz
• 512KB Flash and 128KB SRAM
• Optimized Performance with 16KB Instruction Cache
• Optional Error Correction Code (ECC-SEC-DED) for SRAM
• 32-Bit RISC-V Coprocessor up to 60MHz
• Up to 52 General-Purpose I/O Pins
• 12-Bit Parallel Camera Interface
• One I2S Master/Slave for Digital Audio Interface
● Neural Network Accelerator
• Highly Optimized for Deep Convolutional Neural Networks
• 442k 8-Bit Weight Capacity with 1,2,4,8-Bit Weights
• Programmable Input Image Size up to 1024 x 1024 pixels
• Programmable Network Depth up to 64 Layers
• Programmable per Layer Network Channel Widths up to 1024 Channels
• 1 and 2 Dimensional Convolution Processing
• Streaming Mode
• Flexibility to Support Other Network Types,Including MLP and Recurrent Neural Networks
● Power Management Maximizes Operating Time for Battery Applications
• Integrated Single-Inductor Multiple-Output (SIMO) Switch-Mode Power Supply (SMPS)
• 2.0V to 3.6V SIMO Supply Voltage Range
• Dynamic Voltage Scaling Minimizes Active Core Power Consumption
• 22.2μA/MHz While Loop Execution at 3.0V from Cache (CM4 Only)
• Selectable SRAM Retention in Low-Power Modes with Real-Time Clock (RTC) Enabled
● Security and Integrity
• Available Secure Boot
• AES 128/192/256 Hardware Acceleration Engine
• True Random Number Generator (TRNG) Seed Generator
对应板MAX78000的功能框图如下
板卡资源信息如下:
下载板子的资源软件包后,我们运行 C:\MaximSDK\Tools\MSYS2\msys.bat 来运行MSYS2 环境来编译hello world demo 程序。
# cd /c/MaximSDK/Examples/MAX78000/Hello_World
在目录下执行 make BOARD=FTHR_RevA 进行编译
编译后将程序下载到板子中,板子已经按照下述的代码运行
int main(void) { int count = 0; printf("Hello World!\n"); while (1) { LED_On(LED1); MXC_Delay(500000); LED_Off(LED1); MXC_Delay(500000); printf("count : %d\n", count++); } }