0
100% Satisfaction Guarantee
Amazing Value
Fast Shipping
Expert Customer Service
原子教你玩STM32(寄存器版)(第2版)
$32.00
作者继《例说STM32》《精通STM32F4》...
作者继《例说STM32》《精通STM32F4》等畅销书之后的又一力作,结合大量的开发实例和技巧,讲解由浅入深,循序渐进,适合各个层次的读者阅读;同时,配套资料丰富,读者可以实时和作者互动交流,方便学校、提高。
★再版图书,技术更新,紧跟读者需求
★讲解由浅入深,循序渐进,适合各个层次的读者阅读 ★大量的开发实例和技巧,迅速提升开发水平
★配套资料丰富,并且读者可以实时和作者互动交流
《原子教你玩STM32》有两个版本:库函数版本和寄存器版本。本书为寄存器版本,由浅入深,带领大家进入STM32的世界。本书总共分为3篇:①硬件篇,主要介绍本书的实验平台;②软件篇,主要介绍STM32开发软件的使用以及一些下载调试的技巧,并详细介绍几个常用的系统文件(程序);③实战篇,详细介绍42个实例,从简单的开始,循序渐进,带领大家慢慢掌握STM32。每个实例均配有软硬件设计,且附上实例代码以及详细注释,方便读者快速理解。本书是再版书,相比第1版,主要对硬件平台、开发环境、SYSTEM文件夹以及相关例程进行了更新。
本书配套资料可以供读者免费下载,包括详细原理图以及所有实例的完整代码。这些代码都有详细的注释,所有源码都经过严格测试;另外,源码有生成好的.hex文件,读者只需要通过串口下载到开发板即可看到实验现象,从而亲自体验实验过程。
刘军,网名“正点原子”,实践经验丰富,活跃于EDN、eeworld等各大论坛;张洋,ALIENTEK工作室成员,实践经验丰富。共同出版过《例说STM32》《精通STM32F4》等“正点原子教你学嵌入式系列丛书”,受到读者高度认可。
第1篇硬件篇
第1章实验平台简介2
1.1ALIENTEK战舰STM32F103资源初探2
1.2ALIENTEK战舰STM32F103资源说明4
1.2.1硬件资源说明5
1.2.2软件资源说明11
1.2.3战舰V3 I/O引脚分配12
第2章实验平台硬件资源详解17
2.1开发板原理图详解17
2.2开发板使用注意事项35
2.3STM32F103学习方法36
第2篇软件篇
第3章MDK5软件入门39
3.1MDK5简介39
3.2新建MDK5工程40
3.3MDK5使用技巧51
3.3.1文本美化51
3.3.2语法检测&代码提示54
3.3.3代码编辑技巧55
3.3.4其他小技巧59
第4章下载与调试61
4.1STM32F1软件仿真61
4.2STM32F1程序下载66
4.3STM32F1在线调试70
第5章SYSTEM文件夹介绍75
5.1delay文件夹代码介绍75
5.1.1操作系统支持宏定义及相关函数
5.1.2delay_init函数78
5.1.3delay_us函数79
5.1.4delay_ms函数81
5.2sys文件夹代码介绍82
5.2.1I/O口的位操作实现82
5.2.2Stm32_Clock_Init函数84
5.2.3Sys_Soft_Reset函数87
5.2.4Sys_Standby函数88
5.2.5JTAG_Set函数90
5.2.6中断管理函数90
5.3usart文件夹介绍96
5.3.1USART1_IRQHandler函数
5.3.2uart_init函数98
第3篇实战篇
第6章跑马灯实验102
第7章按键输入实验110
第8章串口通信实验118
第9章外部中断实验125
第10章独立看门狗(IWDG)实验
第11章窗口看门狗(WWDG)实验
第12章定时器中断实验140
第13章PWM输出实验146
第14章输入捕获实验152
第15章TFTLCD显示实验160
第16章USMART调试组件实验
第17章RTC实时时钟实验197
第18章待机唤醒实验211
第19章ADC实验218
第20章光敏传感器实验228
第21章DAC实验232
第22章DMA实验241
第23章IIC实验249
第24章SPI实验258
第25章RS485实验266
第26章CAN通信实验273
第27章触摸屏实验299
第28章红外遥控实验321
第29章DS18B20数字温度传感器实验
第30章6轴传感器MPU6050实验
第31章Flash模拟EEPROM实验
第32章摄像头实验365
第33章外部SRAM实验379
第34章内存管理实验386
第35章SD卡实验395
第36章FATFS实验415
第37章汉字显示实验428
第38章图片显示实验442
第39章音乐播放器实验452
第40章串口IAP实验465
第41章USB虚拟串口实验479
第42章USB读卡器实验491
第43章网络通信实验496
第44章μC/OSII实验1——任务调度512
第45章μC/OSII实验2——信号量和邮箱520
第46章μC/OSII实验3——消息队列、信号量集和软件定时器
第47章战舰V3综合测试实验
本书第1版自2013年发布以来,深得广大网友的喜爱,同时也提出了很多建设性意见,对此深表感谢。考虑到开发板的更新,特此进行了再版,相比第1版,本书主要做了以下几点更新:
① 硬件平台的变更。
本书针对的硬件平台是ALIENTEK战舰STM32开发板 V3.0及以后版本,设计更合理。本书大部分例程在V3.0之前的开发板上均能直接使用,部分例程得做适当修改才可以在之前版本使用。V3.0平台与之前平台的资源变更明细详见本书1.3节。
② 开发环境的变更。
本书采用MDK的集成开发环境MDK5.14作为STM32的开发环境,而之前版本采用的是MDK3.80A开发环境。
③ 例程变更。
ALIENTEK战舰STM32开发板V3.0在原来版本上删减了一些不常用的功能(收音机/PS2接口等),增加了常用的网卡等外设,所以例程也有所变更,详见1.2.2小节。
④ SYSTEM文件夹变更。
老版本提供的SYSTEM文件夹和V3.5库函数共用存在一些兼容性问题(老版本SYSTEM文件夹采用的是V2.0的库),新书全部采用V3.5的库头文件,所以例程可以很方便地移植到库函数下面使用,更加方便实用。
Shipping Overview:
• Shipping: Standard Domestic Shipping within the United States charges USD 4.99. Standard International Shipping from United Kingdom, Germany and Japan to the United States charges 14.99.
• Order Processing: Please allow 1-2 business days for order processing and preparation before shipment.
• Domestic Shipping: Orders within the U.S. are shipped via USPS or FedEx, depending on the origin of the product. The average transit time is 3-7 business days.
• International Shipping: Currently, we only ship within the USA.
• Tracking Information: Every order is trackable. You will receive a tracking number once your order has been shipped. Products may be shipped from various global fulfillment centers.
Shipping Delays:
Please note that shipping times may vary due to factors beyond our control, such as weather conditions, natural disasters, or peak holiday periods. While we strive to ensure timely delivery, the exact arrival time cannot be guaranteed and is managed by the shipping carrier.
Shipping Options:
Standard Delivery: Most orders are shipped within 3-7 business days. Larger items may utilize LTL shipping for safe handling.
Handling Time: We handle shipments on business days (Monday - Friday), with a preparation time of 1-2 days.
Additional Charges: Some items require additional shipping charges due to their size, weight, or special handling. These charges are specified on the product pages and are not eligible for shipping discounts.
Exclusions: Gift cards, packaging, taxes, and prior purchases do not count toward the minimum purchase requirement for free shipping. This offer is valid only for shipments to U.S. addresses, including Puerto Rico.
Delivery Details:
Estimates: Standard shipping within the US typically takes 3-7 business days. These are estimates and not guarantees.
Shipping Restrictions: We ship to all 50 states, Washington, DC, U.S. territories, and APO/FPO/DPO addresses. Shipping options vary based on the delivery address.
Remote Areas: Shipments to remote areas may incur additional charges or require pickup from a nearby shipping partner’s location.
Shipping Confirmation:
You will receive a shipping confirmation email with a tracking number as soon as your order is dispatched. If you do not receive this email immediately, please be assured that your items will arrive within the estimated delivery window provided at checkout.
Order Modifications:
If you need to cancel or modify your order, please contact our customer support immediately.
Issues with Delivery:
If your order shows as delivered but you have not received it, please contact the shipping carrier directly to resolve the issue. For persistent problems, contact our customer service at cs@everymarket.com.
Customer Support:
Our team is available 24/7 to assist you with any questions or concerns regarding your order. We are committed to ensuring a smooth shopping experience.
Return & Refund Policy Overview
Please review our return and refund policies below to ensure a smooth transaction process.
Return Policy
Duration: You have 30 days from receiving your item to initiate a return.
Condition: Items must be unworn, unwashed, with original tags and packaging intact.
Shipping Costs: Customers are responsible for return shipping costs.
Packaging: Ensure returned items are well-packaged to avoid damage during transit.
Tracking: Use a trackable and insured shipping method as we are not liable for items lost or damaged on return.
Initiating a Return: Contact us at cs@everymarket.com to start your return. We will provide a return shipping label and instructions upon approval. Returns without prior approval will not be accepted.
How to Return
Method: Returns must be sent back by mail to the address provided in the return instructions.
Return Label
Defective Products: Return labels are provided for defective items.
Non-Defective Returns: Customers are responsible for obtaining their return shipping label.
Product Conditions for Return
Eligible Products: Returns are only accepted for items in new condition.
Nonreturnable Items
Certain items are not eligible for return:
Electronic devices after 30 days (e.g., computers, laptops, Kindles)
Gift cards, prepaid game cards
Perishable goods, live insects, some jewelry, some health and personal care items
Customized or personalized products
Items with special shipping restrictions
Refund Policy
Window: Eligible products may be returned within 30 days of delivery for a refund.
Refund Method: Refunds are processed to the original payment method or as store credit for items purchased with gift cards.
Processing Time: Refunds are processed within 3-5 business days after we receive the return; please allow additional time for shipping and bank processing.
Claims
Inspect your order upon arrival and report any defects, damages, or incorrect items immediately to allow us to address the issue. For claims, contact our support team with details of the issue.
Exchange Policy
For the quickest service, return your original item and place a new order for the desired product once your return is accepted.
Return Address
EveryMarket Customer Service 2101 E Terra Ln, O'Fallon, MO 63366
Customer Support
Available 24/7 for any questions or assistance needed:
Phone: +1 636-312-5925
Email: cs@everymarket.com
Oops!
Sorry, it looks like some products are not available in selected quantity.
OK