ST72344S4 STMicroelectronics, ST72344S4 Datasheet - Page 174

no-image

ST72344S4

Manufacturer Part Number
ST72344S4
Description
8-bit MCU
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72344S4

Up To 16 Kbytes Program Memory
single voltage extended Flash (XFlash) with readout and write protection, in-circuit and inapplication programming (ICP and IAP). 10K write/erase cycles guaranteed, data retention
256 Bytes Data Eeprom With Readout Protection. 300k Write/erase Cycles Guaranteed, Data Retention
20 years at 55 °C.
Clock Sources
crystal/ceramic resonator oscillators, high-accuracy internal RC oscillator or external clock
5 Power-saving Modes
Slow, Wait, Halt, Auto-wakeup from Halt and Active-halt
16-bit Timer A With
1 input capture, 1 output compares, external clock input, PWM and pulse generator modes
16-bit Timer B With
2 input captures, 2 output compares, PWM and pulse generator modes
On-chip peripherals
Note:
174/247
When the memory address limit is reached the current address will roll over and the
sequential read will continue till the addressing master sends a stop condition. Refer to
Figure 81
Combined format
If a master wants to continue communication either with another slave or by changing the
direction of transfer then the master would generate a restart and provide a different slave
address or the same slave address with the R/W bit reversed. Refer to
Rollover handling
The RAM buffer of each slave is divided into pages whose length is defined according to
PL1:0 bits in I2C3SCR1. Rollover takes place in these pages as described below.
In the case of Page Write, if the number of data bytes transmitted is more than the page
length, the current address will roll over to the first byte of the current page and the previous
data will be overwritten. This page size is configured using PL[1:0] bit in the I2C3SCR1
register.
In case of Sequential Read, if the current address register value reaches the memory
address limit the address will roll over to the first address of the reserved area for the
respective slave.
There is no status flag to indicate the roll over.
The reserved areas for slaves 1 and 2 have a limit of 256 bytes. The area for slave 3 is 128
bytes. The MSB of the address is hardwired, the addressing master therefore needs to send
only an 8 bit address.
The page boundaries are defined based on page size configuration using PL[1:0] bit in the
I2C3SCR1 register. If an 8-byte page size is selected, the upper 5 bits of the RAM address
are fixed and the lower 3 bits are incremented. For example, if the page write starts at
register address 0x0C, the write will follow the sequence 0x0C, 0x0D, 0x0E, 0x0F, 0x08,
0x09, 0x0A, 0x0B. If a 16-byte page size is selected, the upper 4 bits of the RAM address
are fixed and the lower 4 bits are incremented. For example if the page write starts at
register address 0x0C, the write will follow the sequence 0x0C, 0x0D, 0x0E, 0x0F, 0x00,
0x01, etc.
Error conditions
BERR: Detection of a Stop or a Start condition during a byte transfer. In this case, the
BERR bit is set by hardware with an interrupt if ITER is set. During a stop condition, the
interface discards the data, releases the lines and waits for another Start condition.
However, a BERR on a Start condition will result in the interface discarding the data
and waiting for the next slave address on the bus.
NACK: Detection of a non-acknowledge bit not followed by a Stop condition. In this
case, NACK bit is set by hardware with an interrupt if ITER is set.
Doc ID 12321 Rev 5
ST72344xx ST72345xx
Figure
82.

Related parts for ST72344S4