Confusion about flags and threads | Cypress Semiconductor
Confusion about flags and threads
I am al litte confused regardig the flags and their connection to the threads of the FX3. In the slave FIFO example the FLAG B is a copy of FLAG A and the flag is connected to the current thread. Its not clear to me if there are two threads (one for P to U and one for U to P) or only one thread (the software thread SlFifoAppThread_Entry).
Is it possible to use the FIFO flags like the FX2 controller? I want to use one flag fixed to the OUT endpoint (as empty flag) and one flag fixed to the IN endpoint (as full flag)? In the firmware example I cannot find the connection between the dma channels and the threads (0 to 3). Can you explain it to me? Thanks a lot.