Specifications
Analog-to-Digital Converter
12-4
12.3 Analog-to-Digital Converter
When compared to the ’240 ADC, the ’240x ADC has been significantly en-
hanced. As a result, code written for the ’240 ADC cannot be ported to the
’240x.
12.4 Serial Communications Interface
Some code changes are required. This is code that switches the SCI pins be-
tween their SCI functions and their digital I/O functions, and accesses them
in digital I/O mode. When porting code from a ’240 to a ’240x device, it must
access the relevant bits in the digital I/O peripheral instead of the SCIPC2
register.
The SCI has
free
and
soft
emulation modes.
12.5 Serial Peripheral Interface
This SPI is no longer limited to a maximum transmission rate of CLKOUT / 8
in slave mode. The maximum transmission rate in
both
slave mode
and
master
mode is now CLKOUT / 4.
Some code changes are required. This is code that switches the SPI pins
between their SPI functions and their digital I/O functions, and accesses them
in digital I/O mode. When code is ported from ’240 to ’240x devices, it must
access the relevant bits in the digital I/O peripheral instead of the SCIPC1 and
SCIPC2 register.
When code is ported from a ’240 to a ’240x device, writes of transmit data to
the serial data register, SPIDAT, must be left-justified within a 16-bit register,
not within an 8-bit register.
The SPI has
free
and
soft
emulation modes.
12.6 Watchdog Timer
When porting code from ’240 to ’240x devices, all code that uses the RTI
peripheral (if any) must be removed.
Analog-to-Digital Converter / Serial Communications Interface / Serial Peripheral Interface / Watchdog Timer










