lektor January & February 2021 111
the individual peripherals and their special features will be quiet
long and boring at the beginning, we are going to introduce them
while we move along with the Propeller 2, so introducing them
“On-Demand”. The next step will be a short look at the development
environment and getting our first I/O pin to drive an LED.
200479-01
Where have the peripherals gone?
Wondering where the SPI, I2C and UART modules are? Those can
be formed by using the smart pins and some code inside the cogs.
Even if they are not directly on the feature map, they are avail-
able. With this approach we will be able to output an HDMI signal
directly to a monitor and display content from a flash chip. But
that is planned for the end of this series. As an introduction to
Figure 2: Add-on baords for the Propeller 2 Evaluation board.
SMART PIN FUNCTIONS
> 8-bit, 120-Ω (3 ns) and 1-kΩ DACs with 16-bit oversampling,
noise, and high/low digital modes
> Delta-sigma ADC with five ranges, two sources, and VIO/GIO
calibration
> Several ADC sampling modes: automatic 2n SINC2,
adjustable SINC2/SINC3, oscilloscope
> Logic, Schmitt, pin-to-pin-comparator, and 8-bit-level-
comparator input modes
> 2/3/5/8-bit-unanimous input filtering with selectable
sample rate
> Incorporation of inputs from relative pins, -3 to +3
> Negative or positive local feedback, with or without clocking
> Separate drive modes for high and low output:
logic/1.5 k/15 k/150 k/1 mA/100 μA/10 μA/float
> Programmable 32-bit clock output, transition output, NCO/
duty output
> Triangle/sawtooth/SMPS PWM output, 16-bit frame with
16-bit prescaler
> Quadrature decoding with 32-bit counter, both position and
velocity modes
> 16 different 32-bit measurements involving one or two signals
> USB full-speed and low-speed (via odd/even pin pairs)
> Synchronous serial transmit and receive, 1 to 32 bits, up to
clock/2 baud rate
> Asynchronous serial transmit and receive, 1 to 32 bits, up to
clock/3 baud rate
Contributors
Author: Mathias Claußen
Editor: Jens Nickel and C. J. Abate
Layout: Giel Dols
Questions or Comments?
Do you have questions or comments about his article? Email
the author at [email protected] or contact Elektor
at [email protected].