2025-07-21 6:52 AM - last edited on 2025-07-21 7:03 AM by Andrew Neil
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
2025-07-21 7:12 AM - edited 2025-07-21 7:14 AM
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
2025-07-22 2:49 PM - last edited on 2025-07-23 1:06 AM by Andrew Neil
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.
2025-07-23 1:11 AM - edited 2025-07-23 9:42 AM
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.
2025-07-23 2:05 AM - edited 2025-07-23 9:42 AM
@Andrew Neil wrote:I would suggest that you start with the driver code provided by the manufacturer.
They also have an evaluation kit:
That would allow you to see exactly what the SPI interactions should look like.
Then you can replicate that in your STM32 code...