Part Number: TMS320F28379S
Hello, I am trying to use the extant CLB used in the t-format master code to help make a slave version.
Initially, a value (say 0xAE) is sent to the processor on the spisimo pin. This value also has a start and stop bit, so the length is 10 bits.
I set tformat_configureCLBLen( 0, sendClks, receiveClks + 2);
expecting that this will allow the CLB to skip the mast transmit state and go to the WAIT state to capture the falling edge of start bit which is part of the value I send to the spi over the spisimo pin. This pin is connected to the CLB through an XBARINPUT to pin 1 of the CLB which is supposed to detect a falling edge and start the receive clock for the encoder.
OK. I can send the value and start the clock but it does not seem as though anything is shifted into the spi shift register- at least I can't find any evidence of it.
The spiste\ is connected to ground as recommended, the interface is in read mode, txen does not flicker, still nothing seems to get into the spi.
Can anyone help me?
Thank you, Don Morgan