An idea is brought forth to design the total structure of the usb interface ip , the main control logic , the mcu interface ( the function is the same as the pdiusbd12 chip of the philips semiconductor ) and a dpll which is used to synchronize data and separate the clock . this paper also introduces packet recognition , transaction sequencing , sop , eop , reset , resume signal detection / generation , nrzi data encoding / decoding and bit - stuffing , crc generation and checking ( token and data ) , packet id ( pid ) generation and checking / decoding , 提出設(shè)計(jì)了usb接口電路的整體構(gòu)架,設(shè)計(jì)了usb的主要控制邏輯和與mcu的互連的接口(此接口與飛利普的usb接口芯片pdiusbd12兼容) ,也設(shè)計(jì)了一個(gè)數(shù)字鎖相環(huán)( dpll )來(lái)同步數(shù)據(jù)和分離時(shí)鐘,并對(duì)同步模式的識(shí)別、并行/串行轉(zhuǎn)換、位填充/解除填充、 crc校驗(yàn)/產(chǎn)生、 pid校驗(yàn)/產(chǎn)生、地址識(shí)別和握手評(píng)估/產(chǎn)生做了具體的分析。
At the same time , this paper presents packet recognition , transaction sequencing , sop , eop , reset , resume signal detection / generation , clock / data separation , nrzi data encoding / decoding and bit - stuffing , crc generation and checking ( token and data ) , packet id ( pid ) generation and checking / decoding , serial - parallel / parallel - serial conversion 對(duì)同步模式的識(shí)別、并行/串行轉(zhuǎn)換、位填充/解除填充、 crc校驗(yàn)/產(chǎn)生、 pid校驗(yàn)/產(chǎn)生、地址識(shí)別和握手評(píng)估/產(chǎn)生做了具體的分析。