基于MPC860與STl6C6 5 4的串行通信設(shè)計(jì)
1.2 系統(tǒng)組成
電路設(shè)計(jì)需要注意:1)MPC2860采用大端(big-end)工作模式,STl6C*從BD0開(kāi)始接收數(shù)據(jù)。STl6C*數(shù)據(jù)總線D[0..7]連接MPC860的數(shù)據(jù)總線D[7..0],地址總線A[O..4]連接MPVC860地址總線A[31..27];2)STl6C*采用Motorola模式即

接地,此時(shí)

控制為0,就是對(duì)4路串口同時(shí)使能,選擇A3,A4就可以對(duì)具體通道操作;3)采用定時(shí)查詢模式,STl6C*的

與MPC860的


連接,

與MPC860的

連接,

置空,以實(shí)現(xiàn)了串口數(shù)據(jù)的接收后以UDP協(xié)議包發(fā)送到以太網(wǎng)和從以太網(wǎng)收到的UDP包數(shù)據(jù)按協(xié)議重打包后發(fā)送到指定端口;4)時(shí)鐘選擇為14.7*MHz,

為0,但實(shí)際波特率要通過(guò)MCRBIT7初始化設(shè)置,各路傳輸速率最高可達(dá)921.6 Kb/s。STl6C*電路設(shè)計(jì)如圖3所示。

評(píng)論