background image

 

 

 

 

 

 
 

Document Number: 002-04721 Rev.*A   

 

Page 2 of 74

 

 
 

MB966B0 Series

 

 

Hardware Watchdog Timer 

 

Hardware watchdog timer is active after reset 

 

Window function of Watchdog Timer is used to select the 
lower window limit of the watchdog interval 

 

Reload Timers 

 

16-bit wide 

 

Prescaler with 1/2

1

, 1/2

2

, 1/2

3

, 1/2

4

, 1/2

5

, 1/2

6

 of peripheral 

clock frequency 

 

Event count function 

 

Free-Running Timers 

 

Signals an interrupt on overflow, supports timer clear upon 
match with Output Compare (0) 

 

Prescaler with 1, 1/2

1

, 1/2

2

, 1/2

3

, 1/2

4

, 1/2

5

, 1/2

6

, 1/2

7

, 1/2

8

 

of peripheral clock frequency 

 

Input Capture Units 

 

16-bit wide 

 

Signals an interrupt upon external event 

 

Rising edge, Falling edge or Both (rising & falling) edges 
sensitive 

 

Output Compare Units 

 

16-bit wide 

 

Signals an interrupt when a match with Free-running Timer 
occurs 

 

A pair of compare registers can be used to generate an 
output signal 

 

Programmable Pulse Generator 

 

16-bit down counter, cycle and duty setting registers 

 

Can be used as 2 × 8-bit PPG 

 

Interrupt at trigger, counter borrow and/or duty match 

 

PWM operation and one-shot operation 

 

Internal prescaler allows 1, 1/4, 1/16, 1/64 of peripheral 
clock as counter clock or of selected Reload timer 
underflow as clock input 

 

Can be triggered by software or reload timer 

 

Can trigger ADC conversion 

 

Timing point capture 

 

Start delay 

 

Quadrature Position/Revolution Counter (QPRC) 

 

Up/down count mode, Phase difference count mode, 
Count mode with direction 

 

16-bit position counter 

 

16-bit revolution counter 

 

Two 16-bit compare registers with interrupt 

 

Detection edge of the three external event input pins AIN, 
BIN and ZIN is configurable 

 

LCD Controller 

 

LCD controller with up to 4COM 

 36SEG 

 

Internal or external voltage generation 

 

Duty cycle: Selectable from options: 1/2, 1/3 and 1/4 

 

Fixed 1/3 bias 

 

Programmable frame period 

 

Clock source selectable from four options (main clock, 
peripheral clock, subclock or RC oscillator clock) 

 

Internal divider resistors or external divider resistors 

 

On-chip data memory for display 

 

LCD display can be operated in Timer Mode 

 

Blank display: selectable 

 

All SEG, COM and V pins can be switched between 
general and specialized purposes 

 

Sound Generator 

 

8-bit PWM signal is mixed with tone frequency from 16-bit 
reload counter 

 

PWM clock by internal prescaler: 1, 1/2, 1/4, 1/8 of 
peripheral clock 

 

Real Time Clock 

 

Operational on main oscillation (4MHz), sub oscillation 
(32kHz) or RC oscillation (100kHz/2MHz) 

 

Capable to correct oscillation deviation of Sub clock or RC 
oscillator clock (clock calibration) 

 

Read/write accessible second/minute/hour registers 

 

Can signal interrupts every half 
second/second/minute/hour/day 

 

Internal clock divider and prescaler provide exact 1s clock 

 

External Interrupts 

 

Edge or Level sensitive 

 

Interrupt mask bit per channel 

 

Each available CAN channel RX has an external interrupt 
for wake-up 

 

Selected USART channels SIN have an external interrupt 
for wake-up 

 

Non Maskable Interrupt 

 

Disabled after reset, can be enabled by Boot-ROM 
depending on ROM configuration block 

 

Once enabled, cannot be disabled other than by reset 

 

High or Low level sensitive 

 

Pin shared with external interrupt 0 

 

I/O Ports 

 

Most of the external pins can be used as general purpose 
I/O 

 

All push-pull outputs (except when used as I

2

C SDA/SCL 

line) 

 

Bit-wise programmable as input/output or peripheral signal 

 

Bit-wise programmable input enable 

 

One input level per GPIO-pin (either Automotive or CMOS 
hysteresis) 

 

Bit-wise programmable pull-up resistor 

 

Some pins offer high current output capability for LED 
driving. 

 

Built-in On Chip Debugger (OCD) 

 

One-wire debug tool interface 

 

Break function: 
•  Hardware break: 6 points (shared with code event) 
•  Software break: 4096 points 

 

  Event function 
•  Code event: 6 points (shared with hardware break) 
•  Data event: 6 points 
•  Event sequencer: 2  reset 

 

Execution time measurement function 

 

Trace function: 42 branches 

 

Security function 

 
 
 
 
 

Содержание MB966B0 Series

Страница 1: ...watchdog Clock source selectable from mainclock oscillator subclock oscillator and on chip RC oscillator independently for CPU and 2 clock domains of peripherals The subclock oscillator is enabled by...

Страница 2: ...four options main clock peripheral clock subclock or RC oscillator clock Internal divider resistors or external divider resistors On chip data memory for display LCD display can be operated in Timer...

Страница 3: ...n of programming algorithm and for supporting DMA for programming of the Flash Memory Supports automatic programming Embedded Algorithm Write Erase Erase Suspend Resume commands A flag indicating comp...

Страница 4: ...3 3 Opposite phase external clock 33 13 4 Notes on PLL clock mode operation 33 13 5 Power supply pins Vcc Vss 33 13 6 Crystal oscillator and ceramic resonator circuit 33 13 7 Turn on sequence of powe...

Страница 5: ...onverter 53 14 5 2 Accuracy and Setting of the A D Converter Sampling Time 54 14 5 3 Definition of A D Converter Terms 55 14 6 High Current Output Slew Rate 57 14 7 Low Voltage Detection Function Char...

Страница 6: ...7 ICU 0 1 4 to 6 for LIN USART 16 bit Output Compare Unit OCU 4ch OCU 0 to 3 8 16 bit Programmable Pulse Generator PPG 12ch 16 bit 16ch 8 bit PPG 0 to 7 12 to 15 with Timing point capture Yes with Sta...

Страница 7: ...to SOT2 SOT4 SOT5_R SDA0 SCL0 AN2 to AN4 AN6 to AN8 AN10 to AN12 AN14 to AN31 ADTG TIN0 to TIN3 TOT0 to TOT3 FRCK0 FRCK1 IN6 IN7 IN4_R IN5_R IN7_R INT0 to INT15 INT1_R to INT7_R V0 to V3 COM0 to COM3...

Страница 8: ...13_1 INT3 SCK1 SEG42 1 P13_2 PPG0 TIN0 FRCK1 SEG43 P13_3 PPG1 TOT0 WOT SEG44 P13_4 SIN0 INT6 SEG45 1 P13_5 SOT0 ADTG INT7 P13_6 SCK0 CKOTX0 1 P04_4 PPG3 SDA0 2 P04_5 PPG4 SCL0 2 P06_2 AN2 INT5 SIN5 1...

Страница 9: ...ut pin INn ICU Input Capture Unit n input pin INn_R ICU Relocated Input Capture Unit n input pin INTn External Interrupt External Interrupt n input pin INTn_R External Interrupt Relocated External Int...

Страница 10: ...er Reload Timer n output pin TTGn PPG Programmable Pulse Generator n trigger input pin TXn CAN CAN interface n TX output pin Vn LCD LCD voltage reference pin Vcc Supply Power supply pin Vss Supply Pow...

Страница 11: ...P04_4 PPG3 SDA0 12 N P04_5 PPG4 SCL0 13 I P06_2 AN2 INT5 SIN5 14 K P06_3 AN3 FRCK0 15 K P06_4 AN4 IN0 TTG0 TTG4 16 K P06_6 AN6 TIN1 IN4_R 17 K P06_7 AN7 TOT1 IN5_R 18 Supply AVcc 19 G AVRH 20 G AVRL 2...

Страница 12: ...0 Supply Vcc 51 Supply Vss 52 O DEBUG I F 53 H P17_0 54 C MD 55 A X0 56 A X1 57 Supply Vss 58 B P04_0 X0A 59 B P04_1 X1A 60 C RSTX 61 J P11_0 COM0 62 J P11_1 COM1 PPG0_R 63 J P11_2 COM2 PPG1_R 64 J P1...

Страница 13: ...SEG23 PPG5 86 P P01_4 SEG24 SIN4 INT8 87 J P01_5 SEG25 SOT4 88 P P01_6 SEG26 SCK4 TTG12 89 J P01_7 SEG27 CKOTX1_R INT9 TTG13 ZIN0 90 J P02_0 SEG28 CKOT1_R INT10 TTG14 AIN0 91 J P02_2 SEG30 IN7_R CKOT...

Страница 14: ...lation circuit Programmable between oscillation mode external crystal or resonator connected to X0 X1 pins and Fast external Clock Input FCI mode external clock connected to X0 pin Feedback resistor a...

Страница 15: ...ity selectable CMOS level output IOL 4mA IOH 4mA Automotive input with input shutdown function and programmable pull up resistor C CMOS hysteresis input pin R FCI X out 0 1 Pout R Nout Automotive inpu...

Страница 16: ...CMOS level output IOL 4mA IOH 4mA Automotive input with input shutdown function Programmable pull up resistor I CMOS level output IOL 4mA IOH 4mA CMOS hysteresis input with input shutdown function Pro...

Страница 17: ...e pull up resistor Analog input L CMOS level output IOL 4mA IOH 4mA Automotive input with input shutdown function Programmable pull up resistor Vn input or SEG output Standby control for input shutdow...

Страница 18: ...input with input shutdown function Programmable pull up resistor N channel transistor has slew rate control according to I 2 C spec irrespective of usage O Open drain I O Output 25mA Vcc 2 7V TTL inp...

Страница 19: ...sistor Vn input or SEG output V CMOS level output programmable IOL 4mA IOH 4mA and IOL 20mA IOH 20mA Automotive input with input shutdown function Programmable pull up resistor Analog input Standby co...

Страница 20: ...arks W CMOS level output programmable IOL 4mA IOH 4mA and IOL 20mA IOH 20mA CMOS hysteresis input with input shutdown function Programmable pull up resistor Analog input Standby control for input shut...

Страница 21: ...e used as RAM area GPR General Purpose Register The DMA area is only available if the device contains the corresponding resource The available RAM and ROM area depends on the device FF FFFFH DE 0000H...

Страница 22: ...Document Number 002 04721 Rev A Page 22 of 74 MB966B0 Series 8 RAMSTART Addresses Devices Bank 0 RAM size RAMSTART0 MB96F6B5 8KB 00 6200H MB96F6B6 16KB 00 4200H...

Страница 23: ...ash memory mode address Flash size DF A000H DF 9FFFH 1F 9FFFH DF 8000H 1F 8000H DF 7FFFH 1F 7FFFH DF 6000H 1F 6000H DF 5FFFH 1F 5FFFH DF 4000H 1F 4000H DF 3FFFH 1F 3FFFH DF 2000H 1F 2000H DF 1FFFH 1F...

Страница 24: ...ming Communication Interface USART pins for Flash serial programming MD 0 DEBUG I F 0 Serial Communication mode MB966B0 Pin Number USART Number Normal Function 8 USART0 SIN0 9 SOT0 10 SCK0 3 USART1 SI...

Страница 25: ...6 3BCH LVDI No 16 Low Voltage Detector 17 3B8H EXTINT0 Yes 17 External Interrupt 0 18 3B4H EXTINT1 Yes 18 External Interrupt 1 19 3B0H EXTINT2 Yes 19 External Interrupt 2 20 3ACH EXTINT3 Yes 20 Extern...

Страница 26: ...4 53 328H PPG15 Yes 53 Programmable Pulse Generator 15 54 324H 54 Reserved 55 320H 55 Reserved 56 31CH 56 Reserved 57 318H 57 Reserved 58 314H RLT0 Yes 58 Reload Timer 0 59 310H RLT1 Yes 59 Reload Tim...

Страница 27: ...96 27CH IIC0 Yes 96 I 2 C interface 0 97 278H 97 Reserved 98 274H ADC0 Yes 98 A D Converter 0 99 270H 99 Reserved 100 26CH 100 Reserved 101 268H LINR0 Yes 101 LIN USART 0 RX 102 264H LINT0 Yes 102 LIN...

Страница 28: ...128 1FCH 128 Reserved 129 1F8H 129 Reserved 130 1F4H 130 Reserved 131 1F0H 131 Reserved 132 1ECH 132 Reserved 133 1E8H FLASHA Yes 133 Flash memory A interrupt 134 1E4H 134 Reserved 135 1E0H 135 Reser...

Страница 29: ...anent damage of the device Try to prevent such overvoltage or over current conditions at the design stage 2 Protection of Output Pins Shorting of output pins to supply pins or other output pins or con...

Страница 30: ...periods For this reason it is recommended that the surface treatment of socket contacts and IC leads be verified before mounting Surface Mount Type Surface mount packaging has longer and thinner leads...

Страница 31: ...described above For reliable performance do the following 1 Humidity Prolonged use in high humidity can lead to leakage in devices as well as printed circuit boards If high humidity levels are anticip...

Страница 32: ...e is required to not let the analog power supply voltage AVCC AVRH exceed the digital power supply voltage 13 2 Unused pins handling Unused input pins can be left open when the input is disabled corre...

Страница 33: ...larger than Cs Besides this as a measure against power supply noise it is required to connect a bypass capacitor of about 0 1 F between Vcc and Vss pins as close as possible to Vcc and Vss pins 13 6...

Страница 34: ...pply voltage must be stabilized in such a way that VCC ripple fluctuations peak to peak value in the commercial frequencies 50Hz to 60Hz fall within 10 of the standard VCC power supply voltage and the...

Страница 35: ...OL 64 mA Normal port IOLHCO 150 mA High current port L level average overall output current IOLAV 32 mA Normal port IOLAVHCO 100 mA High current port H level maximum output current IOH 15 mA Normal po...

Страница 36: ...a protective diode against VSS Hence it is only permitted to input a negative clamping current 4mA For protection against positive input voltages use an external clamping diode which limits the input...

Страница 37: ...a capacity value that is larger than CS WARNING The recommended operating conditions are required in order to ensure the normal operation of the semiconductor device All of the device s electrical cha...

Страница 38: ...mA TA 125 C ICCMAIN Main Run mode with CLKS1 2 CLKB CLKP1 2 4MHz Flash 0 wait CLKPLL CLKSC and CLKRC stopped 3 5 mA TA 25 C 8 mA TA 105 C 9 5 mA TA 125 C ICCRCH RC Run mode with CLKS1 2 CLKB CLKP1 2 C...

Страница 39: ...CLKS1 2 CLKP1 2 4MHz SMCR LPMSS 0 CLKPLL CLKRC and CLKSC stopped 1 1 mA TA 25 C 4 7 mA TA 105 C 6 2 mA TA 125 C ICCSRCH RC Sleep mode with CLKS1 2 CLKP1 2 CLKRC 2MHz SMCR LPMSS 0 CLKMC CLKPLL and CLK...

Страница 40: ...N Main Timer mode with CLKMC 4MHz SMCR LPMSS 0 CLKPLL CLKRC and CLKSC stopped 285 330 A TA 25 C 1200 A TA 105 C 2155 A TA 125 C ICCTRCH RC Timer mode with CLKRC 2MHz SMCR LPMSS 0 CLKPLL CLKMC and CLKS...

Страница 41: ...out voltage regulator control Current for On Chip Debugger part is not included Power supply current in Run mode does not include Flash Write Erase current 2 The power supply current in Timer mode is...

Страница 42: ...0 3 VCC 0 3 V CMOS Hysteresis input VSS 0 3 VCC 0 5 V AUTOMOTIVE Hysteresis input VILX0S X0 External clock in Fast Clock Input mode VSS VD 0 2 V VD 1 8V 0 15V VILX0AS X0A External clock in Oscillatio...

Страница 43: ...L VI AVCC AVRH 3 3 A Total LCD leak current IILCD All SEG COM pin VCC 5 0V 0 5 10 A Maximum leakage current of all LCD pins Internal LCD divide resistance RLCD Between V3 and V2 V2 and V1 V1 and V0 VC...

Страница 44: ...quency fC X0 X1 4 8 MHz When using a crystal oscillator PLL off 8 MHz When using an opposite phase external clock PLL off 4 8 MHz When using a crystal oscillator or opposite phase external clock PLL o...

Страница 45: ...40 C to 125 C Parameter Symbol Pin name Conditions Value Unit Remarks Min Typ Max Input frequency fCL X0A X1A 32 768 kHz When using an oscillation circuit 100 kHz When using an opposite phase external...

Страница 46: ...llator RC clock stabilization time tRCSTAB 80 160 320 s When using slow frequency of RC oscillator 16 RC clock cycles 64 128 256 s When using fast frequency of RC oscillator 256 RC clock cycles 14 4 4...

Страница 47: ...tLOCK 1 4 ms For CLKMC 4MHz PLL input clock frequency fPLLI 4 8 MHz PLL oscillation clock frequency fCLKVCO 56 108 MHz Permitted VCO output frequency of PLL CLKVCO PLL phase jitter tPSKEW 5 5 ns For...

Страница 48: ...v A Page 48 of 74 MB966B0 Series 14 4 7 Power on Reset Timing VCC AVCC 2 7V to 5 5V VSS AVSS 0V TA 40 C to 125 C Parameter Symbol Pin name Value Unit Min Typ Max Power on rise time tR Vcc 0 05 30 ms P...

Страница 49: ...K SOT delay time tSLOVE SCKn SOTn 2tCLKP1 45 2tCLKP1 55 ns SIN SCK setup time tIVSHE SCKn SINn tCLKP1 2 10 tCLKP1 2 10 ns SCK SIN hold time tSHIXE SCKn SINn tCLKP1 10 tCLKP1 10 ns SCK fall time tF SCK...

Страница 50: ...KP1 2 5 tCLKP1 6 tCLKP1 3 7 tCLKP1 8 tCLKP1 4 tSCYC VOL VOL VOH VOH VIH VIH VIL VIL tSLOVI tIVSHI tSHIXI VOL SCK SOT SIN Internal shift clock mode tOVSHI tSLSH VIH VIH VIH VIH VIL VIH VIL VIL VIL VOL...

Страница 51: ...00 tCLKP1 1 fCLKP1 ns General Purpose I O ADTG A D Converter trigger input TINn Reload Timer TTGn PPG trigger input FRCKn FRCKn_R Free Running Timer input clock INn INn_R Input Capture AINn BINn ZINn...

Страница 52: ...STOP condition and START condition tBUS 4 7 1 3 s Pulse width of spikes which will be suppressed by input noise filter tSP 0 1 1 5 tCLKP1 5 0 1 1 5 tCLKP1 5 ns 1 R and CL represent the pull up resista...

Страница 53: ...me 0 5 s 4 5V VCC 5 5V 1 2 s 2 7V VCC 4 5V Power supply current IA AVCC 2 0 3 1 mA A D Converter active IAH 3 3 A A D Converter not operated Reference power supply current between AVRH and AVRL IR AVR...

Страница 54: ...log switch and ADC are contained RVIN Analog input impedance I O analog switch and ADC are contained The following approximation formula for the replacement model above can be used Tsamp 7 62 Rext Cex...

Страница 55: ...Difference between the actual value and the theoretical value The total error includes zero transition error full scale transition error and nonlinearity error Zero transition voltage Input voltage wh...

Страница 56: ...es 1LSB Ideal value AVRH AVRL V 1024 Total error of digital output N VNT 1LSB N 1 0 5LSB 1LSB N A D converter digital output value VNT Voltage at which the digital output changes from 0x N 1 to 0xN VO...

Страница 57: ...CC 2 7V to 5 5V VSS AVSS 0V TA 40 C to 125 C Parameter Symbol Pin name Conditions Value Unit Remarks Min Typ Max Output rise fall time tR20 tF20 P08_m P09_m P10_m Outputs driving strength set to 20mA...

Страница 58: ...7 V VDL6 CILCR LVL 1001B 3 91 4 20 4 49 V Power supply voltage change rate 2 dV dt 0 004 0 004 V s Hysteresis width VHYS CILCR LVHYS 0 50 mV CILCR LVHYS 1 80 100 120 mV Stabilization time TLVDSTAB 75...

Страница 59: ...e 59 of 74 MB966B0 Series Time Vcc VDLX min Voltage VDLX max dV dt Detected Voltage RCR LVDE Low voltage detection function enable Low voltage detection function disable Stabilization time TLVDSTAB Lo...

Страница 60: ...Flash memory is written or erased shutdown of the external power VCC is prohibited In the application system where the external power VCC might be shut down while writing or erasing be sure to turn t...

Страница 61: ...It is not the guaranteed value MB96F6B6 0 01 0 10 1 00 10 00 100 00 50 0 50 100 150 I CC mA TA C Run Mode PLL clock 32MHz Main osc 4MHz RC clock 2MHz RC clock 100kHz Sub osc 32kHz VCC 5 5V 0 001 0 010...

Страница 62: ...966B0 Series MB96F6B6 0 001 0 010 0 100 1 000 10 000 50 0 50 100 150 I CC mA TA C Timer Mode PLL clock 32MHz Main osc 4MHz RC clock 2MHz RC clock 100kHz Sub osc 32kHz VCC 5 5V 0 001 0 010 0 100 1 000...

Страница 63: ...LKP2 100kHz Regulator in Low Power Mode CLKB is stopped in this mode Sub osc CLKS1 CLKS2 CLKP1 CLKP2 32kHz Regulator in Low Power Mode CLKB is stopped in this mode Timer mode PLL CLKMC 4MHz CLKPLL 32M...

Страница 64: ...pin plastic LQFP FPT 100P M20 MB96F6B5RBPMC GSE2 MB96F6B6RBPMC GSE1 Flash A 288 5KB 100 pin plastic LQFP FPT 100P M20 MB96F6B6RBPMC GSE2 For details about package see Package Dimension MCU without CAN...

Страница 65: ...ONDUCTOR LIMITED F100031S c 3 5 16 00 0 20 630 008 SQ 1 25 26 51 76 50 75 100 0 50 020 0 20 0 05 008 002 M 0 08 003 0 145 0 055 006 002 0 08 003 A INDEX 059 004 008 0 10 0 20 1 50 Mounting height 0 8...

Страница 66: ...per channel Interrupt mask bit per channel Added the description of I O Ports Some pins offer high current output capability for LED driving 5 Changed the description of Built in On Chip Debugger Even...

Страница 67: ...Automotive input with input shutdown function and programmable pull up resistor 17 Changed the figure of type G 20 Added the Type V 21 Added the Type W 22 Memory Map Changed the START addresses of Boo...

Страница 68: ...VCC Input Output voltages of general I O ports depend on VCC 38 Changed the annotation 4 Note that if the B input is applied during power on the power supply is provided from the pins and the resultin...

Страница 69: ...1mA TA 25 C Max 8mA 4 7mA TA 105 C Max 9 5mA 6 2mA TA 125 C ICCSSUB Typ 0 3mA 0 04mA TA 25 C Max 4 5mA 2 7mA TA 105 C Max 6mA 4 2mA TA 125 C 42 Added the Symbol to Power supply current in Timer modes...

Страница 70: ...lator When Flash is not in Power down reset mode ICCFLASHPD must be added to the Power supply current The power supply current is measured with a 4MHz external clock connected to the Main oscillator a...

Страница 71: ...5 C VCC AVCC 2 7V to 5 5V VSS AVSS 0V TA 40 C to 125 C CL 50pF Changed the HARDWARE MANUAL MB966B0 series HARDWARE MANUAL MB96600 series HARDWARE MANUAL 52 Changed the figure for Internal shift clock...

Страница 72: ...ctor erase time Added Security Sector to Sector erase time Changed the Parameter Half word 16 bit write time Word 16 bit write time Changed the Value of Chip erase time Changed the Remarks of Sector e...

Страница 73: ...Series F 2 MC 16FX 16 Bit Microcontroller Document Number 002 04721 Revision ECN Orig of Change Submission Date Description of Change KSUN 01 31 2014 Migrated to Cypress and assigned document number 0...

Страница 74: ...ess unmodified to make use distribute and import the Software solely to the minimum extent that is necessary for you to exercise your rights under the copyright license granted in the previous sentenc...

Отзывы: