
作者解释为什么选 N16R8 而不是 N8R2:做产品原型阶段,16MB Flash 可以同时放下两套 OTA 固件、一套文件系统和一套模型文件,不用为了省空间反复裁剪功能;8MB PSRAM 则让 LVGL 界面可以开很多页面和动画,摄像头预览也能开一个很大的帧缓冲。如果只是做简单的传感器上报,N8R2 确实够用,但那样会浪费这块板子的很多潜力。
接口资源决定了它能做什么。S3 芯片除常规 SPI、I2C、UART、I2S、SDMMC、LEDCPWM、ADC、DAC、Touch 之外,还支持 DVP 8 位并行摄像头接口和 LCD 并行接口,可以直接把 OV2640、OV5640 摄像头接到 DVP 上,或把 ST7789、ILI9341 这类屏幕通过并行 RGB 接口驱动,不需要额外转接板,也不需要软件层模拟时序。作者常把它当带无线的小型应用处理器用:本地语音唤醒后把音频通过 Wi-Fi 推到服务器做 ASR,或把摄像头采集的画面做边缘检测后再上传。
这些功能在 STM32F103 上几乎不可能流畅跑,但在 S3 N16R8 上可以当主力功能设计。文章特别提醒,N16R8 只是容量标签,板子到底有没有引出 USB-OTG、摄像头排针和 LCD 排针,取决于具体开发板型号;拿到板子先看丝印和原理图,确认引脚编号和板载外设再开始配工程,不然照着网上教程改引脚大概率灯不亮、串口无输出。
本文来源:http://www.lpqz.cn/news/61447
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。
The author explains why N16R8 was chosen over N8R2: at the prototype stage, 16MB of flash holds two OTA firmware images, a filesystem and a model file without repeated feature trimming, while 8MB of PSRAM lets an LVGL interface keep many pages and animations open and allows a large frame buffer for camera preview. For simple sensor reporting, N8R2 is enough, but that would waste much of what this board can do.
Interface resources define the use cases. Beyond standard SPI, I2C, UART, I2S, SDMMC, LEDC PWM, ADC, DAC and Touch, the S3 adds an 8-bit DVP parallel camera interface and a parallel LCD interface. An OV2640 or OV5640 camera can connect directly to DVP, and displays such as ST7789 and ILI9341 can be driven over parallel RGB without adapter boards or software-timing emulation. The author often treats it as a small wireless application processor: run local wake-word detection, push audio over Wi-Fi to a server for ASR, or perform edge detection on camera frames before uploading.
Such functions are nearly impossible to run smoothly on an STM32F103 but can be core features on an S3 N16R8. The article warns that N16R8 is only a capacity label: whether USB-OTG, camera pins and LCD pins are actually exposed depends on the specific board. Check the silkscreen and schematic first to confirm pin numbers and onboard peripherals before configuring the project, or following online tutorials will likely leave the LED off and the serial port silent.
本文来源:http://www.lpqz.cn/news/61447
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。