參數(shù)資料
型號: MC68HC05L25PB
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP52
封裝: TQFP-52
文件頁數(shù): 40/212頁
文件大?。?/td> 2286K
代理商: MC68HC05L25PB
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁當(dāng)前第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁
Serial Peripheral Interface
Technical Data
MC68HC05L25 Rev. 3.0
134
Serial Peripheral Interface
MOTOROLA
10.5 Functional Description
A block diagram of the SPI module is shown in Figure 10-1. In the SPI,
if the SPE bit (SPI enable) of SPCR is set, bits 0, 1, and 2 of port C will
be connected. During this time, bit 0 is used as the SCK (serial clock),
bit 1 as the SDO (serial data out), and bit 2 will become SDI. When SPE
is a logic zero, SPI system is disabled.
In master mode (MSTR = 1), SCK becomes an output. When the CPU
writes data to SPDR, start trigger will be applied from the control logic to
the clock generator. The clock generator divides the system clock of the
CPU (by 2 or 16) to generate the serial clock which is then output to the
SCK pin. This clock is also used in the 3-bit clock counter and 8-bit shift
register (SPDR).
In slave mode (MSTR = 0), SCK becomes an input, and the external
serial clock is used. Therefore, the internal clock generator will not
generate the serial clock. After detecting the external clock, the clock will
be used by the 3-bit clock counter and the 8-bit shift register (SPDR)
located in the clock generator. The SCK is used to latch incoming data.
In either master or slave mode, the SPIF flag is set after the end of the
transmission and if the SPIE bit in the SPCR is set, the interrupt request
is sent to the CPU. This interrupt request is accepted when the I mask
bit of condition code register (CCR) is a logic zero and is inhibited when
the bit is a logic one or until the mask is released. Also, if the SPIE bit is
cleared, the interrupt request will not be accepted by the CPU.
To clear the SPIF while it is still set, the SPDR must be read or written
after accessing SPSR.
Regardless of the master/slave I/O conditions, the DCOL bit of SPSR
will be set when SPDR is accessed while the shift register is operating
and while SPSR is not being accessed with SPIF set. DCOL is used to
indicate that the data is not being properly read or written into SPDR.
To clear the DCOL flag while it is still set, the SPDR must be read or
written after accessing SPSR.
相關(guān)PDF資料
PDF描述
MC68HC05L2CB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP42
MC68HC705L2K 8-BIT, UVPROM, 2.1 MHz, MICROCONTROLLER, CDIP42
MC68HC05L6FN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC68
MC68HC05L7FT1 8-BIT, MROM, 2.45 MHz, MICROCONTROLLER, PQFP12
MCC68HC05L7D2 8-BIT, MROM, 2.45 MHz, MICROCONTROLLER, UUC80
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05L28 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
MC68HC05L28B 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Flexible general-purpose microcomputer
MC68HC05L2B 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
MC68HC05L2CB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
MC68HC05L6 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:8-Bit Microcomputer with Liquid Crystal Driver Circuitry