I'm using MCUXpresso version v11.7.0 and SDK version v2.13.0.
I'm attempting to configure FLEXIO2 in a configuration similar to the one described in AN5313 and am trying to set things up using the Periph Config Tool.
I want to parallel shift out 4-bits at a time (versus the 8 in the app note), but otherwise my needs are very similar to those in the app note.
I want to set it up so SHIFTERS[7:1] feed SHIFTER0, which outputs 4-bits per clock. DMA loads all of them.
Following the app note (and a zip file of the project that I downloaded), I'm trying to use the Peripheral Config Tool to create the register definitions, but find that the tool doesn't permit me to use combinations that the app note project suggests.
In particular, the app note uses SHIFTER0 to output data, and is fed from SHIFTER1. The other shifters are likewise loaded from their next-neighbor. All of the shifters are put in transmit mode.
So INSRC is set to '1' and SMOD is set to "010"
However, the tool will only let me set the shifter (1 to 7) input to the "next" shifter (resulting of INsrc=> '1') when the shifter is disabled (SMOD => "000"). When these shifters are put in "transmit" mode, the INSRC bit is set to '0'.
Similarly, the app note sets the width (PWIDTH) to the shift-out width (8 in the app note, 4 in my app) for all registers (again with all registers in "transmit" mode). It I attempt to put any value but 1 in the tool's width field for registers 1,2,3,5,6,7, I get a warning that they can't be used in parallel mode. This warning goes away if I these registers are set to "disabled", but the generated register value doesn't match what is produced for the app note.
Also, the app note sets the pin output configuration to "disabled" for shifters 1-7, but doing this with these registers set to "transmit" mode causes warnings, and again the generate register values don't match those for the app note.
I'm wondering if these are problems with the config tool, or if the app note app is setting some register fields that really aren't needed...
I'd like to use the Periph Config Tool, but am confused!
Thanks!