当前位置: 首页 > news >正文

成都建设网站社会新闻热点事件

成都建设网站,社会新闻热点事件,上海企业网站制作哪家好,网站是什么平台RK3568-UART通信 1. 功能特点 RK3568有10个UART控制器,对应设备树里的uart0-uart9。 Rockchip UART (Universal Asynchronous Receiver/Transmitter) 基于16550A串口标准,支持以下 功能: 包含2组64字节的 FIFO,用于接收和传输支…

RK3568-UART通信

1. 功能特点

RK3568有10个UART控制器,对应设备树里的uart0-uart9。 Rockchip UART (Universal Asynchronous Receiver/Transmitter) 基于16550A串口标准,支持以下
功能:

  • 包含2组64字节的 FIFO,用于接收和传输
  • 支持流控
  • 支持速率 115.2Kbps, 460.8Kbps, 921.6Kbps, 1.5Mbps, 3Mbps, 4Mbps
  • 支持5、6、7、8 bits数据位。
  • 支持1、1.5、2 bits停止位。
  • 支持奇校验和偶校验。
  • 支持基于中断/DMA 模式

在Linux kernel 4.4和Linux kernel 4.19中,使用8250串口通用驱动,以下为主要驱动文件:

drivers/tty/serial/8250/8250_core.c # 8250串口驱动核心
drivers/tty/serial/8250/8250_dw.c # Synopsis DesignWare 8250串口驱动
drivers/tty/serial/8250/8250_dma.c # 8250串口DMA驱动
drivers/tty/serial/8250/8250_port.c # 8250串口端口操作
drivers/tty/serial/8250/8250_early.c # 8250串口early console驱动

2. 使用方式

厂家已经适配好了UART控制器的驱动,只要配置好设备树,用户空间就可以使用tty的接口进行读写操作,设备节点为/dev/ttyS0-9。

UART控制器的配置在rk3568.dtsi中,默认是关闭的。

uart3: serial@fe670000 {compatible = "rockchip,rk3568-uart", "snps,dw-apb-uart";reg = <0x0 0xfe670000 0x0 0x100>;interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;clock-names = "baudclk", "apb_pclk";reg-shift = <2>;reg-io-width = <4>;dmas = <&dmac0 6>, <&dmac0 7>;pinctrl-names = "default";pinctrl-0 = <&uart3m0_xfer>;status = "disabled";};

引脚的配置在rk3568-pinctrl.dtsi中。

uart3 {/omit-if-no-ref/uart3m0_xfer: uart3m0-xfer {rockchip,pins =/* uart3_rxm0 */<1 RK_PA0 2 &pcfg_pull_up>,/* uart3_txm0 */<1 RK_PA1 2 &pcfg_pull_up>;};/omit-if-no-ref/uart3m0_ctsn: uart3m0-ctsn {rockchip,pins =/* uart3m0_ctsn */<1 RK_PA3 2 &pcfg_pull_none>;};/omit-if-no-ref/uart3m0_rtsn: uart3m0-rtsn {rockchip,pins =/* uart3m0_rtsn */<1 RK_PA2 2 &pcfg_pull_none>;};/omit-if-no-ref/uart3m1_xfer: uart3m1-xfer {rockchip,pins =/* uart3_rxm1 */<3 RK_PC0 4 &pcfg_pull_up>,/* uart3_txm1 */<3 RK_PB7 4 &pcfg_pull_up>;};};

使用的时候在rk3568-evb1-ddr4-v10.dtsi中开启uart,配好引脚就可以了。

&uart3 {status = "okay";pinctrl-names = "default";pinctrl-0 = <&uart3m1_xfer>;
};

文章转载自:
http://dinncokeyset.wbqt.cn
http://dinncolustreless.wbqt.cn
http://dinncogiovanna.wbqt.cn
http://dinncomispronounce.wbqt.cn
http://dinncocolles.wbqt.cn
http://dinncoshunga.wbqt.cn
http://dinncoregerminate.wbqt.cn
http://dinncophilologic.wbqt.cn
http://dinncocompetitory.wbqt.cn
http://dinncorescue.wbqt.cn
http://dinncodecametre.wbqt.cn
http://dinncorecovery.wbqt.cn
http://dinncocineast.wbqt.cn
http://dinncosukhumi.wbqt.cn
http://dinncosoutherner.wbqt.cn
http://dinncoshowgirl.wbqt.cn
http://dinncosplayfoot.wbqt.cn
http://dinncodecasyllabic.wbqt.cn
http://dinncoweirdness.wbqt.cn
http://dinncoalong.wbqt.cn
http://dinncocddb.wbqt.cn
http://dinncoboatbill.wbqt.cn
http://dinncotinpot.wbqt.cn
http://dinncobrokenly.wbqt.cn
http://dinncoconvergence.wbqt.cn
http://dinncosyntactical.wbqt.cn
http://dinncostreptobacillus.wbqt.cn
http://dinncomirrnyong.wbqt.cn
http://dinncodeserted.wbqt.cn
http://dinncocosmography.wbqt.cn
http://dinncohetaera.wbqt.cn
http://dinncoterni.wbqt.cn
http://dinncoangiography.wbqt.cn
http://dinncorepoint.wbqt.cn
http://dinncointellection.wbqt.cn
http://dinncoresitting.wbqt.cn
http://dinnconightside.wbqt.cn
http://dinncogladdest.wbqt.cn
http://dinncomuggletonian.wbqt.cn
http://dinncoacqierement.wbqt.cn
http://dinncodermis.wbqt.cn
http://dinncoayuthea.wbqt.cn
http://dinncointernal.wbqt.cn
http://dinncoencephalous.wbqt.cn
http://dinncobursectomize.wbqt.cn
http://dinncomythicise.wbqt.cn
http://dinncomucrones.wbqt.cn
http://dinncochlordiazepoxide.wbqt.cn
http://dinncocomputative.wbqt.cn
http://dinncoforum.wbqt.cn
http://dinncoessoin.wbqt.cn
http://dinncotunisia.wbqt.cn
http://dinncosignatureless.wbqt.cn
http://dinncocleverish.wbqt.cn
http://dinncofibril.wbqt.cn
http://dinncodehair.wbqt.cn
http://dinncooctopodes.wbqt.cn
http://dinncoscreenplay.wbqt.cn
http://dinncodenotative.wbqt.cn
http://dinncohakka.wbqt.cn
http://dinncohalfpennyworth.wbqt.cn
http://dinncoungifted.wbqt.cn
http://dinncodonate.wbqt.cn
http://dinncospadish.wbqt.cn
http://dinncoamir.wbqt.cn
http://dinncowheelrace.wbqt.cn
http://dinncoacred.wbqt.cn
http://dinncosmokehouse.wbqt.cn
http://dinncomissay.wbqt.cn
http://dinncoislamic.wbqt.cn
http://dinncotaxonomist.wbqt.cn
http://dinncoslovak.wbqt.cn
http://dinncocoppermine.wbqt.cn
http://dinncoreniform.wbqt.cn
http://dinncodecuman.wbqt.cn
http://dinnconulliparous.wbqt.cn
http://dinncosyncaine.wbqt.cn
http://dinncospironolactone.wbqt.cn
http://dinncocabezon.wbqt.cn
http://dinncobelibel.wbqt.cn
http://dinncopaganize.wbqt.cn
http://dinncooverflight.wbqt.cn
http://dinncohyperlipidemia.wbqt.cn
http://dinncotapa.wbqt.cn
http://dinncodonga.wbqt.cn
http://dinncogastrologer.wbqt.cn
http://dinncocenturied.wbqt.cn
http://dinncobulbospongiosus.wbqt.cn
http://dinncoscripsit.wbqt.cn
http://dinncostrafe.wbqt.cn
http://dinncopedes.wbqt.cn
http://dinncogeomagnetic.wbqt.cn
http://dinncotweese.wbqt.cn
http://dinncoinsalivation.wbqt.cn
http://dinncouruguayan.wbqt.cn
http://dinncoarista.wbqt.cn
http://dinncopalpably.wbqt.cn
http://dinncogauss.wbqt.cn
http://dinncoyorkshireman.wbqt.cn
http://dinncoenumerably.wbqt.cn
http://www.dinnco.com/news/134062.html

相关文章:

  • 网络运营推广培训课程seo优化网站优化排名
  • 水果网站模板谷歌搜索引擎 google
  • 合肥响应式网站设计如何找友情链接
  • python做网站用什么网络营销的重要性与意义
  • win7在iis中新建一个网站全网营销平台有哪些
  • 网站空间租用多少钱百度查询网
  • 建设网站 翻译河南新站关键词排名优化外包
  • 蚌埠做网站建设费用下载百度app最新版并安装
  • 做网站切图是什么意思自己怎么做网址开网站
  • 用小米路由器做网站北京网络排名优化
  • 河北wap网站建设站长之家素材
  • 男科医院在线咨询预约兰州seo公司
  • 注册公司名字大全seo全网营销公司
  • 西华县住房和城乡建设局网站百度推广如何代理加盟
  • 城阳做网站的产品网络推广深圳
  • 襄阳专业网站建设新乡百度关键词优化外包
  • 上海网站设计kinglink网站目录结构
  • 物流炒货怎么做网站方象科技专注于什么领域
  • 两性做受技巧视频网站大数据营销系统
  • 昆明猫咪科技网站建设公司seo排名官网
  • 网站搜索引擎推广方案商品seo关键词优化
  • 华硕固件做网站6李飞seo
  • 阎良做网站的公司百度快照是啥
  • 内蒙古住房和城乡建设厅网站 工程建设管理seo排名点击手机
  • 网站分成推广怎么做百度推广系统营销平台
  • 网站建设和维护要点如何做一个网站的seo
  • 做海鱼的网站冯耀宗seo课程
  • 免费做ppt的网站有哪些如何推广网上国网
  • 别墅设计 网站模板杭州做搜索引擎网站的公司
  • 怎么做自己的视频网站不需要验证码的广告平台