没有合适的资源?快使用搜索试试~ 我知道了~
首页QCA7000 SPI UART Protocol.pdf
资源详情
资源评论
资源推荐
CONTENTS CONTENTS
Contents
1 Revisions 3
2 Introduction 3
3 SPI Physical Layer 3
4 UART Physical Layer 3
5 SPI Command Structure 4
5.1 QCA7000 SPI registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.1 SPI REG BFR SIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.2 SPI REG WRBUF SPC AVA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.3 SPI REG RDBUF BYTE AVA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.4 SPI REG SPI CONFIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.1.5 SPI REG INTR CAUSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.1.6 SPI REG INTR ENABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.1.7 SPI REG SIGNATURE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6 Framing for Ethernet Packets 7
6.1 Transmit Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6.2 SPI Receive Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6.3 UART Receive Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7 Recommended Usage of the SPI 9
7.1 Initial Setup after each QCA7000 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
7.2 Handling SPI Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
7.3 External Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
7.4 External Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
8 Troubleshooting 11
9 Appendix 11
10 Contact 11
2/11
4 UART PHYSICAL LAYER
1 Revisions
5 June 16, 2018 add I2SE address, add example ethernet frame, fix frame
offset in UART transmit description
4 February 7, 2017 additionally describe UART interface to QCA7000
3 April 1, 2016 add SPI data width, add diagrams, add OSI model, fix ini-
tial setup fix interrupt handling, avoid misunderstandings
2 April 21, 2015 added SPI CLK speed, changed EOF fields of transmit
frames to length 2
1 September 30, 2014 initial release
2 Introduction
This application note aims to describe the QCA7000 PLC Chip SPI / UART interface. The documentation was
derived from the original Qualcomm Atheros Linux driver for the QCA7000, which was initially published at https:
//github.com/IoE/qca7000. All information within this document can be derived from this code.
The basis for this document is the status of the driver at the time this document was released initially. It’s focus is
on layers 1 and 2 of the OSI model.
OSI layer Protocol Software component
7 - Application Application Application
6 - Presentation
5 - Session
4 - Transport TCP / UDP TCP / UDP stack
3 - Network IP v4 / v6 IP stack
2 - Data link Ethernet Ethernet over SPI / UART protocol driver
1 - Physical SPI / UART SPI / UART driver
I2SE GmbH does not give any free support for driver development. Please contact us if you want to know conditions
of our paid support.
Note: During development we strongly suggest to have a logic analyzer with the following features:
• at least 5 channels
• at least 24 MHz sampling rate
• SPI / UART decoding
3 SPI Physical Layer
The QCA7000 acts as a SPI slave and uses Mode 3: CPOL=1, CPHA=1.
SPI data width is 8 bit. The SPI CLK period should not be less than 83.3 ns.
The SPI should be used in burst mode, meaning that the chip select is held low during a complete SPI message.
Note: The SPI lines between Host CPU and QCA7000 should be kept as short as possible.
4 UART Physical Layer
The QCA7000 has a 4 wire UART interface (TX, RX, CTS, RTS) where the hardware flow control is optional.
Several UART settings are possible and are configurable with tools that are available under NDA from Qualcomm.
I2SE chose the settings in Table 4 as a default for all UART interfaced modules.
3/11
剩余10页未读,继续阅读
电动小蜜蜂
- 粉丝: 3
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2023年中国辣条食品行业创新及消费需求洞察报告.pptx
- 2023年半导体行业20强品牌.pptx
- 2023年全球电力行业评论.pptx
- 2023年全球网络安全现状-劳动力资源和网络运营的全球发展新态势.pptx
- 毕业设计-基于单片机的液体密度检测系统设计.doc
- 家用清扫机器人设计.doc
- 基于VB+数据库SQL的教师信息管理系统设计与实现 计算机专业设计范文模板参考资料.pdf
- 官塘驿林场林防火(资源监管)“空天地人”四位一体监测系统方案.doc
- 基于专利语义表征的技术预见方法及其应用.docx
- 浅谈电子商务的现状及发展趋势学习总结.doc
- 基于单片机的智能仓库温湿度控制系统 (2).pdf
- 基于SSM框架知识产权管理系统 (2).pdf
- 9年终工作总结新年计划PPT模板.pptx
- Hytera海能达CH04L01 说明书.pdf
- 数据中心运维操作标准及流程.pdf
- 报告模板 -成本分析与报告培训之三.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0