K20 Firmware Source Version 0.9


I am working on a TK1 application that continuously streams data via the SPI bus to and from the K20.

I have noticed that occasionally the K20/TK1 SPI communications get out of sync.

  1. The commit below mentions a K20 FIFO bug, is there more information about what prompts it etc, and how the workaround fixes it?

  2. This commit implements a workaround for the FIFO bug, but I can not find the K20 source code for firmware version 0.9?

commit 2faf8b99877629e80d669eb68400cf623503b0e4
Author: Dominik Sliwa
Date: Thu Dec 1 14:18:47 2016 +0100

apalis-tk1-k20: can and spi improvements

This patch includes CAN driver and improvements in SPI communications
for Apalis TK1 k20 based MFD.
Requires firmware version 0.9.

Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Thank you.

On the K20 side it’s just a simple re-transmission. Easiest way to avoid this issue is to never exceed K20 SPI FIFO size (4 bytes) in a single transfer.

Thank you. This is helpful.