没有合适的资源?快使用搜索试试~ 我知道了~
首页KNX协议栈开发板资料(stm32)
资源详情
资源评论
资源推荐
KNX Development Kit (Platform Interface for STM32): Manual
WEINZIERL ENGINEERING GmbH
2012-05-21 Page 2/25
Contents
1 General ..................................................................................................................... 4
2 Modules of the platform interface (PFI) ................................................................. 5
2.1 Pfi_Clock ..................................................................................................................... 5
2.2 PfiCpu ......................................................................................................................... 6
2.3 PfiLl ............................................................................................................................. 7
2.4 PfiMask ....................................................................................................................... 7
2.5 PfiPorts ..................................................................................................................... 10
2.6 PfiRo ......................................................................................................................... 10
2.7 PfiRun ....................................................................................................................... 11
2.8 PfiRw ......................................................................................................................... 11
2.9 PfiTm ......................................................................................................................... 12
2.10 PfiTrace ..................................................................................................................... 13
3 System Driver Modules (DRV) ............................................................................. 14
3.1 DrvFlash .................................................................................................................... 14
3.2 DrvLlUart ................................................................................................................... 14
3.3 DrvRecTab ................................................................................................................ 15
3.4 DrvTraceUart ............................................................................................................ 16
4 STM32 Standard Peripheral Library .................................................................... 17
5 File list .................................................................................................................... 18
6 Hardware design ................................................................................................... 20
6.1 Base board ............................................................................................................... 20
6.2 KNX modules for twisted pair (TP) .......................................................................... 22
6.2.1 TP-UART module ............................................................................................................... 22
6.2.2 Elmos E981.03 module ...................................................................................................... 22
6.2.3 ON Semiconductor NCN5120 module................................................................................ 23
6.3 Microcontroller modules.......................................................................................... 24
6.4 Development board ready to start .......................................................................... 25
KNX Development Kit (Platform Interface for STM32): Manual
WEINZIERL ENGINEERING GmbH
2012-05-21 Page 3/25
Document History
State
Date
Author
Release
2012-01-27
Hl
Update of contact information
2012-05-21
Hl
KNX Development Kit (Platform Interface for STM32): Manual
WEINZIERL ENGINEERING GmbH
2012-05-21 Page 4/25
1 General
The KNX Stack of Weinzierl Engineering uses a specific hardware access. To separate the
source code of the KNX Stack from hardware specific accesses, the platform interface has been
introduced.
The platform interface gets access to the hardware directly. In complex cases, the platform
interface is extended through system drivers.
The platform interface is part of the KNX Stack firmware, but strictly separated from the
common KNX kernel. Figure 1 shows the layout of the KNX Stack.
MAIN
KnxMem
Virtual Memory
Init
KnxMsg
Stack
Msg-Handling
KnxRam
Virtual
RAM
KnxMan
Management
Trace
KnxNl
Network Layer
KnxLl
Link Layer
KnxTl
Transport Layer
KnxAl
Application Layer
Loop: Diagnostics
System
Application
App.-Specific
HW-Drivers
App
App.-Init
App.-Main
App.-Save
KnxRun
Run-State-Mach.
KnxProp
Knx Objects
KnxLc
Load-State-Mach.
KnxBuf
Message- Buffer
KnxRo
Read-
Only
KnxRw
Read-
Write
KnxTm
Timer
PfiRw
PfiRo PfiMask PfiCpu
PfiLl
PfiClock PfiPorts PfiTrace
PfiTm
System Driver
Figure 1: Firmware KNX Stack
The platform interface shall be used by the KNX Stack and if needed by the application.
Contrary to this case the platform interface shall not use stack or application functions.
KNX Development Kit (Platform Interface for STM32): Manual
WEINZIERL ENGINEERING GmbH
2012-05-21 Page 5/25
2 Modules of the platform interface (PFI)
The modules are subdivided in their functionality.
2.1 Pfi_Clock
The clock module of the platform interface is not only responsible for the clock settings such as
an external crystal, but also for the watchdog.
Clock Settings
The main function calls PfiClock_Init before the main loop starts.
This function does the initialization of the clock system using the STM32F10x Standard
Peripherals Library. The clock of the crystal has to be set in the preprocessor options of the IAR
Embedded Workbench using the defined symbol HSE_VALUE:
HSE_VALUE=((uint32_t)4915200)
Here the crystal clock is set to 4,9152 MHz.
Figure 2: Preprocessor Options
剩余24页未读,继续阅读
他的果果
- 粉丝: 2
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2022年中国足球球迷营销价值报告.pdf
- 房地产培训 -营销总每天在干嘛.pptx
- 黄色简约实用介绍_汇报PPT模板.pptx
- 嵌入式系统原理及应用:第三章 ARM编程简介_3.pdf
- 多媒体应用系统.pptx
- 黄灰配色简约设计精美大气商务汇报PPT模板.pptx
- 用matlab绘制差分方程Z变换-反变换-zplane-residuez-tf2zp-zp2tf-tf2sos-sos2tf-幅相频谱等等.docx
- 网络营销策略-网络营销团队的建立.docx
- 电子商务示范企业申请报告.doc
- 淡雅灰低面风背景完整框架创业商业计划书PPT模板.pptx
- 计算模型与算法技术:10-Iterative Improvement.ppt
- 计算模型与算法技术:9-Greedy Technique.ppt
- 计算模型与算法技术:6-Transform-and-Conquer.ppt
- 云服务安全风险分析研究.pdf
- 软件工程笔记(完整版).doc
- 电子商务网项目实例规划书.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论8