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.

TM4C129XNCZAD: TM4C129XNCZAD

Part Number: TM4C129XNCZAD

Hello there,

Our engineers tried very hard to communicate a TM4C129XNCZAD with a Fujitsu FRAM, MB85RS512TPNF-G-JNERE1 through an SPI bus using the TI APIs. Unfortunately, they failed. Then, they used the same I/Os as GPIOs and generated the SPI timing using their own code. The code worked beautifully but too slow. They reckon that the problem might be caused by the are changing SPI CS line generated by the APIs in the middle of one 32-bit transfer. Does anyone know anything similar and the solution? Many thanks.

  • Hi Bailin,
    If my understanding of your question is correct, you are looking for way to hold the CS active for the entire duration of the transfer? Is this understanding correct? In TM4C129 there is an advanced mode where you can hold the Fss pin active during the full transfer. Another method is that you manually control the CS input using a GPIO pin.

    24.2.2.4 SSIAdvFrameHoldEnable
    Configures the SSI advanced mode to hold the SSIFss signal during the full transfer.
    Prototype:
    void
    SSIAdvFrameHoldEnable(uint32_t ui32Base)
    Parameters:
    ui32Base is the base address of the SSI module.
    Description:
    This function configures the SSI module to de-assert the SSIFss signal during the entire data
    transfer when using one of the advanced modes (instead of briefly de-asserting it after every
    byte). When using this mode, SSIFss can be directly controlled via SSIAdvDataPutFrameEnd()
    and SSIAdvDataPutFrameEndNonBlocking().
    Note:
    The availability of the advanced mode of SSI operation varies with the Tiva part and SSI in use.
    Please consult the data sheet for the part in use to determine whether this support is available.
    Returns:
    None.

    e2e.ti.com/.../2421877

  • Hi Charles,

    Thank you very much indeed for your prompt reply. Our engineer will try your approach and see if it works.

    Best regards,

    Bailin
  • Hi Bailin,
    I have not heard back from you. I assume your issue is somehow resolved. I will close this thread for now. If you have new questions you can open a new thread or reopen this thread if your issue is not resolved.