Skip to content

Commit

Permalink
2023-06-07-twpm-spi-fix.md: fixes
Browse files Browse the repository at this point in the history
Add cover image, add image of hardware setup and a few words about
changing the cables for shorter.
  • Loading branch information
arturkow2000 committed Jul 25, 2023
1 parent 289f321 commit c2ffeb7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions blog/content/post/2023-06-07-twpm-spi-fix.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Using SPI slave on STM32L476 platform.
abstract: 'Trustworthy Platform Module - the open-source and trustworthy TPM. A
story about implementing SPI interface for TwPM firmware.'
cover: /covers/image-file.png
cover: /img/nucleo-l476rg.jpg
author: artur.kowalski
layout: post
published: true
Expand Down Expand Up @@ -793,7 +793,10 @@ re-programming the DMA channel. Now, the test succeeds.
I have basic code that can read and write data over SPI, but I have tested only
read of a zeroed register. Now, it is time to extend the tests so that we write
random data of random lengths, then read the data back and check whether it is
as expected.
as expected. I already got shorter cables - 10 cm instead of 20 cm,
and I have stable communication at 24 MHz:
![](/img/stm32-spi-connections.jpg)
I started with something simple
Expand Down
Binary file added blog/static/img/nucleo-l476rg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blog/static/img/stm32-spi-connections.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c2ffeb7

Please sign in to comment.