I am working with the IMXRT1050-EVKB. I am hoping to implement a parallel interface for transmitting samples to a 16-bit DAC on a 10 MHz sample clock. I think the FlexIO peripheral should be able to handle this. Unfortunately none of the examples in the SDK_2.x_EVKB-IMXRT1050 demonstrate parallel transmit with the FlexIO.
I need to setup something like:
1. A timer module that serves as (1) the FlexIO trigger, (2) an ISR trigger, and (3) has an associated output pin to serve as the DAC data CLK. I'm unsure whether to use PIT, QTIMER, or FlexPWM for this).
2. In the ISR, the DAC output is calculated and placed into a DMA buffer (for the FlexIO Shift Buffer).
3. The FlexIO module shifts data from the DMA buffer onto the 16 output pins as triggered by the timer module. The triggered FlexIO timer must be configured so that the the parallel output pins are driven with appropriate Data Setup and Data Hold time relative to the CLK pin associated with the timer module. (Or maybe the CLK pin should be driven by the FlexIO timer itself? I'm unsure).
It would be great if I could test this with the IMXRT1050-EVKB board, but there aren't many options for accessing the FlexIO pins. I could use J35 (the 24-pin FFC connector for the camera module), which provides ~14 digital pins. This would allow me to simulate a 12 or 13-bit parallel interface + CLK line.
Can you recommend a starting point for this application?