English
Language : 

ZAMC4100 Datasheet, PDF (102/155 Pages) Integrated Device Technology – Actuator and Motor Controller
ZAMC4100 Datasheet
3.15. SBC Trimming
All SBC analog circuitry trimming values are stored in the INFO page 0 of the MCU FLASH memory (Figure 4.1)
during the ZAMC4100 production test. The MCU firmware has READ-only access to this partition; i.e., no trim
data corruption is possible due to firmware malfunction.
This procedure must be implemented as part of the MCU firmware and executed during system initialization.
When executed, the trimming procedure reads the OSCH, OSCL and Reference Current trim values from the
FLASH INFO page and transfers them to the corresponding SBC trim registers.
ZAMC4100 trimming procedure
Trimming data is located in the INFO page 0 at offset 00000040HEX. Trimming data is programmed in one word
and has the following structure:
Figure 3.29 Structure of SBC Trimming Data
Byte 3
Byte 2
Byte 1
Byte 0
Not Used CREF
OSCH
OSCL
The trimming procedure is given below. It must be executed as soon as the device is powered:
1. Disable the watchdog timer.
2. Write ADHEX to the AUTHSIG register of the SBC.
3. Write B6HEX to the AUTHSIG register of the SBC.
4. Write OSCH to the OSCHTRM register of the SBC.
5. Write OSCL to the OSCLTRM register of the SBC.
6. Write CREF to the CREFTRM register of the SBC.
7. Write 00HEX to AUTHSIG.
8. Setup and enable the watchdog timer. This step is optional.
This procedure prepares the MCU clock and current sources to be at their optimal value. It must be executed
immediately after each MCU reset.
© 2016 Integrated Device Technology, Inc.
102
January 26, 2016