20-101-1255 Rabbit Semiconductor, 20-101-1255 Datasheet - Page 42

COMPUTER SINGLE-BOARD BL4S100

20-101-1255

Manufacturer Part Number
20-101-1255
Description
COMPUTER SINGLE-BOARD BL4S100
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1255

Module/board Type
Single Board Computer Module
Product
Modules
Processor Type
BL4S100
Sram
512 KB
Timers
8 bit, 10 bit
Number Of I/os
20
Backup Battery
3 V Lithium Coin Type
Operating Voltage
9 V to 36 V
Power Consumption
2 W
Board Size
96 mm x 146 mm x 16 mm
Description/function
Computer Module
For Use With/related Products
BL4S100
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1168
Rabbit recommends that you run and understand both the
CAPTURE.C
CAPTURE_IRQ.C
BL4S100 User’s Manual
Once the connections have been made, compile and run this sample program. Change
the offset and duty cycle for a given PPM channel via the Dynamic C
and watch the change to the begin and end counts measured on the input capture inputs.
The PPM frequency can be changed in the
PULSE_CAPTURE_IRQ.C
method using RIO interrupts.
IN0 is configured as the pulse capture input, and OUT0–
OUT7 are configured as PWM outputs of varying fre-
quencies and duty cycles that provide signals to test the
capture with. Connect IN0 and OUT0 together.
If an external signal source is available, connect it to
IN0 for capture.
If an external signal source is not available, connect IN0 on the BL4S100 to SW1.
Once you compile and run this sample program, press any key on your PC keyboard to
pause or unpause the display—the capture will continue in the background. Change the
IN0 connection to any of OUT0–OUT7 or an external source to capture a different signal.
This sample program will continuously capture single pulses in an interrupt service
request for display
PWM.C
OUT0–OUT7. The PWM signals are set for a frequency of 200 Hz with the duty cycle
adjustable from 0 to 100% by the user. These pins can be connected to an oscilloscope
to view the waveform being generated. The overall frequency can be adjusted in the
#define PWM_FREQ
Once you compile and run the sample program, change the duty cycle for a given PWM
output channel via the Dynamic C
on the oscilloscope. Signals on the same RIO counter block (OUT0 and OUT1 for
example) will all be synchronized with each other. Different blocks may have a phase
shift from each other, but will run at the same frequency.
Global synchronization can be used to synchronize different block on the RIO, but this
is not demonstrated in this sample program.
1. The digital outputs on the BL4S100 do not have an internal pull-up resistor and will not register on
2. Connect the oscilloscope probe to digital output pins OUT0–OUT3 on headers J3 or J4. Remember
the oscilloscope without a pull-up resistor. The Demonstration Board has pull-up resistors—
connect OUT0–OUT3 on the BL4S100 to SW1–SW4 on header J1 of the Demonstration Board.
to connect the oscilloscope ground to GND on header J4.
—Demonstrates the use of the eight PWM channels on digital output pins
sample programs before looking at
uses concepts covered in the simpler sample programs.
line. Follow these instructions when running this sample program.
—Demonstrates the use of an advanced pulse capture
STDIO
window and watch the change in waveforms
#define PPM_FREQ
PULSE_CAPTURE_IRQ.C
INTERRUPTS.C
line.
since
STDIO
and the
PULSE_
window
PULSE_
40

Related parts for 20-101-1255