×

Semiconductor device and fault detection method therefor

  • US 10,191,829 B2
  • Filed: 07/18/2015
  • Issued: 01/29/2019
  • Est. Priority Date: 08/19/2014
  • Status: Active Grant
First Claim
Patent Images

1. A semiconductor device, comprising:

  • a processor coupled to a storage device storing instructions for executing;

    an arithmetic unit that performs processing for executing a computer program;

    a plurality of sound units that convert sound data stored in a memory into a serial signal, add sampling frequency information of the sound data to the serial signal and output the serial signal to a plurality of external terminals, and convert the sound data input from one of the plurality of the external terminals into a parallel signal, add the sampling frequency information of the sound data to the parallel signal, and transfer the parallel signal to the memory;

    a route switching unit that switches a transfer route of sound data input to and output from the plurality of sound units, the route switching unit being provided between the plurality of sound units and the plurality of external terminals; and

    a memory transfer controller that includes a plurality of memory-transfer control units that control transmission and reception of data between the memory and the plurality of sound units, and a unit control unit that controls the plurality of memory-transfer control units,wherein the arithmetic unit controls the route switching unit according to the computer program to configure first to third sound data transfer routes configured by one of the sound units and one of the memory-transfer control units, transfers reproduction sound data stored in the memory from the memory to a side of the external terminals via the first sound data transfer route, and transfers two recording sound data generated on account of the reproduction sound data from. the side of the external terminals to the memory via the second and third sound data transfer routes,wherein the arithmetic unit accumulates, in the memory, two pieces of the recording sound data transferred using the second and third sound. data transfer routes and compares the reproduction sound data and the two pieces of recording sound data and detects a fault in the sound data transfer routes,wherein the plurality of sound units generate a first count value indicating a length of a cycle of a sampling frequency of the sound data,wherein the plurality of memory-transfer control units generate a second count mile indicating a length of a transfer interval of the sound data,wherein the unit control unit generates a third count value indicating a length of a generation interval of a data control signal output by the sound units,wherein, when the first count value and a first expected value indicating an expected value of the first count value set in advance do not coincide with each other, the arithmetic unit determines that the sound unit has a fault,wherein, when the second count value and a second expected value indicating an expected value of the second count value set in advance do not coincide with each other, the arithmetic unit determines that the memory-transfer control unit has a fault, andwherein, when the third count value and a third expected value indicating an expected value of the third count value set in advance do not coincide with each other, the arithmetic unit determines that the sound data transfer route has a fault.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×