| Electronic Components Datasheet Search |
|
SPMCK16Z4MPV16 Datasheet(PDF) 251 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
SPMCK16Z4MPV16 Datasheet(HTML) 251 Page - Freescale Semiconductor, Inc |
|
251 / 500 page ![]() M68HC16 Z SERIES MULTICHANNEL COMMUNICATION INTERFACE USER’S MANUAL 10-11 10.3.5 SPI Serial Clock Baud Rate Baud rate is selected by writing a value from two to 255 into SPBR[7:0] in the SPCR of the master MCU. Writing an SPBR[7:0] value into the SPCR of the slave device has no effect. The SPI uses a modulus counter to derive SCK baud rate from the MCU sys- tem clock. The following expressions apply to SCK baud rate: or Giving SPBR[7:0] a value of zero or one disables the baud rate generator. SCK is dis- abled and assumes its inactive state value. SPBR[7:0] has 254 active values. Table 10-4 lists several possible baud values and the corresponding SCK frequency based on a 16.78-MHz system clock. 10.3.6 Wired-OR Open-Drain Outputs Typically, SPI bus outputs are not open-drain unless multiple SPI masters are in the system. If needed, the WOMP bit in SPCR can be set to provide wired-OR, open-drain outputs. An external pull-up resistor should be used on each output line. WOMP af- fects all SPI pins regardless of whether they are assigned to the SPI or used as gen- eral-purpose I/O. 10.3.7 Transfer Size and Direction The SIZE bit in the SPCR selects a transfer size of eight (SIZE = 0) or sixteen (SIZE = 1) bits. The LSBF bit in the SPCR determines whether serial shifting to and from the data register begins with the LSB (LSBF = 1) or MSB (LSBF = 0). Table 10-4 SCK Frequencies System Clock Frequency Required Division Ratio Value of SPBR Actual SCK Frequency 16.78 MHz 4 2 4.19 MHz 8 4 2.10 MHz 16 8 1.05 MHz 34 17 493 kHz 168 84 100 kHz 510 255 33 kHz SCK Baud Rate f sys 2 SPBR[7:0] × ------------------------------------- = SPBR[7:0] f sys 2 SCK Baud Rate Desired × -------------------------------------------------------------------------- = Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |