2021-02-11 23:33:38 +08:00
|
|
|
|
# Maxim-MAX32660- EVSYS说明
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
|
|
|
|
## 简介
|
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
该文件夹主要存放所有主芯片为MAX32660的板级支持包。开发板上面的主芯片是[MAX32660](https://www.maximintegrated.com/en/products/microcontrollers/MAX32660.html)
|
|
|
|
|
|
|
|
|
|
芯片Datasheet: [MAX32660_datasheet](https://datasheets.maximintegrated.com/en/ds/MAX32660.pdf)
|
|
|
|
|
|
|
|
|
|
芯片User Guide:[MAX32660_UserGuide](https://pdfserv.maximintegrated.com/en/an/AN6659.pdf)
|
|
|
|
|
|
|
|
|
|
开发板介绍页面: [MAX32660-EVSYS](https://www.maximintegrated.com/en/products/microcontrollers/MAX32660-EVSYS.html)
|
|
|
|
|
|
|
|
|
|
开发板datasheet: [MAX32660-EVSYS.pdf)](https://datasheets.maximintegrated.com/en/ds/MAX32660-EVSYS.pdf)
|
|
|
|
|
|
2021-02-12 00:28:44 +08:00
|
|
|
|
支持IDE: [keil pack](http://www.mxim.net/microcontroller/pack/Maxim.MAX32660.1.2.0.pack), [eclipse](https://www.maximintegrated.com/en/design/software-description.html/swpart=SFW0001500A)
|
2021-02-11 23:33:38 +08:00
|
|
|
|
|
2021-02-06 07:36:26 +08:00
|
|
|
|
本文主要内容如下:
|
|
|
|
|
|
|
|
|
|
- 开发板资源介绍
|
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
## MAX32660芯片介绍
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
- RAM 96KB 0x20000000~0x20018000
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
- ROM 256KB 0x0 ~ 0x40000
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
- 16KB I-cache
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
- UART 2个 UART0 UART1
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
- GPIO 14个
|
|
|
|
|
|
|
|
|
|
- I2C 2个 Master/Slave 高速3.4Mbps
|
|
|
|
|
|
|
|
|
|
- ARM Cortex-M4F, 96MHz
|
|
|
|
|
|
|
|
|
|
- MPU
|
|
|
|
|
|
|
|
|
|
- SPI 2个 Master/Slave
|
|
|
|
|
|
|
|
|
|
- I2S Master/Slave
|
|
|
|
|
|
|
|
|
|
- 4 channel DMA
|
|
|
|
|
|
|
|
|
|
- 3个 32bit Timer
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
- Watchdog
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
- RTC
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 开发板介绍
|
|
|
|
|
|
|
|
|
|
MAX32660-EVSYS是美信官方的开发板,搭载MAX32660芯片,基于ARM Cortex-M4F内核,最高主频96MHz,具有丰富的外设资源,内核带有FPU。
|
|
|
|
|
|
|
|
|
|
开发板外观如下图所示
|
|
|
|
|
|
|
|
|
|
![](doc/images/board.jpg)
|
|
|
|
|
|
|
|
|
|
MAX32660-EVSYS开发板常用 **板载资源** 如下:
|
|
|
|
|
|
|
|
|
|
- MCU:MAX32660
|
|
|
|
|
- 板载设
|
|
|
|
|
- LED:1个,GPIO P0_13 ,高电平点亮,低电平灭 。
|
|
|
|
|
- 按键:1个,GPIO P0_12, 按下低电平,松开高电平。
|
|
|
|
|
- 调试接口:板载CMSIS-DAP调试器。
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
|
|
|
|
## 外设支持
|
|
|
|
|
|
|
|
|
|
本 BSP 目前对外设的支持情况如下:
|
|
|
|
|
|
2021-02-12 00:28:44 +08:00
|
|
|
|
| **片上外设** | **支持情况** | **备注** |
|
|
|
|
|
| :----------- | :----------: | :-------------------: |
|
2021-02-16 08:53:51 +08:00
|
|
|
|
| GPIO | 支持 | |
|
2021-02-12 00:28:44 +08:00
|
|
|
|
| UART | 支持 | UART0, UART1(console) |
|
|
|
|
|
| PWM | | |
|
2021-02-16 08:53:51 +08:00
|
|
|
|
| SPI | 支持 | SPI0, SPI1 |
|
2021-03-20 17:14:55 +08:00
|
|
|
|
| RTC | 支持 | RTC |
|
2021-02-12 00:28:44 +08:00
|
|
|
|
| I2S | | |
|
2021-02-26 17:41:56 +08:00
|
|
|
|
| I2C | 支持 | I2C0, I2C1 |
|
2021-02-12 00:28:44 +08:00
|
|
|
|
| TIMER | | |
|
|
|
|
|
| Watchdog | | |
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 进阶使用
|
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
此 BSP 默认只开启了串口 的功能,更多高级功能需要利用 env 工具对 BSP 进行配置,步骤如下:
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
|
|
|
|
1. 在 bsp 下打开 env 工具。
|
|
|
|
|
|
|
|
|
|
2. 输入`menuconfig`命令配置工程,配置好之后保存退出。
|
|
|
|
|
|
2021-02-26 23:24:30 +08:00
|
|
|
|
4. 输入`scons --target=mdk5/vsc命令重新生成工程。
|
2021-02-06 07:36:26 +08:00
|
|
|
|
|
|
|
|
|
## 注意事项
|
|
|
|
|
|
2021-02-26 23:24:30 +08:00
|
|
|
|
目前支持keil和GCC环境
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## FAQ
|
|
|
|
|
|
|
|
|
|
### GCC环境如何调试使用
|
|
|
|
|
|
|
|
|
|
第一步,需要配置arm-none-eabi-gcc路径到系統环境变量中去或者在rtconfig.py中EXEC_PATH 修改路径
|
|
|
|
|
|
|
|
|
|
第二步,添加openocd的路径,如果你安装了eclipse,添加以下路径到系统环境变量中
|
|
|
|
|
|
|
|
|
|
`C:\Maxim\Toolchain\bin`
|
|
|
|
|
|
|
|
|
|
完成这两部就可以用vscode打开bsp目录了。
|
|
|
|
|
|
|
|
|
|
快捷键ctrl+shift+b可以执行scons编译命令
|
|
|
|
|
|
|
|
|
|
快捷键F5可以进入调试命令
|
|
|
|
|
|
|
|
|
|
如果需要调试之前执行build命令,在luanch.json里面打开注释
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
//"preLaunchTask": "build"
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 23:33:38 +08:00
|
|
|
|
|
2021-02-06 07:36:26 +08:00
|
|
|
|
## 联系人信息
|
|
|
|
|
|
|
|
|
|
维护人:
|
|
|
|
|
|
2021-03-20 17:14:55 +08:00
|
|
|
|
- [supperthomas], 邮箱:<78900636@qq.com>
|