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.

AWR1843: SPIPC7 and SPIPC8 registers

Part Number: AWR1843

Hi,

There seems to be SPIPCn register from SPIPC0 to SPIPC9, but the description of SPIPC7 to SPIPC9 does not exist in the TRM (SWRU520C).

Is there any document that explains SPIPC7 to SPIPC9?

I need these information because TRM "23.2.11.1 Compatibility (SPI) Mode Configuration" does not describe SPIPC8 configuration, but it seems necessary.

  • Hi Kensuke,

    SPIPC7 and SPIPC8 registers are not available in the list for SPI peripheral of this device, SPIPCn [n=0 to 6 and 9].

    And SPIPC9 description is present in TRM (please search for it).

    May I know what is your purpose to look for these registers. mmWave SDK SPI driver provides all register usage under specific usage.

    Regards,

    Jitendra

  • Hi Jitendra,

    Thank you for your prompt reply.

    mmWave SDK SPI driver sets SPIPC7 and SPIPC8 registers.

    C:\ti\mmwave_sdk_03_01_00_02\packages\ti\drivers\spi\src\mibspi_dma.c

    line.538

        /*  SPIPC7 Register: Set Port Pullup/Pulldown control: 0 to enable, 1 to disable  */
        ptrMibSpiReg->SPIPC7 = 0U;
    
        /*  SPIPC8 Register: Set Port Pullup/Pulldown value: 0 to pulldown, 1 to pullup  */
        ptrMibSpiReg->SPIPC8 =  CSL_FMKR(0U, 7U, 0xFFU) |
                             CSL_FMKR(8U, 8U, 1U) |
                             CSL_FMKR(9U, 9U, 1U) |
                             CSL_FMKR(10U, 10U, 1U) |
                             CSL_FMKR(11U, 11U, 1U);
    

    I am using MibSPI in SPI mode.

    However, if 0x01010F01 is not set in the SPIPC8 register, the received data cannot be come into RXBUF register.

    Therefore, I think that setting to the SPIPC8 register is necessary.

    That is why I want to know the detailed register specifications.

  • Hi,

    These registers to set the pull up/down control to SPI.

    SPIPC7: set 0 to enable pullup/down control; each bit for each of SPIPC.

    SPIPC8: set 1 to pullup for each of port.

    Could you specify why and how you are using MibSPI in SPI mode?

    Regards,

    Jitendra

  • Hi Jitendra,

    To minimize footprint of BSP (we have not used mmwaveSDK).

    We use SPI mode to control CAN transceiver.

  • Hi Jitendra,

    In conclusion, is it necessary to set the SPIPC7 / 8 register in SPI mode?

    How should I set it if necessary?

  • Hi,

    You can use the same way as used in the given MibSPI driver.

    Regards,

    Jitendra