TMF8801 reading junk values [SOLVED in post #11]

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
User avatar
ardthusiast
Posts: 25
Joined: Tue Feb 08, 2022 4:13 pm

Re: TMF8801 reading junk values

Post by ardthusiast » Mon Apr 25, 2022 4:11 pm

I tried reducing the frequency to 100kHz. It works perfectly now. Thanks for the suggestions.

User avatar
Roberthh
Posts: 3668
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: TMF8801 reading junk values [SOLVED in post #11]

Post by Roberthh » Mon Apr 25, 2022 4:17 pm

That's good. You can find an updated firmware for Teensy with the more symmetric timing at https://github.com/robert-hh/Shared-Stuff.

User avatar
ardthusiast
Posts: 25
Joined: Tue Feb 08, 2022 4:13 pm

Re: TMF8801 reading junk values [SOLVED in post #11]

Post by ardthusiast » Mon Apr 25, 2022 4:31 pm

Thanks. Will check that out. Is it using the files from the latest release of Micropython (other than the modified timing)?

User avatar
Roberthh
Posts: 3668
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: TMF8801 reading junk values [SOLVED in post #11]

Post by Roberthh » Mon Apr 25, 2022 4:48 pm

It is more recent that than, because it is the build from the PR8581.

User avatar
ardthusiast
Posts: 25
Joined: Tue Feb 08, 2022 4:13 pm

Re: TMF8801 reading junk values [SOLVED in post #11]

Post by ardthusiast » Mon Apr 25, 2022 4:55 pm

Okay. Thanks for all the help!

Post Reply