Rev. 1.00
176
September 11, 2018
Rev. 1.00
177
September 11, 2018
HT45F4050
A/D NFC Flash MCU
HT45F4050
A/D NFC Flash MCU
Bit 3
NFCWREN
:
MCU w
rite
NFC memory
enable
0: Disable
1: Enable
This is the MCU writing NFC memory
e
nable bit which must be set high before MCU
write operations to the NFC memory are carried out. Clearing this bit to zero will
inhibit MCU write operations to the NFC memory
.
This bit will be reset to zero by the
hardware after the write sequence has failed or the write cycle has finished. If the NFC
page address register is set with a value from 0x50h to 0x7Fh, this bit will be reset to
zero by the hardware after the NFC page address has changed. If the error interrupt
request WIPF, RIPF or ERF occurs, this bit will also be automatically reset to zero by
the hardware.
Bit 2
NFCWR
:
MCU write NFC memory
c
ontrol
0: Write cycle has finished
1: Activate a write cycle
This is the MCU writting NFC memory
c
ontrol
bit and when set high by the
application program will activate a write cycle. This bit will be automatically reset to
zero by the hardware after the write sequence has failed or the write cycle has finished.
Setting this bit high will have no effect if the NFCWREN bit has not first been set
high. If the NFC page address register is set with a value from 0x50h to 0x7Fh, this
bit will be reset to zero by the hardware after the NFC page address has changed. If an
error interrupt request WIPF, RIPF or ERF occurs, this bit will also be automatically
reset to zero by the hardware.
Bit 1
NFCRDEN
:
MCU read NFC memory
e
nable
0: Disable
1: Enable
This is the MCU reading NFC memory
e
nable bit which must be set high before
MCU read operations to the NFC memory are carried out. Clearing this bit to zero
will inhibit MCU read operations to the NFC memory
.
This bit will be reset to zero by
the hardware after the read cycle has finished. If the NFC page address register is set
with a value from 0x50h to 0x7Fh, this bit will be reset to zero by the hardware after
the NFC page address has changed. If the error interrupt request WIPF, RIPF or ERF
occurs, this bit will also be automatically reset to zero by the hardware.
Bit 0
NFCRD
:
MCU read NFC memory
c
ontrol
0: Read cycle has finished
1: Activate a read cycle
This is the MCU reading NFC memory
c
ontrol
bit and when set high by the
application program will activate a read cycle. This bit will be automatically reset to
zero by the hardware after the read cycle has finished. Setting this bit high will have
no effect if the NFCRDEN has not first been set high. If the NFC page address register
is set with a value from 0x50h to 0x7Fh, this bit will be reset to zero by the hardware
after the NFC page address has changed. If an error interrupt request WIPF, RIPF or
ERF occurs, this bit will also be automatically reset to zero by the hardware.
Note that the NFCWREN, NFCWR, NFCRDEN and NFCRD bits can not be set to "1" at the same
time using a single instruction. The NFCWR and NFCRD bits can not be set to "1" at the same
time. Instructions setting the NFCWREN and NFCWR bits high must be executed consecutively.
The global interrupt bit EMI should also first be cleared before implementing any write operations,
and then set again after the write cycle has started. When the MCU is reading data from the NFC
memory, data in the page address defined by NFCEEA will be loaded to the NFCEED0~NFCEED3
registers with the lowest byte first. When the MCU is writing data to the NFC memory, data in the
NFCEED0~NFCEED3 registers will be written to the page address defined by NFCEEA with the
lowest byte first. As the NFC memory read/write operations are carried out in a similar way as that
for MCU data EEPROM read/write operations, for more detailed information regarding read/write
sequence and write protection refer to the related section in the EEPROM Data Memory chapter
which has been previousely described.