Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHi,
--- Quote Start --- Here's some of the code I used to configure channel A for sync fifo mode. Maybe something will stand out. UCHAR Mask_A = 0xff; // all outputs UCHAR Mode_A = 0x40; // high speed synchronous fifo UCHAR Reset_Mode = 0x00; UCHAR LatencyTimer = 2; // connect with Channel A and set Mode ftStatus = FT_Open(device_number_a, &FTDIHandle_A); FT_SetBitMode(FTDIHandle_A, 0xff,Reset_Mode); Delay(.01); FT_SetBitMode(FTDIHandle_A, Mask_A,Mode_A); FT_SetLatencyTimer(FTDIHandle_A, LatencyTimer); FT_SetUSBParameters(FTDIHandle_A,65536,65536); FT_SetFlowControl(FTDIHandle_A,FT_FLOW_RTS_CTS,0x00,0x00); FT_SetTimeouts(FTDIHandle_A, 5000, 5000); --- Quote End --- TXE# should obviously be low after this kind of settings or am I missing / misunderstanding something ? Alexis.