Skip to main content
dimtass
Associate II
July 2, 2019
Question

Python stm32com module / tool?

  • July 2, 2019
  • 2 replies
  • 2263 views

Hi all.

I'm trying to experiment with the stm32f7 discovery board and the MNIST dataset. I've trained the model and everything seems to be working fine and I'm running the validation app from the cubemx on the stm32.

My problem is that I haven't found any documentation on the serial protocol that cubemx uses to communicate with the stm32. The console refers to a stm32com-base interface (i.e. Python stm32comm module, protocol version 1.0). This is the output of the console:

# Note: At this point, default ASCII-base terminal should be closed
# and a stm32com-base interface should be used
# (i.e. Python stm32com module). Protocol version = 1.0

Where can I find that tool? I've search with no luck.

Thanks in advance.

This topic has been closed for replies.

2 replies

dimtass
dimtassAuthor
Associate II
July 2, 2019

I've found from the code that it's the nanopb protocol.

Is there available the proto file for the validation protocol and a documentation on how to use it?

NT.0
Associate
August 14, 2019

Hi

Did you manage to call your network with Python stm32com module? I am also trying to figure out how to invoke my model to get inference.

dimtass
dimtassAuthor
Associate II
August 14, 2019

Yeah ​Sure, I've written a post in my blog about it here:

https://www.stupid-projects.com/machine-learning-on-embedded-part-4/

ST Community schrieb am Mi., 14. Aug. 2019, 12:35: