你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

【NUCLEO-L476RG开发】+STM32L476RG从零开始第一次试用

[复制链接]
斜阳 提问时间:2015-11-14 01:16 /
本帖最后由 斜阳__ 于 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注册略过。 MDK5.17.png
2、安装st-Link驱动,按照对应版本解压安装就行了。
3、安装STM32 ST-LINK Utility,同样一路next即可。好像ST-LINK Utility会自动安装ST-link的驱动(我还没有验证)。 ST-Liink.png
至此环境已经配置完成。
二、编译例程
1、解压cube包,在STM32Cube_FW_L4_V1.0.0\Projects\STM32L476RG-Nucleo\Examples\目录下有多个例程可以测试。先一个喜欢的打开,我选的是UART\UART_TwoBoards_ComIT__。打开例子按图进行一下配置
Keil_con1.png Keil_con2.png Keil_con3.png Keil_con4.png Keil_con5.png

2,此时可以编译,并下载了。
三、由于还不会使用Cube,所以作为一个新手的第一次试用到此为止了。等到L476摸熟了,再回来发一篇有点含量的帖子。
资料下载https://pan.baidu.com/s/1c0qeNT2

评分

参与人数 1 ST金币 +10 收起 理由
沐紫 + 10

查看全部评分

收藏 1 评论10 发布时间:2015-11-14 01:16

举报

10个回答
qianfan 回答时间:2015-11-14 14:39:22
斜阳__ 发表于 2015-11-14 01:31
图片排版怎么弄啊。。顺序调不过来

上传完图片之后,在合适的位置点击一下你上传的图片。

插入第一张图片:
011729sdqkf5y7ayzokapq.png

插入第二张图片:在上传图片中可以看到你上传的图片。这时候用鼠标点击一下,就能插入到你光标所在的地方了。
2015-11-14 14:37:31屏幕截图.png

斜阳 回答时间:2015-11-14 01:31:10
图片排版怎么弄啊。。顺序调不过来
yanhaijian 回答时间:2015-11-14 09:26:07
多多写点文章分享。
肽宰1 回答时间:2015-11-14 10:33:28
感谢分享
风子 回答时间:2015-11-14 12:45:17
谢谢分享.png
mark0668 回答时间:2015-11-14 14:27:58
不是发附件,是发图片.
埃斯提爱慕 回答时间:2015-11-14 21:52:08
提示: 作者被禁止或删除 内容自动屏蔽
斜阳 回答时间:2015-11-15 00:13:08
QianFan 发表于 2015-11-14 14:39
上传完图片之后,在合适的位置点击一下你上传的图片。

插入第一张图片:

√get 谢谢
alvin_ 回答时间:2015-11-15 09:50:22
呵呵……
哈哈哈11223 回答时间:2018-10-12 10:20:16
感谢分享
关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新和工艺
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版