打印
[应用方案]

新唐ARM mbed平台

[复制链接]
337|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
ARM® mbed™ 物联网设备平台基于ARM微处理器,能够最短的时间创建支持商用与互操作的互联物联网设备,同时跨细分市场的节点与云服务之间的互操作性可最大限度发挥物联网的潜力。

1.新唐ARM® mbed™ 平台页面
  • https://developer.mbed.org/platforms/nuvoton-M453/
  • https://developer.mbed.org/platforms/NUVoton-NUC472/


2.新唐ARM® mbed™ 特色
  • 微控制器以Cortex®-M4为核心
  • Flash/SRAM: M453 256KB/32KB,NUC472 512KB/1MB
  • 支持Arduino接脚
  • 支持CAN、rs485、USB.NUC472支持Ethernet
  • 提供三轴加速度计与三轴陀螺仪
  • 以扩充板支持Wi-Fi,Bluetooth,802.15.4,Thread等.




3.NuMaker-PFM-NUC472 Components
  • Main Chip: NUC472JI8AE
  • Core
  • Arm® Cortex®-M4F core running up to 84 MHz
  • Supports DSP extension and FPU
  • Memory
  • 512 Kbytes Flash memory
  • 64 Kbytes embedded SRAM
  • Peripherals
  • SPI (x4), I2C (x5), I2S (x2), UART (x6)
  • PWM (x16), GPIO (x114), CAN (x2)
  • USB OTG / Host / Device
  • Smart Card (x6), SDIO, Ethernet MAC, Crypto
  • ADC (2x16-ch), OP (x2), Comparator (x3)
  • Others
  • Nu-Link-Me ICE bridge
  • 1 Mbytes SRAM
  • 3-axis Accelerometer and Gyroscope (MPU6500)
  • audio Codec (NAU8822LYG)
  • RS232, RS485, CAN Transceivers
  • Ethernet
  • microsd Card socket
  • Buttons (x2)
  • Buzzer
  • RGB LED, Battery



4.NuMaker-PFM-NUC472 Pin-out

5.程序示例
Example: SD File System
•Access file system backed by SD card in SD bus mode
•Follow file system/block device introduced with Mbed OS 5.4
-NuMaker-mbed-SD-FileSystem-example (new)
-NuMaker-mbed-SDFileSystem-example (deprecated)


•Support target
-NuMaker-PFM-NUC472
-NuMaker-PFM-M453
•New program à Choose Template “NuMaker SD-File-System with SD mode”


Example: SD File System

// SD block device

NuSDBlockDevice bd;

// FAT file system mounted on path “/fs”

FATFileSystem fs("fs");
int main() {

  // Optional: Format SD card to FAT file system

  FATFileSystem::format(&bd);

  // Mount the SD card on “/fs” path

  fs.mount(&bd);

  // Open “/fs/test.txt” for write

  FILE* fd = fopen("/fs/test.txt", "w");

  // Write to “/fs/test.txt”

  fprintf(fd, “Hello file system\n");

  // Close “/fs/test.txt”

  fclose(fd);

  ... ...

使用特权

评论回复
沙发
jiekou001| | 2021-5-10 20:46 | 只看该作者
这个平台只能玩玩,如果开发产品还是够呛。

使用特权

评论回复
板凳
yangxiaor520| | 2021-5-11 07:13 | 只看该作者
新唐的生态开发环境还有待改善

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1881

主题

6432

帖子

8

粉丝