SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
To handle errors, the IRQ status must be enabled. The IRQ status is enabled by writing a 1 to the VCP_IRQENABLE_SET[0] ENABLE_SET bit. When the coprocessor detects an error, the coprocessor sets the status and error words, then sends an interrupt to the CPU. Any coprocessor processing is paused and the DSP must reset or start the coprocessor. An error occurs if the VCP modules receive an invalid value in the input configuration parameters. If an error is detected, the VCP_VCPERR bit-fields are set accordingly, the VCP_VCPSTAT0[2] ERR bit is set, the VCP_INT interrupts are generated, and no processing are engaged. In order to restart the VCPs the following steps must be taken:
The status registers are provided for debugging purposes and are best used when either the processor is halted or the VCP modules are halted. If an error occurs, the VCPs are halted and a VCP_INT interrupts are generated that can be mapped to a CPU interrupt. There may be cases where the status registers must be viewed when the VCP modules are still running. One such case is when the VCPs seem to have taken a long time in processing the current frame. In such cases, a watchdog timer should be used and set according to the frame length and VCPs configuration, in addition to some overhead to allow for EDMA usage.
Table 30-19 through Table 30-21 summarize the cases, when no errors can occur in register VCP_VCPERR.
TB Mode | VCP_VCPIC5[24:20] SYMR | # of 64 BitTransfers | ConditionTransfer |
---|---|---|---|
Hard | 0 to 31 | 1 to 32 | F ≤ 2048 |
Hard | 31 | 32 | F > 2048 |
Hard | 15 | 16 | F ≥ 2048 |
Soft | 0 to 31 | 1 to 32 | F ≤ 256 |
Soft | 31 | 32 | F ≥ 256 |
Soft | 15 | 16 | F > 256 |
Code Rate | VCP_VCPIC5[19:16] SYMX | # of 64-Bit | # of BM per | # trellis per |
---|---|---|---|---|
1/4 | 3 | 16 | 128 | 16 |
1/4 | 1 | 8 | 64 | 8 |
1/3 | 7 | 16 | 128 | 32 |
1/3 | 3 | 8 | 64 | 16 |
1/2 | 15 | 16 | 128 | 64 |
1/2 | 7 | 8 | 64 | 32 |
Sign Imaxas | Sign Imins | Check Equation(1) |
---|---|---|
0 | 0 | 0 ≤ IMAXS - IMINS < 2048 |
1 | 1 | 0 ≤ IMAXS - IMINS < 2048 |
0 | 1 | 0 ≤ IMAXS - IMINS < 2048 |
1 | 0 | 0 ≤ (2 x 4096 + IMAXS) - IMINS < 2048 |