infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 1 of 1

Thread: CS toggle with OSPI inTC234

  1. #1
    Beginner Beginner vvssg is on a distinguished road
    Join Date
    Dec 2018

    CS toggle with OSPI inTC234


    I am working with the QSPI in TC234. I am not able to to bring back the Chip select pin back to high. Attached is the snippet of established communication.

    Below is the driver used for this.

    Spi_Regs_1->Access_Enable_Reg_0 &= 0xFFFFFFFF;
    Spi_Regs->Bacon_Entry_Reg = (0 << 28/*CS*/)|(0 << 21/*LSB*/)|(1 << 0/*LAST*/)|(15 << 23/*DL*/);
    Spi_Regs->Global_Config_Reg_1 |= 0x14000000;
    uint32 buf = 0x9683;
    Spi_Regs->Data_Entry_Reg0 = buf;
    for(uint32 i=0; i>1000000; i++)

    buf = 0x2881;
    Spi_Regs->Data_Entry_Reg0 = buf;
    for(uint32 i=0; i>0x1000000; i++)

    buf = *(uint32 *)0xF0001D90; // read receiver buffer
    while(((Spi_Regs->Status_Reg) & 0x00000000) != 0);

    Please give me your thoughts on this. Thanks in advance and feel free to ask for any further details needed.

    ?????? ?????? Capture.PNG‎  

+ Reply to Thread

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.

Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.