This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UPP stop\reset

Other Parts Discussed in Thread: TMS320C6748

Hello,

I try to stop\reset the UPP via SIO_flush and\or SIO_ctrl(IOM_CHAN_RESET / IOM_DEVICE_RESET/ Upp_Ioctl_STOP)

but nothing help. the UPP started via SIO_issue, I'm using SIO_ISSUERECLAIM mode, the UPP is used as SIO_INPUT.

I'm using DSPBIOS 5.41.13.42, the driver version according the driver's source code is: Version 0.2 2009-Dec-14.

Thanks,

Giora

  • Giora,

    Universal Parallel Port (uPP):
    The UPP Supports Multiple Interfaces with START, ENABLE and WAIT Controls to provide control for a variety of data converters.

    In transmit mode:
    START is an output signal and is always driven.
    ENABLE is an output signal and is always driven.
    WAIT is an input signal and may be disabled using the WAITx bit in UPICR.

    In receive mode:
    START is an input signal and may be disabled using the STARTx bit in UPICR.
    ENABLE is an input signal and may be disabled using the ENAx bit in UPICR.
    WAIT is an output signal.

    Refer the section "31.2.6.1 Step-by-Step Procedure" at TMS320C6748 DSP Technical Reference Manual(spruh79)

    1. Set the SWRST bit in the uPP peripheral control register (UPPCR) to 1 to place uPP in software reset.
    2. Wait at least 200 device clock cycles, then clear the SWRST bit to 0 to bring the module out of reset.

    In addition that, please go through the section "31.2.7 Reset Considerations" at TMS320C6748 DSP TRM(spruh79) for software/hardware reset.
    http://processors.wiki.ti.com/index.php/Introduction_to_uPP
    http://processors.wiki.ti.com/index.php/Using_the_uPP_DSP/BIOS_Driver