| Electronic Components Datasheet Search |
|
33989 Datasheet(PDF) 26 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
33989 Datasheet(HTML) 26 Page - Freescale Semiconductor, Inc |
|
26 / 66 page ![]() Analog Integrated Circuit Device Data 26 Freescale Semiconductor 33989 FUNCTIONAL DEVICE OPERATION RESET AND WATCHDOG PINS, SOFTWARE WATCHDOG OPERATIONS DEVICE POWER-UP, SBC WAKE-UP After device or system power-up, or after the SBC wakes up from Sleep mode, it enters into Reset mode prior to moving into Normal Request mode. DEBUG MODE: HARDWARE AND SOFTWARE DEBUG WITH THE SBC When the SBC is mounted on the same printed circuit board as the microcontroller it supplies, both application software and SBC dedicated routine must be debugged. The following features allow debug of the software by allowing the possibility of disabling the SBC internal software Watchdog timer. DEVICE POWER-UP, RESET PIN CONNECTED TO VDD1 At SBC power-up the VDD1 voltage is provided, but if no SPI communication occurs to configure the device, a reset occurs every 350 ms. In order to allow software debug and avoid MCU reset, the Reset pin can be connected directly to VDD1 by a jumper. DEBUG MODES WITH SOFTWARE WATCHDOG DISABLED THOUGH SPI (NORMAL DEBUG, STANDBY AND STOP DEBUG) The Watchdog software can be disabled through SPI. To avoid unwanted watchdog disable while limiting the risk of disabling Watchdog during SBC normal operation, the watchdog disable must be achieved the following sequence: • Step 1–Power down the SBC • Step 2–Power-up the SBC (The BATFAIL bit is set, allowing the SBC to enter Normal Request mode) • Step 3–Write to TIM1 register allowing SBC entering Normal mode • Step 4–Write to MCR register with data 0000, enabling the Debug mode. Complete SPI byte: 000 1 0000 • Step 5–Write to MCR register normal debug (0001x101) • Step 6–To leave the Debug mode, write 0000 to MCR register While in Debug mode, the SBC can be used without having to clear the WD on a regular basis to facilitate software and hardware debug. At Step 2, the SBC is in Normal Request. Steps 3, 4, and 5 should be completed consecutively and within the 350 ms time period of the Normal Request mode. If this step is not accomplished in a timely manner, the SBC will go into Reset mode, entering Normal Request again. When the SBC is in Debug mode, and set in Stop Debug or Sleep Debug, when a wake-up occurs the SBC enters Normal Request mode for a time period of 350 ms. To avoid the SBC generating a reset (enter Reset mode) the desired next Debug mode (Normal Debug or Standby Debug) should be configured within the 350 ms time period of the Normal Request mode. For details, please refer to State Machine in Debug mode, Figure 16. To avoid entering Debug mode after a power-up, first read BATFAIL bit (MCR read) and write 0000 into MCR. Figure 15 illustrates the Debug mode enter. Figure 11. Debug Mode Enter MCU FLASH PROGRAMMING CONFIGURATION To download software into the application memory (MCU EEPROM or Flash) the SBC capabilities allows the VDD1 to be forced by an external power supply to 5.0 V; the reset and WD outputs by external signal sources are forced to zero or 5.0 V, both without damage. This allows, for example, supply of the complete application board by external power supply, applying the correct signal to reset pins. No function of the SBC is operating. Due to pass transistor from VDD1 to VSUP, supplying the device from VDD1 pin biases the VSUP pin. Therefore, VSUP should not be forced to a value above 5.0 V. The Reset pin is periodically pulled low for RSTDUR time (3.4 ms typical) before being pulled to VDD1 for 350 ms typical. During the time reset is low, the reset pin sinks 5.0 mA maximum (LPDW parameter). VSUP SPI MCR(Step4) Batfail VDD1 Debug Mode MCR (Step5) SPI: Read Batfail MCR (Step6) SBC in Debug Mode, No WD SBC Not in Debug Mode and WD ON TIM1(Step 3) |
|
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 |