This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have an absolute encoder interface working based on your t-format encoder examples. It's a similar a-format encoder. So far I've been successful with some basic commands. However, in trying to use commands with more data frames returned by the encoder, I'm running into clock alignment issues. The CLB only aligns the output clock on the first start bit from the encoder. This is causing clock misalignment for some commands as the timing between data frames isn't necessarily a multiple of the clock frequency. It seems like I would need the CLB to resynchronize the clock for each frame (start bit). Do you have any examples of doing this with the CLB?
Hi Benjamin,
Unfortunately I don't have an example to show this. If I recall the t-format commands are made-up of 10-bit chunks - it would probably make sense to re-align for each 10 bits. I have this on my list of backlog items to look at, but unfortunately do not have a timeframe I can provide.
-Lori
Lori,
Yes, the a-format I'm using has 18-bit chunks but same idea. This is fairly pressing for us so I'd appreciate any help you can provide. Otherwise I'll attempt to wrap my head around modifying the CLB for this.
Thanks,
Ben
Actually I seem to have it working by changing the SPI clock counter to reset every falling edge of SIMO regardless of being in the receive state.
Hi Benjamin - thank you for letting me know! I am glad you have found a quick resolution.
-Lori