Is it possible to implement barrel shifter using FLEXIO with following configuration?
FLEXIOx_SHIFTCFGn[INSRC =0]
and
FLEXIOx_SHIFTCFGn[01 or 10]
BR
Shaul
Hi, Shaul,
Regarding your barrel shift with FlexIO module, I do not know your application. Anyway, you can see the FlexIO as a serial D flip-flop,you can write the data to the buffer, the data bits will output with a programmable clock. For example, if you write 0x35 to the buffer, you can get LLHHLHLH waveform output on the FlexIOx pin. The H represents High logic, L Low logic.
The FlexIO can implement SPI/I2S/uart/IIC/PWM for both transmitter and receiver.
Hope it can help you.
BR
Xiangjun Rong
Hi Rong
In my application I want to use FlexIO as Barrel shifter (not as communication device).
The function is "parallel in serial out".
The question is this can be implemented using FlexIO?
From reading K43 Reference Manual I think that it is possible and I want to verify this.
My assumption is that this configuration will do this.
FLEXIOx_SHIFTCFGn[INSRC =0] and FLEXIOx_SHIFTCFGn[01 or 10]
Please see attached block diagram.
B.R
Shaul
Hi, Shaul,
I think the solution is feasible.
BR
Xiangjun Rong