cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f411RE and MAX31865

Pascal0159
Associate II

Bonjour

Je suis a la recherche d'un tuto pour lire une pt100 via le MAX31865 avec ma carte nucléo.

J'ai essayé plusieurs solutions trouvées sur github qu'il y a toujours des petits détails que je n'arrive pas à résoudre.

Je ne suis pas assez doué .

J'ai réussi avec la MAX6675 mais la je cale

J'aimerais surtout comprendre plutôt qu'une solution toute faite

Cordialement 

Pascal


Google translate:

Good morning

I am looking for a tutorial to read a pt100 via the MAX31865 with my nucleo card.

I've tried several solutions found on github and there are always small details that I can't resolve.

I'm not good enough.

I succeeded with the MAX6675 but now I'm stuck

I would especially like to understand rather than a ready-made solution.

Sincerely 

Pascal

4 REPLIES 4
Andrew Neil
Super User

Welcome to the forum.

Please see How to write your question to maximize your chances to find a solution for best results.

 

The operation of the MAX31865 is totally independent of what microcontroller you use.

You need to go to its manufacturer - Analog Devices - for support with using it:

https://www.analog.com/en/products/max31865.html

There is driver code there, among other supporting resources.

 

As far as the STM32 goes, the MAX31865  is just an SPI slave device - it communicates with it in exactly the same way it would communicate with any other SPI slave.

ST Provide examples of how to use the STM32's SPI controller.

 


@Pascal0159 wrote:

there are always small details that I can't resolve.


You'd need to give full details of what those issues are for anyone to be able to help to resolve them - see the article linked above.

 

PS:

The MAX31865 is also an SPI device, so you must already have SPI comms working?

https://www.analog.com/en/products/max6675.html

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Bonjour Andrew

Merci pour ta réponse .

Je vais essayer d'être diffèrent dans mon approche et pour le moment je suis en train de lire les infos que tu m'as transmit via les liens.

J'ai trouvé sur github un post relatant une connexion MAX31865/STM32 avec un header et un fichier code et j'essaye de comprendre le process ! 

Si je demande des infos ,crois tu que je peux citer l'auteur ?

Cordialement

Pascal


Google translate:

Thank you for your reply.

I will try to be different in my approach and for the moment I am reading the information that you sent me via the links.

I found a post on github about a MAX31865/STM32 connection with a header and a code file and I'm trying to understand the process! 

If I ask for information, do you think I can cite the author?

Sincerely

Pascal


Please note that the language of the forum is English - see the Terms & Conditions.

I would suggest that you start with the driver code provided by the manufacturer.

You can direct questions about that code to the manufacturer.

 

GitHub repositories sometimes give a way to contact the author - maybe you can raise an issue there?

 

Of course, provide the link.

 

Again, you say you have the MAX6675 working - so you must have basic SPI comms?

Have you looked at the SPI comms with the MAX31865 using an oscilloscope or analyser?

That will show you what the MAX31865 is seeing - that needs to be in accordance with the MAX31865 datasheet.

So you need to check that.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@Andrew Neil wrote:

I would suggest that you start with the driver code provided by the manufacturer.


They also have an evaluation kit:

AndrewNeil_0-1753261493660.png

https://www.analog.com/en/resources/evaluation-hardware-and-software/evaluation-boards-kits/max31865evkit.html

That would allow you to see exactly what the SPI interactions should look like.

Then you can replicate that in your STM32 code...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.