Guidelines for migrating ST72F324 or ST72324 (ROM)
applications to ST72F324B or ST72324B (ROM)
Introduction
This application note provides information on using ST72F324B, ST72324B (ROM)
microcontroller devices in applications originally designed for the ST72F324 and ST72324
(ROM) series.
EmulatorST7MDT20J-EMU3 and ST7MTD20-DVP3 (for Flash devices only)
Programming toolsST7MDT20J-EPB and ST7MTD20-DVP3 (for Flash devices only)
1. Refer to the corresponding datasheets for more information.
2. SDIP42 / SDIP32 packages are valid only for non-automotive devices.
3. Exit from Active Halt mode available with external interrupts.
4. The TAOC2HR and TAOC2LR registers are write only; reading them will return undefined values and
OCF2 flag in the TACSR register cannot be used (forced to ‘0’ by hardware).
5. Improved ADC accuracy.
6. For 8K and 16K devices, Readout Protection is not supported if LVD is enabled.
(5)
(6)
Doc ID 12345 Rev 23/8
Feature compatibilityAN2366
2 Feature compatibility
2.1 VDD Rise time
Some timing differences exist between the products (see Ta bl e 3 ). The application must
ensure that the power supply ramps up within the time window specified for the
microcontroller if LVD is ON.
Table 3.V
SymbolDescriptionDeviceConditionsMinMax
Rise time
DD
ST72324
Vt
PORVDD
Rise time
ST72324B (8K and 16K)20ms/V
ST72324B (32K)Infinite ms/V
ST72F324, ST72F324B100ms/V
2.2 Asynchronous RESET pin
The VIL/VIH of RESET pin has been changed from 0.16VDD/0.85VDD to 0.3VDD/0.7VDD
respectively (see Ta b le 4 ).
Table 4.RESET pin characteristics
ST72F324, ST72324ST72F324B, ST72324B
MinMaxMinMax
V
IL
V
IH
-0.16xVDD-0.3xV
0.85 x V
DD
2.3 Oscillator pad
The ST72324B (32K Flash and ROM devices only) features a new oscillator pad which is
more tolerant of the crystal type and is not disturbed if the oscillator pins are left
unconnected. When migrating to these devices, the MCU needs to be validated with your
existing resonator / crystal.
Infinite ms/V
LVD on6µs/V
DD
-0.7xVDD-
4/8 Doc ID 12345 Rev 2
AN2366Performance improvements
3 Performance improvements
The ST72F324B devices feature many significant improvements such as:
●Reduced PLL clock jitter
●Lower power consumption
●Improved A/D converter accuracy and negative injection on robust pins
Refer to the relevant datasheets for more details.
Doc ID 12345 Rev 25/8
Limitations summaryAN2366
4 Limitations summary
Table 5.Limitation comparison table
LimitationsST72F324
(1)
ST72324
ROM
ST72F324B
ST72324B
ROM
Unexpected reset fetchXXXX
I/O Port A & F configuration
✔
(2)
X
✔X
(2)
16-bit timer PWM modeXXXX
SCI Wrong break durationXXXX
Clearing active interrupts outside interrupt
routine
XXXX
External interrupt missedXXXX
TIMD set simultaneously with OC interruptXXXX
Internal RC operationX
Active Halt wake-up by external interruptX
Negative injection current immunity on
analogic pins
V
(min) / VIL(max) 0.7 x VDD / 0.3 x VDD
IH
on reset pin
LVD/AVD operation✔X
Active Halt mode power consumptionX
External clock source with PLL✔X
ICC mode entry with 39 pulses✔✔X
Safe connection of OSC1/OSC2 pinsXX✔
Negative current injection on pin PB0X✔✔
1. Please refer to known limitations section in the datasheet.
2. For 8K/16K devices only.
3. Internal RC oscillator operation is not supported if LVD is disabled.
4. Only Reset or MCC/RTC interrupt can be used to exit from the Active Halt mode.
5. Negative injection current on any of the analog input pins significantly reduces the accuracy of ADC.
6. VIH(min) and VIL(max) on reset pin is 0.85 x V
7. LVD is not guaranteed.
8. For 8K/16K devices, if Readout Protection is selected, LVD may cause the product to become stuck in the
reset state.
9. Max power consumption in Active Halt mode is not guaranteed.
10. For 32K ROM devices, the power consumption in Active Halt mode is 190µA typical and 300µA maximum.
11. External clock source is not supported with PLL enabled.
12. Not supported for 8K/16K devices.
13. For 32K devices only.
14. Negative current injection is allowed only for 32K devices. For 8K/16K devices, limitation is still present.
(3)
(4)
(5)
X
(6)
X
(9)
and 0.16 x VDD respectively.
DD
X✔✔
(4)
X
(5)
X
(6)
X
(7)
(9)
X
(11)
✔✔
✔✔
✔✔
✔✔
✔✔
(8)
(10)
✔✔
(12)
(13)
(14)
✔
(13)
✔
✔
Legend:
X - Limitation occurs.
✔ - No limitation.
6/8 Doc ID 12345 Rev 2
AN2366Revision history
5 Revision history
Table 6.Document revision history
DateRevisionChanges
07-Aug-20061Initial release
01-Jul-20092
Updated Table 2: Feature overview and Table 5: Limitation
comparison table.
Doc ID 12345 Rev 27/8
AN2366
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.