It looks like Paul submitted my changes in v2.9p6. Support for the MAX31850 was added in v2.9p2. Not sure what you're saying beyond this, and I haven't worked with the scratchpad registers.
When I modified this code I basically performed a dump of the data available in the ow_1820.c module to find which data structure held the correct information for the hot junction temperature. I then modified the code to present this data on a "temperature" query. Two years later I don't really remember the specifics. If you're running a version prior to 2.9p6 I'd suggest you update at least that far and give it a try. Colin Reese wrote: > In what rev were these made? I'm on 2.9 I believe and neither make sense. > > What is the possibility that scratchpad gets read wrong? I have no visibility > into the code but the faults I am observing are suspect, considering > everything reads fine using tmex. > > >> On Jun 30, 2016, at 3:58 AM, Paul W Panish<ppan...@panishnet.com> wrote: >> >> Sure, sorry I can't be of more help at the moment. >> >> To be clear, with the changes I made, which were done empirically, I was >> able to read the hot junction thermocouple temperature using the >> "temperature" access string on the MAX31850 development board I had >> purchased. It also read properly with the different resolution access >> strings, "temperature9", "temperature10"... >> >> As I recall, without the two code changes I made, the value returned by >> "temperature" made no sense for either the cold or hot junction. I don't >> think I checked what "thermocouple" returned, but it's not clear to me from >> my email exactly what experiments I performed. >> >> Paul W Panish >> Mobile: (603) 343-8901 >> >>>> On Jun 30, 2016, at 04:56, Jan Kandziora<j...@gmx.de> wrote: >>>> >>>> Am 29.06.2016 um 23:51 schrieb Paul W Panish: >>>> All, >>>> >>>> I just realized the attachment from my email to Paul Alfille wouldn't >>>> be readable for anyone not using Postbox on a Mac. Here's a copy of >>>> the text, sorry about the bad formatting: >>> Thanks for the reply, Paul. >>> >>> I try to understand all this first. >>> >>> Kind regards >>> >>> Jan >> ------------------------------------------------------------------------------ >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >> present their vision of the future. This family event has something for >> everyone, including kids. Get more information and register today. >> http://sdm.link/attshape >> _______________________________________________ >> Owfs-developers mailing list >> Owfs-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers