TI中文支持网
TI专业的中文技术问题搜集分享网站

Operation Mode Control–Jones Chen

Author: Jones Chen in Texas Instruments

1)JTAG pin

2)TRST

Do not use pull-up resistors on TRST: it has an internal pull-down device.

In a low-noise environment, TRST can be left floating.

In a high-noise environment, an additional pull-down resistor may be needed. (The size of this resistor should be based on electrical current considerations.)

3Operations Mode Status Latched

The state of theTRST, EMU0, and EMU1 signals at device power up determine the operating mode of the device. The operating mode takes effect as soon as the device has sufficient power to operate.Should the TRST signal rise, the EMU0 and EMU1 signals are sampled on its rising edge and the\at operating mode is latched.

4Test Program

A test program has been programmed, the program has been burn to flash in advance. The program toggles the GPIO34 which connected to LED3 to let the LED blink.

5EMU0 and EMU1 Circuits:

6XRST Circuit:

 

7Experiment Description:

Emulator is disabled, so the TRST=0 when power on

Once power on, the four signals TRST XRST EMU0 EMU1 are monitored from the oscillograph.

 

1)  The yellow line is the TRST signal

2)  The aqua line is the XRST signal

3)  The purple line is the EMU0 signal

4)  The green line is the EMU1 signal

 

8Operation mode:

 

9Results:

Experiment Number

Operation Mode entered

Signals Description

Program Run correctly

Else

1

Normal mode

Figure 1

Yes, led blinking

 

2

Wait in reset mode

Figure 2

No

 

3

Reserved for testing

Figure 3

No

 

4

Slave mode

Figure 4

Yes, led blinking

 

 

 

 

 

 

 

10Figures:

【Figure 1】 Experiment 1, Power on moment(Normal Mode entered)

 

【Figure 2】 Experiment 2, Power on moment(Wait in reset modeentered)

【Figure 3】 Experiment 4,  Power on moment(Reserved for testing mode entered)

【Figure 4】 Experiment 6, Power on moment(Slave mode entered)

 

赞(0)
未经允许不得转载:TI中文支持网 » Operation Mode Control–Jones Chen
分享到: 更多 (0)