【NUCLEO-L476RG开发】+STM32L476RG从零开始第一次试用
本帖最后由 斜阳__ 于 2015-11-15 12:16 编辑论坛抢的板子已经到了些天了。其实已经试过了。由于平时没有发帖的习惯,所以一直没发贴。这次应要求发篇帖子。
零、STM32L476 特性
Ultra-low-power with FlexPowerControl
– 1.71 V to 3.6 V power supply
– -40 °C to 85/105/125 °C temperature range
– 300 nA in VBAT mode: supply for RTC and
32x32-bit backup registers
– 30 nA Shutdown mode (5 wakeup pins)
– 120 nA Standby mode (5 wakeup pins)
– 420 nA Standby mode with RTC
– 1.1 μA Stop 2 mode, 1.4 μA Stop 2 with
RTC
– 100 μA/MHz run mode
– Batch acquisition mode (BAM)
– 4 μs wakeup from Stop mode
– Brown out reset (BOR) in all modes except
shutdown
– Interconnect matrix
• Core: ARM® 32-bit Cortex®-M4 CPU with FPU,
Adaptive real-time accelerator (ART
Accelerator™) allowing 0-wait-state execution
from Flash memory, frequency up to 80 MHz,
MPU, 100DMIPS/1.25DMIPS/MHz (Dhrystone
2.1), and DSP instructions
• Clock Sources
– 4 to 48 MHz crystal oscillator
– 32 kHz crystal oscillator for RTC (LSE)
– Internal 16 MHz factory-trimmed RC (±1%)
– Internal low-power 32 kHz RC (±5%)
– Internal multispeed 100 kHz to 48 MHz
oscillator, auto-trimmed by LSE (better than
±0.25 % accuracy)
– 3 PLLs for system clock, USB, audio, ADC
• RTC with HW calendar, alarms and calibration
• LCD 8 × 40 or 4 × 44 with step-up converter
• Up to 24 capacitive sensing channels: support
touchkey, linear and rotary touch sensors
• 16x timers: 2x 16-bit advanced motor-control,
2x 32-bit and 5x 16-bit general purpose, 2x 16-
bit basic, 2x low-power 16-bit timers (available
in Stop mode), 2x watchdogs, SysTick timer
• Up to 114 fast I/Os, most 5 V-tolerant, up to 14
I/Os with independent supply down to 1.08 V
• Memories
– Up to 1 MB Flash, 2 banks read-whilewrite,
proprietary code readout protection
– Up to 128 KB of SRAM including 32 KB
with hardware parity check
– External memory interface for static
memories supporting SRAM, PSRAM,
NOR and NAND memories
– Quad SPI memory interface
• 4x digital filters for sigma delta modulator
• Rich analog peripherals (independent supply)
– 3× 12-bit ADC 5 Msps, up to 16-bit with
hardware oversampling, 200 μA/Msps
– 2x 12-bit DAC, low-power sample and hold
– 2x operational amplifiers with built-in PGA
– 2x ultra-low-power comparators
• 18x communication interfaces
– USB OTG 2.0 full-speed, LPM and BCD
– 2x SAIs (serial audio interface)
– 3x I2C FM+(1 Mbit/s), SMBus/PMBus
– 6x USARTs (ISO 7816, LIN, IrDA, modem)
– 3x SPIs (4x SPIs with the Quad SPI)
– CAN (2.0B Active) and SDMMC interface
– SWPMI single wire protocol master I/F
• 14-channel DMA controller
• True random number generator
• CRC calculation unit, 96-bit unique ID
• Development support: serial wire debug
(SWD), JTAG, Embedded Trace Macrocell™
一、首先是开发环境
1、按照以往的习惯,继续试用keil,MDK5.17及芯片资料,ST-Link驱动,Cube已经打包在末尾提供下载。
由于弘扬正版的需要,我并不会想百度上其他的人那样给出破解工具。l
经过一路NEXT,Kei就安装完成了。keil注册略过。
2、安装st-Link驱动,按照对应版本解压安装就行了。
3、安装STM32 ST-LINK Utility,同样一路next即可。好像ST-LINK Utility会自动安装ST-link的驱动(我还没有验证)。
至此环境已经配置完成。
二、编译例程
1、解压cube包,在STM32Cube_FW_L4_V1.0.0\Projects\STM32L476RG-Nucleo\Examples\目录下有多个例程可以测试。先一个喜欢的打开,我选的是UART\UART_TwoBoards_ComIT__。打开例子按图进行一下配置
2,此时可以编译,并下载了。
三、由于还不会使用Cube,所以作为一个新手的第一次试用到此为止了。等到L476摸熟了,再回来发一篇有点含量的帖子。
资料下载https://pan.baidu.com/s/1c0qeNT2
斜阳__ 发表于 2015-11-14 01:31
图片排版怎么弄啊。。顺序调不过来
上传完图片之后,在合适的位置点击一下你上传的图片。
插入第一张图片:
插入第二张图片:在上传图片中可以看到你上传的图片。这时候用鼠标点击一下,就能插入到你光标所在的地方了。
图片排版怎么弄啊。。顺序调不过来:L:L 多多写点文章分享。 感谢分享
不是发附件,是发图片. 新手贴 QianFan 发表于 2015-11-14 14:39
上传完图片之后,在合适的位置点击一下你上传的图片。
插入第一张图片:
√get 谢谢 呵呵……
页:
[1]
2