The invention discloses a batch automatic detection method and
system for internal clocks of a
chip. The method comprises the following steps: providing a
clock frequency measurement module taking a reference
crystal oscillator as a reference
clock source in a
chip, introducing all internal clocks of the
chip into the
clock frequency measurement module, carrying out frequency test through a
software calling module, identifying all the internal clocks by
software in a dynamic enumeration mode and carrying out measurement one by one, start and stop of the module can be controlled through the register, and the
software plug-in calls a driver in an
application layer and generates a
test report. The
system comprises a reference clock module, a clock frequency measurement module, a measurement control module, a driving module and a software plug-in module. The method and the
system do not need to change hardware equipment and a circuit board, do not need to depend on an external measuring tool, are high in detection efficiency, comprehensive in coverage and accurate in result, do not affect normal operation of other functional modules of the chip, and are suitable for chip design
verification, communication, computers,
consumer electronics and other scenes using system-level chips.