The following document contains information on Cypress products. MB96300 to MB96600 migration 16-BIT MICROCONTROLLER F2MC-16FX Family MB96300/MB96600 series APPLICATION NOTE Publication Number AN704-00004 Revision 2.1 Issue Date January 31, 2014 A P P L I C A T I O N N O T E AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N N O T E Subject Subject ..................................................................................................................................................3 Target products......................................................................................................................................5 1 Introduction ...................................................................................................................................7 2 On-Chip System Features .............................................................................................................8 2.1 Mode Setting......................................................................................................8 2.2 Clock Generation and Distribution ..................................................................10 2.3 Memory Space .................................................................................................10 2.4 Boot Rom......................................................................................................... 11 2.5 Reset ................................................................................................................ 11 2.6 On-Chip Debug Unit (OCDU)......................................................................... 11 2.7 Memory Patch Function .................................................................................. 11 2.8 Standby Mode and Voltage Control Circuit .....................................................12 2.8.1 Voltage Control Circuit ....................................................................................12 2.8.2 Standby Mode ..................................................................................................13 2.9 3 Peripherals ..................................................................................................................................15 3.1 Changed Peripherals ........................................................................................15 3.1.1 I/O Address Area .............................................................................................15 3.1.2 Flash Memory ..................................................................................................15 3.1.3 Watchdog Timer (WDG) .................................................................................16 3.1.4 Programmable Pulse Generator (PPG) ............................................................17 3.1.5 USART ............................................................................................................18 3.1.6 A/D Converter (ADC) .....................................................................................19 3.1.7 I/O Ports...........................................................................................................19 3.1.8 16-Bit Reload Timer (RLT) .............................................................................19 3.1.9 Direct Memory Access (DMA) .......................................................................20 3.1.10 ROM Configuration Block ..............................................................................20 3.2 4 Interrupts..........................................................................................................14 New Peripherals ...............................................................................................20 3.2.1 A/D Converter Trigger.....................................................................................20 3.2.2 Quadrature Position/Revolution Counter (QPRC)...........................................20 3.3 Unchanged Peripherals ....................................................................................21 3.4 Unavailable Peripherals ...................................................................................21 Hardware Environment and Electrical Characteristics ...............................................................22 4.1 Introduction .....................................................................................................22 January 31, 2014, AN704-00004-2v1-E 3 A P P L I C A T I O N N O T E 4.2 Pin Assignment ................................................................................................22 4.3 Mode Pins ........................................................................................................22 4.4 Debug Environment .........................................................................................22 4.5 I/O Ports...........................................................................................................24 4.5.1 Input levels ......................................................................................................24 4.5.2 Driving strength ...............................................................................................25 4.5.3 Availability of internal pull-up- and pull-down resistors ................................. 25 4.6 Smoothing Capacitor .......................................................................................26 4.7 AC Characteristics ...........................................................................................26 4.7.1 Stabilization Time ............................................................................................26 4.7.2 Main clock input characteristics ......................................................................27 4.8 Reset pin (RSTX) ............................................................................................27 Revision History .................................................................................................................................28 4 AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N N O T E Target products This application note is described about below products; Series MB96310 MB96320 MB96330 MB96340 MB96350 MB96370 MB96380 MB96390 MB96610 MB96620 MB96630 MB96640 MB96650 Product Number (not included Package suffix) MB96F313YS,MB96F313RS,MB96F313YW,MB96F313RW MB96F315YS,MB96F315RS,MB96F315YW,MB96F315RW MB96F326YS,MB96F326RS,MB96F326RW MB96F336US, MB96F336UW MB96F338YS, MB96F338RS, MB96F338YW ,MB96F338RW, MB96F338US, MB96F338UW MB96345YS,MB96345YW, MB96345RS, MB96345RW MB96346YS, MB96346YW, MB96346RS, MB96346RW MB96F346YS, MB96F346YW,MB96F346RS, MB96F346RW MB96F347YS, MB96F347YW ,MB96F347RS, MB96F347RW MB96F348YS, MB96F348YW,MB96F348RS, MB96F348RW MB96F348HS, MB96F348HW, MB96F348TS, MB96F348TW MB96F345DS, MB96F345DW, MB96F345FS, MB96F345FW MB96F353YS, MB96F353YW, MB96F353RS, MB96F353RW MB96F355YS, MB96F355YW, MB96F355RS, MB96F355RW MB96F356RS, MB96F356RW, MB96F356YS, MB96F356YW MB96F378HS, MB96F378TS, MB96F378HW, MB96F378TW MB96F379RS, MB96F379YS, MB96F379RW, MB96F379YW MB96384YS MB96384YW,MB96384RS, MB96384RW MB96385YS, MB96385YW,MB96385RS, MB96385RW MB96F385YS, MB96F385YW, MB96F385RS, MB96F385RW MB96F386YS, MB96F386YW ,MB96F386RS, MB96F386RW MB96F387YS ,MB96F387YW, MB96F387RS, MB96F387RW MB96F388HS, MB96F388TS, MB96F388HW, MB96F388TW MB96F389YS, MB96F389YW ,MB96F389RS, MB96F389RW MB96F395YS, MB96F395YW, MB96F395RS, MB96F395RW MB96F612R, MB96F612A MB96F613R, MB96F613A MB96F615R, MB96F615A MB96F622R, MB96F622A MB96F623R, MB96F623A MB96F625R, MB96F625A MB96F633R, MB96F633A MB96F635R, MB96F635A MB96F636R MB96F637R MB96F643R, MB96F643A MB96F645R, MB96F645A MB96F646R MB96F647R MB96F653R, MB96F653A MB96F655R, MB96F655A MB96F656R MB96F657R January 31, 2014, AN704-00004-2v1-E 5 A P P L I C A T I O N Series MB96670 MB96680 MB96690 MB966A0 MB966B0 MB966C0 6 N O T E Product Number (not included Package suffix) MB96F673R, MB96F673A MB96F675R, MB96F675A MB96F683R, MB96F683A MB96F685R, MB96F685A MB96F693R, MB96F693A MB96F695R, MB96F695A MB96F696R MB96F6A5R, MB96F6A5A MB96F6A6R MB96F6B5R, MB96F6B5A MB96F6B6R MB96F6C5R, MB96F6C5A MB96F6C6R AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N 1 N O T E Introduction This chapter gives a small introduction about differences This application note compares MCUs of the MB96300 super series to MCUs of the MB96600 super series. The MB96300 super series consists of several different series with different pin-counts and pin-outs. These contain different peripheral types and a lot of different port-pin function shares. Both MB96300 and MB96600 super series are manufactured in 0.18 µm technology. The MB96600 super series is pin based on the MB96300 super series. Migration from MB96300 to MB96600 is very easy. Though different series with different pin-counts in MB96300 super series are available, for easy migration there are pin-based series of MB96600 super series available. Some global hardware topics for system setup are different, also some resources have been improved, nevertheless being downward compatible. The emulation chip of the MB96300 super series is the MB96V300. For MB96600 super series there is no dedicated emulation chip available. For debugging devices of the MB96600 super series, the newly implemented On-Chip Debug Unit can be used. January 31, 2014, AN704-00004-2v1-E 7 A P P L I C A T I O N 2 N O T E On-Chip System Features This chapter describes the global differences concerning the system features Both MB96300 and MB96600 super series are very similar. The differences concerning system feature are listed in the following chapters. 2.1 Mode Setting The assignment of the mode pin setting for the selected mode has changed. For MB96300 there are three mode pins available, the assignment is shown in the following table: Mode Pin Setting MB96300 MD2 MD1 MD0 0 0 0 External Vector Mode 0*1 0 0 1 External Vector Mode 1*1 0 1 0 Serial Communication Mode 0 1 1 Internal Vector Mode 1 0 0 Reserved 1 0 1 Reserved 1 1 0 External Vector Mode 2*1 1 1 1 Parallel Flash Programming mode *1 : Only available for devices with External Bus interface. For normal use on MB96600 user application the number of mode pins is reduced to two. Following pins change accordingly: MD2 changes to MD MD1 is normally not available anymore for mode purposes, it is replaced by a GPIO pin MD0 changes to DEBUG I/F and gets additional functionality of serial debug interface 8 AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N N O T E The assignment is shown in following table: Mode Pin Setting MB96600 MD DEBUG I/F 0 0 Serial Communication Mode 0 1 Internal Vector Mode When migrating from a MB963xx series to a follower MB966xx series following modifications are necessary: MD1 is not connected anymore for mode setting, can be used as GPIO. MD2 is now called MODE but connected like before to Low via pull-down resistor. MD0 is now called DEBUG I/F, but connected like before to High via a pull-up resistor. Additional for debugging there is a connection to a series resistor from this DEBUG I/F to the debug interface, please see chapter 4.4 Debug Environment for further details. Without the need of debugging for both modes “Serial Communication Mode” and “Internal Vector Mode” the wiring of MD (former MD2) and DEBUG I/F (former MD0) is the same for MB96300 and MB96600 super series. The only exception is MD1, which now can be used as GPIO (P17_0). Table 2-1: Mode Pin Settings Mode Pin Setting Mode Pin Setting MB96300 MD2 MD1 MB96600 Function MD MD0 P17_0 DEBUG I/F *1 Not available Not available 0 0 0 External Vector Mode 0 0 0 1 External Vector Mode 1*1 0 1 0 Serial Communication Mode 0 - 0 0 1 1 Internal Vector Mode 0 - 1 1 0 0 Reserved Not available 1 0 1 Reserved Not available 1 1 0 External Vector Mode 2*1 Not available 1 1 1 January 31, 2014, AN704-00004-2v1-E Parallel Flash Programming 1 1 1 mode 9 A P P L I C A T I O N 2.2 N O T E Clock Generation and Distribution The MB96600 super series uses nearly the same clock unit as used in the MB96300 super series, too. The difference is that in MB96600 super series there are no devices with two possible hardware configurations concerning sub oscillator. In MB96300 super series there were parts with and without sub clock oscillator, coded by a suffix in the naming. In MB96600 super series all parts have an optional sub clock oscillator. This sub clock can be enabled by a marker in a dedicated flash area. The maximum PLL frequency of MB96600 super series is 32 MHz MB96600 super series and must be considered. So in this case some prescaler settings have to be changed, if required. Table 2-2: Clock Generation MB96300 MB96600 Main Clock Yes Yes PLL Yes Yes PLL Clock Modulator Yes No Sub Clock Yes1 Yes2 RC Clock (100 kHz and 2 MHz) Yes Yes CLKP1 Yes Yes CLKP2 Yes Yes 56 / 403 32 Max CPU Frequency [MHz] 1 : Not available on devices with „S‟ suffix. 2 : Available on all devices, can be activated by a marker in flash area 3 : 40MHz only if Low leakage RAM is implemented (MB96F345 / F378 / F379 / F385 / F388 / F389 / F395) 2.3 Memory Space In contrast to MB96300 super series the peripheral memory access area is extended to the bank 0x0E for additional features of the peripherals. Registers which were available in MB96300 super series devices are at the same addresses in MB96600 super series devices. 10 AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N 2.4 N O T E Boot Rom In the MB96600 series there are some new features added in the ROM configuration block (RCB). Take into account that the boot program execution also changed accordingly. Below a list of added/changed features in the Boot Configuration Block (BCB): Block of debug interface connection NMI activation Location of interrupt vector table in the Table Base Register (TBR) Activation of sub oscillator Watch dog timer settings Locking the low voltage detection reset function For details it is referred to the start.asm file 2.5 Reset The reset handling in case of low voltage is enhanced by employment of low voltage interrupt. This one facilitates the user to execute an Interrupt Service Routine (ISR) before the reset. In the MB96600 series there is no internal pull-up resistor at the reset pin. Table 2-3: Internal pull-up resistor at the reset pin MB96300 Internal pull-up resistor at the reset pin 2.6 Yes MB96600 No On-Chip Debug Unit (OCDU) In the MB96600 super series an on chip debugger unit is implemented. As it is possible to read out the memory in general, the user can forbid memory access via the On-chip debug unit (OCDU). Further information about debugging can be found in chapter 4.4). 2.7 Memory Patch Function In the MB96600 super series the memory patch function is removed. The break point functionality is covered by the new OCD unit (see 2.6). January 31, 2014, AN704-00004-2v1-E 11 A P P L I C A T I O N 2.8 2.8.1 N O T E Standby Mode and Voltage Control Circuit Voltage Control Circuit The low power handling modes A and B of the on-chip core voltage regulator were changed. Besides these changes permitted output voltage levels of the internal voltage regulator were changed, too. Table 2-3: Permitted core power mode B depending on different operation modes Permitted core power mode B Operation mode MB96300 MB96600 Stop mode yes Yes Sleep Mode No No Timer Mode No No In the next table a reduced number of permitted configurations for using low power mode A is shown in case of MB96600. 12 AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N N O T E Table 2-4: Permitted configurations for manually using low power mode A Permitted configurations for using low power mode A Operation MB96300 MB96600 RC Oscillator Mode Main PLL Oscillator RC run Yes1 No Active (set to RC sleep Yes1 No 100 kHz) No Yes Active fosc ≤ 4 MHz (set to or disabled RC sleep RC timer Yes Yes Active with sleep2 Yes Yes Active Main timer Yes Yes Sub run Yes1 No Sub sleep2 Yes1 Yes Sub timer Yes Yes Active or 100 kHz or 2 MHz) Main Oscillator (set to Active with fosc Disabled 2 Sub disabled ≤ 4 MHz 100 kHz or 2 MHz) or disabled Active with fosc ≤ 4 MHz Active or disabled 1: System clock 2 must be set to RC clock or sub clock. 2 MHz setting of RC is not permitted as system clock 2 in run or sleep mode. 2: System clock 2 must be set to Main clock, RC clock or Sub clock 2.8.2 Standby Mode In the MB96600 super series the standby mode operation was extended by two functionalities: Flash power-down in standby mode Core bus start delay For better understanding about the new functionalities a short description follows: Flash power-down in standby mode: The Flash can be powered down by switching the MCU into standby mode. January 31, 2014, AN704-00004-2v1-E 13 A P P L I C A T I O N N O T E Core bus start delay: With this function high current consumption is reduced during leaving MCU from standby mode to run mode by configuration of a delayed core bus start. 2.9 Interrupts The interrupt vector table of MB96600 super series is different from interrupt table of MB96300 super series. But all devices of MB96600 super series have the same interrupt table (interrupt vector of a interrupt source has same interrupt number on all devices of MB96600 super series) 14 AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N 3 N O T E Peripherals This chapter describes differences of the on-chip peripherals. 3.1 3.1.1 Changed Peripherals I/O Address Area In general in MB96600 super series old peripheral registers, known in MB96300 super series, are located on the same addresses. New introduced registers within one peripheral are out of the 16-bit access area. In these cases “__far” accesses must be executed. 3.1.2 Flash Memory The flash macros used in MB96300 and MB96600 super series are different. In MB96300 there are two different types of flash macros: a main flash with a sector size of 64 kB and a data flash with a sector size of 16 kB. For some devices there exists alternatively a Satellite flash with a sector size of 8 kB. For MB96600 super series a completely different macro is used. It is called dual-operation-flash and consists of two banks with different sizes: The bank B sector size is 8 kB and is normally used for data storage or boot loaders, bank A has a sector size of 64 kB and is used for program storage. With this dual operation flash it is possible to read or execute from one bank while erasing or writing to the other one. Following table shows the differences: Table 3-1: Differences of Flash Types and Sizes MB96300 Program Data MB96600 Main Flash Dual Operation Flash sector size of 64 kB sector size of bank A of 64 kB Data Flash Dual Operation Flash sector size of 16 kB sector size of bank B of 8 kB or Satellite Flash Sector size of 8 kB January 31, 2014, AN704-00004-2v1-E 15 A P P L I C A T I O N N O T E The performance of the flash macros differs in following way: Table 3-2: Differences of Flash Performance with Zero Wait States MB96300 Performance with Up to 28 MHz CLKB MB96600 Up to 32 MHz CLKB zero wait state Due to the performance changes and the new command sequencer mode, which can be used, the complex memory timing setup disappeared. 3.1.3 Watchdog Timer (WDG) The concept of the watchdog differs between MB96300 and MB96600 super series. For MB96600 the watchdog is equipped with window-based functionality and is enabled by default after a reset. Following table shows the differences: Table 3-3: Differences of Watchdog Timer MB96300 Watchdog state after reset Watchdog window-based MB96600 disabled by default enabled by default can be enabled by user can be disabled by user software software No yes, watchdog is downward compatible to MB96300 WICM Marker for default No Yes No Yes (once) interval time in BCB Unlock of WDG via pattern sequence 16 AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N 3.1.4 N O T E Programmable Pulse Generator (PPG) The PPG of the MB96600 super series is fully downward compatible to the PPG of the MB96300 super series. But there were made some improvements: Table 3-4: Differences of Programmable Pulse Generator MB96300 Division from 16-bit PPG to two separate 8-bit MB96600 No Yes Triggering of ADC by PPG No Yes Programmable Start delay1 No Yes Selection of all available RLT as clock source No Yes Common trigger for all PPGs No Yes Ramp mode1 No Yes Types of Interrupts: 4 6 define timing point match within the PPG cycle No Yes end duty match during the ramp mode operation No Yes PPGs 1 : Feature not available on all MCUs. Check for availability in corresponding data sheet. As the 16-bit PPG counter can be divided into two 8-bit counters, two outputs are implemented for one PPG module. So in case of 16-bit resolution both outputs can drive the same (or inverted) signal, whereas in case of division into two 8-bit counters there are also two different output signals finally. These extensions are not available for all MB96600 devices. Please refer to datasheet accordingly. January 31, 2014, AN704-00004-2v1-E 17 A P P L I C A T I O N 3.1.5 N O T E USART Despite enhancements and new features, as for instance 16-byte Rx/Tx FIFO buffer and LIN extensions, the USART module of the MB96600 is software downward compatible to MB96300. Take for note, that bit timing and handling of Tx- and Rx-flags differ to MB96300 minimally. For detailed description, it is referred the hardware manual. In the following table main differences within the USART are listed: Table 3-5: Differences of USART USART MB96300 MB96600 16-byte Rx/Tx FIFO1 No yes LIN Auto baud rate generation / adjustment (without No Yes LIN checksum generation / verification 2 No Yes Automatic LIN header transmission / detection2 No Yes LIN bus error detection2 No Yes LIN internal loop back feature2 No Yes ICU)2 SSR:TDRE/RDRF Bit timing Changed, but backward compatible Extended interrupt sources No Yes SPI baud rates > 6Mbit/s No Yes 1 : Not in all MCUs available. Check for availability in data sheet 2 : Not all USART instances have extended LIN features. USART modules with extended LIN features are listed in the product lineup of datasheet. 18 AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N 3.1.6 N O T E A/D Converter (ADC) The enhanced A/D converter module of the MB96600 super series is downward compatible to MB96300. The following table shows the differences. Table 3-6: Differences of AD Converter ADC MB96300 MB96600 Range comparator No Yes Channel skip by Scan Disable Function1 No Yes Pulse detection for range comparator1 No Yes Eight A/D data buffers for conversion results1 No Yes Separate A/D converter trigger (see chapter No Yes Yes Yes 3.2.1) Stop Mode Renamed to: Pause Mode 1 : This extension is not available for all MB96600 devices. Please refer to Data Sheet accordingly. 3.1.7 I/O Ports The I/O cells were changed from MB96300 to MB96600 due to cost reduction. Main restriction is that the input level is fixed on MB96600 super series devices. Also driving strength and availability of pull-down resistors were changed (details see in chapter 4.5). 3.1.8 16-Bit Reload Timer (RLT) Beside the new added TIN latch function the MB96600 16-Bit reload timer is fully downward compatible to MB96300. Table 3-7: Differences of the 16-bit Reload Timer RLT TIN latch function January 31, 2014, AN704-00004-2v1-E MB96300 No MB96600 yes 19 A P P L I C A T I O N 3.1.9 N O T E Direct Memory Access (DMA) The DMA module of the MB96600 super series is fully compatible to MB96300. In case of the DMA handling with respect to the USART transmission the software handling is compatible, but the improved implementation can be applied. For details it is referred for the hardware manual. 3.1.10 ROM Configuration Block The access bit width to FLASH security marker in the Boot ROM was changed. Table 3-8: Differences of the access bit width to FLASH security marker Flash Security Marker The access bit width 3.2 MB96300 8 bit MB96600 16 bit New Peripherals In this chapter only new peripherals on MB96600 super series are presented. 3.2.1 A/D Converter Trigger One new module is the A/D converter trigger, which facilitates a triggering via PPG and RLT timer. Following events can be selected as trigger: Timing point events from PPG Trigger due to the RLT timer output change External pin 3.2.2 Quadrature Position/Revolution Counter (QPRC) The Quadrature Position/Revolution Counter (QPRC) is a new peripheral, which is applied for rotary encoding. Alternatively the QPRC can be used as up/down counter. 20 AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N 3.3 N O T E Unchanged Peripherals All other peripherals are equal between MB96300 and MB96600 super series.: Source Clock Timer 16-Bit I/O Timer o 16-bit Free-Running Timer (FRT) o Output Compare Unit (OCU) o Input Capture Unit (ICU) External Interrupts 400 kHz I2C Interface CAN controller Clock Output Function Real Time Clock Clock Calibration Unit Stepper Motor Controller Sound Generator ROM/RAM Mirroring Module Some MB966xx series MCUs which are successors of MB963xx series MCUs (e.g. MB96310 → MB96610) may differ in terms of available peripheral instances. Please check the datasheet for availability of peripheral instances. 3.4 Unavailable Peripherals As follows there is a list of all removed peripherals on MB96600 super series: Alarm Comparator Clock Modulator External Bus Interface USB January 31, 2014, AN704-00004-2v1-E 21 A P P L I C A T I O N 4 N O T E Hardware Environment and Electrical Characteristics Main Differences in the Hardware Environment 4.1 Introduction In this chapter the most important changes within hardware environment are presented. Nevertheless a detailed investigation of the datasheet is recommended. 4.2 Pin Assignment The availability of some peripherals from one MB963xx series to the follow-up MB966xx series (e.g. MB96310 → MB96610) changed in some cases. So MB96600 super series is not 100% pin compatible to MB96300 super series. Please check for all available instances of every peripheral and the pin assignment in the corresponding datasheet. 4.3 Mode Pins The number of mode pins changed in MB96600. For details about the mode pin settings see chapter 2.1. 4.4 Debug Environment In MB96300 super series there are two possibilities for debugging: usage of emulator with EVA-chip and the low-cost alternative to debug the system via USART in the background debugging mode. Disadvantage of the latter solution is that the USART, which is used for debugging, is not available anymore for user application. On host system side the third-party debug tool EUROScope is necessary. For MB96600 super series debugging is handled in a different way. The devices support on-chip-debugging via a single-wire interface. The according pin is called DEBUG I/F and is used exclusively for debugging purposes. Advantage of this kind of debugging is that target application can be debugged in real-time and in-system. There is no influence of additional adapter boards and probe cables. The on-chip-debugging also supports the feature to debug an already running application board from the field because the debugging system supports hot-plugging. The required hardware connection between application board and emulator box is very simple. This can be seen in the following figure: 22 AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N N O T E Figure 1: Target board with single-wire connection to emulator MB2100-01-E Only a series resistor and a pull-up resistor are necessary for the connection between MB2100-01-E emulator box and target application. Take into consideration, this pin (DEBUG I/F) is also used as mode pin. The emulator itself is connected to the development PC via a USB 2.0 interface. The emulator is fully supported by SOFTUNE V3 Workbench (ProPack Revision 300023 or later). With the new Spansion debug tool there is no debug support by EUROScope for the MB96600 any more available. Table 4-1: Differences in Debug Support Debug Support SOFTUNE V3 MB96300 yes MB96600 Yes min: V03L36 (ProPack rev300023) EUROScope yes No Debug HW MB2198-01-E + MB2198-500-E + MB2100-01-E MB2198-5xx-E (socket adapter) + EVA-Chip MB96V300 January 31, 2014, AN704-00004-2v1-E 23 A P P L I C A T I O N N O T E VCC 50 Ohm R1 MB966xx DEBUG I/F MDI connector R0 Figure 2: Diagram of debug connection Please check for detailed OCDS layout design rules the MB2100-01-E manual and the chapter „OCD‟ of the hardware manual. 4.5 I/O Ports The I/O cells were changed from MB96300 to MB96600 due to cost reduction. Main restriction is that four input levels are not available for all pins anymore. Also driving strength and availability of pull-down resistors were changed. Following sub-chapters list the differences in more detail. 4.5.1 Input levels The available input levels are listed in following table: Table 4-2: Differences of Input Levels Input Level CMOS hysteresis 0307 MB96300 all ports MB96600 CAN RX, High = 0.7 x VDD USART SIN, SCK Low = 0.3 x VDD I2C Automotive hysteresis all ports all ports other than: High = 0.8 x VDD CAN RX, Low = 0.5 x VDD USART SIN, SCK I2C 24 AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N Input Level N O T E MB96300 TTL MB96600 all ports DEBUG I/F all ports RSTX High = 2.0 V Low = 0.8 V CMOS hysteresis 0208 High = 0.8 x VDD Low = 0.2 x VDD 4.5.2 Driving strength The driving strength of the output drivers is reduced like mentioned in the following table: Table 4-3: Differences of Driver Strength MB96300 Selectable driving strengths MB96600 2 mA, 4 mA, 5 mA, 30 mA (only some GPIOs) 30 mA (only some GPIOs) 4.5.3 Availability of internal pull-up- and pull-down resistors The possibility of selecting internal pull-up or pull-down resistors is changed like mentioned in following table: Table 4-4: Differences of available internal Resistor Internal Resistor Pull-down resistors MB96300 no MB96600 available on some pins (depends on device) Pull-up resistors January 31, 2014, AN704-00004-2v1-E yes yes 25 A P P L I C A T I O N 4.6 N O T E Smoothing Capacitor The smoothing capacitor Cs at the C-pin changed: Table 4-5: Differences of applied capacitor at c-pin MB96300 Cs 4.7 µF (X7R) 4.7 4.7.1 MB96600 1 - 4.7 µF (X7R) AC Characteristics Stabilization Time Beside reduction of the oscillation stabilization time, the reset extension counter is shared by the power on reset and external reset. This counter has 8-bit resolution, instead of 10-bit. Table 4-6: Differences of stabilization time after reset stabilization time MB96300 MB96600 [RC cycles] Power reset 700 + RC clock stabilization time 200 + RC clock stabilization time 64(2MHz,100kHz) 256(2MHz) External reset RC clock stabilization time 26 16(100kHz) AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N 4.7.2 N O T E Main clock input characteristics The main clock input maximum frequency was changed in MB96600 series. Table 4-7: Main clock input characteristics MB96300 Main clock input frequency (Max.) 4.8 16MHz MB96600 8MHz Reset pin (RSTX) The internal pull up resistor of the reset input pin RSTX was removed in MB96600 series. It is strongly recommended to add an external pull up resistor. Table 4-8: reset input pin Reset Input pin Internal pull up MB96300 Yes January 31, 2014, AN704-00004-2v1-E MB96600 no 27 A P P L I C A T I O N N O T E Revision History 28 Rev Date Remark 1.0 June. 11, 2012 First Edition 2.0 Jan. 31, 2013 Added chapter “3.1.10 2.1 Jan. 31, 2014 Company name and layout design change ROM Configuration Block“ AN704-00004-2v1-E, January 31, 2014 A P P L I C A T I O N N O T E Colophon The products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for any use that includes fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for any use where chance of failure is intolerable (i.e., submersible repeater and artificial satellite). Please note that Spansion will not be liable to you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products. Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the US Export Administration Regulations or the applicable laws of any other country, the prior authorization by the respective government entity will be required for export of those products. Trademarks and Notice The contents of this document are subject to change without notice. This document may contain information on a Spansion product under development by Spansion. Spansion reserves the right to change or discontinue work on any product without notice. The information in this document is provided as is without warranty or guarantee of any kind as to its accuracy, completeness, operability, fitness for particular purpose, merchantability, non-infringement of third-party rights, or any other warranty, express, implied, or statutory. Spansion assumes no liability for any damages of any kind arising out of the use of the information in this document. Copyright © 2012-2014 Spansion Inc. All rights reserved. Spansion®, the Spansion logo, MirrorBit®, MirrorBit® EclipseTM, ORNANDTM and combinations thereof, are trademarks and registered trademarks of Spansion LLC in the United States and other countries. Other names used are for informational purposes only and may be trademarks of their respective owners. January 31, 2014, AN704-00004-2v1-E 29