Hello All,
I want to use ENA pin to hold Mibspi clock and have connected ENA with external GPIO which will make it low and high again on time.
I am using Transfer Groups to transmit and receive data.
My configurations are as follows:
PC0 -> ENA_bit = 1
PC0 -> CS_bit = 1
TGCTRL-> TrigSrc = 0
TGCTRL-> TRigEvt = 7h
SingleShot = Enabled
My question is, in this setup my clock should wait for ENA to go low, but instead it is always coming and randomly.
Even data on SOMI and SIMO are not correctly clocked.
Also if I modified code to this:
TGCTRL-> TrigSrc = GPIOA0
TGCTRL-> TRigEvt = FALLING_EDGE
Than in this case, mibspi clock is waiting for the falling edge and than it is starting.
So another doubt is when we are using TGs, ENA pin will have no effect on clock.
I want to leverage advantage of ENA pin feature with this config:
TGCTRL-> TrigSrc = 0
TGCTRL-> TRigEvt = 7h
Please help me here.
Regards,
Pratik