12 Replies Latest reply on Nov 6, 2018 5:08 PM by user_448626656

    FX3 - Data transmission between slave FiFo Sync and auto masterB

    user_448626656

      According to AN65974 (slave fifo interface) & AN87216 (master interface), I have burned your provided image - AutoMaster.img into one of FX3 , modified the source code and interface definition of slave fifo interface as below and burned that image into another FX3 board.

       

      1. In cyfxslfifosync.h, change the DMA buf count to 16 and consumer_pport_socket to socket 1

      2. In interface definition of slave fifo sync, revise the address bus to 2 and dma configuration as attachments.

       

      Data can be sent or received from slave side but the number of data received by slave is incorrect. Refer to the attachment, data is transmitted by master (BULK OUT), a few more garbage data is received by slave (BULK IN) no matter how much data is transmitted by master, please kindly advise. Thanks.