JN5148 NXP Semiconductors, JN5148 Datasheet - Page 41

The JN5148 is an ultra low power, high performance MCU combined with an IEEE802

JN5148

Manufacturer Part Number
JN5148
Description
The JN5148 is an ultra low power, high performance MCU combined with an IEEE802
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
JN5148-001
Manufacturer:
JENNIC
Quantity:
20 000
Part Number:
JN5148-001-M04
Manufacturer:
IXYS
Quantity:
2 300
Part Number:
JN5148/001
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
JN5148/001
0
11.1.5 Example Timer / Counter Application
Figure 31 shows an application of the JN5148 timers to provide closed loop speed control. Timer 0 is configured in
PWM mode to provide a variable mark-space ratio switching waveform to the gate of the NFET. This in turn controls
the power in the DC motor.
Timer 1 is configured to count the rising edge events on the clk/gate pin over a constant period. This converts the
tacho pulse stream output into a count proportional to the motor speed. This value is then used by the application
software executing the control algorithm.
If required for other functionality, then the unused IO associated with the timers could be used as general purpose
DIO.
11.2 Tick Timer
The JN5148 contains a hardware timer that can be used for generating timing interrupts to software. It may be used
to implement regular events such as ticks for software timers or an operating system, as a high-precision timing
reference or can be used to implement system monitor timeouts as used in a watchdog timer. Features include:
© NXP Laboratories UK 2011
32-bit counter
1
Timer 0
Timer 1
2
JN5148
Figure 31: Closed Loop PWM Speed Control Using JN5148 Timers
51
48
50
52
53
54
Conversion cycle 1
CLK/GATE
CAPTURE
CLK/GATE
CAPTURE
PWM
PWM
3
Figure 29: Return To Zero Mode in Operation
1
2
Conversion cycle 1
Figure 30: Non-Return to Zero Mode
3
JN-DS-JN5148-001 1v7
N
1N4007
N
2
16
2
17
1
Conversion cycle 2
2
1
M
IRF521
2
3
1 pulse/rev
Conversion cycle 2
N
3
Tacho
+12V
N
41

Related parts for JN5148