Search found 35 matches

by javaben
Fri May 11, 2018 8:41 pm
Forum: General Discussion
Topic: C++ SPI for Max 31855 Thermocouple Amp
Replies: 28
Views: 30470

Re: C++ SPI for Max 31855 Thermocouple Amp

Hi Archibald! Thanks for your help. I wasn't so much trying to do this because of speed, but because the chip says it can support this, and thus I wanted to do it this way. However, I can't find where anyone on the internet is using the chip directly, and the manuals are somewhat ambiguous on this a...
by javaben
Fri May 11, 2018 6:37 pm
Forum: General Discussion
Topic: C++ SPI for Max 31855 Thermocouple Amp
Replies: 28
Views: 30470

Re: C++ SPI for Max 31855 Thermocouple Amp

Kolban, Again, thanks for the comment above. You are correct with respect to "Arduino/hardware/espressif/esp32/libraries/SPI/src/SPI.h " containing "void begin(int8_t sck=-1, int8_t miso=-1, int8_t mosi=-1, int8_t ss=-1);" What I was pointing out, was that in using the Adafruit example for the seria...
by javaben
Fri May 11, 2018 6:17 pm
Forum: General Discussion
Topic: C++ SPI for Max 31855 Thermocouple Amp
Replies: 28
Views: 30470

Re: C++ SPI for Max 31855 Thermocouple Amp

OK, thanks! Much appreciated!
by javaben
Fri May 11, 2018 3:39 pm
Forum: General Discussion
Topic: C++ SPI for Max 31855 Thermocouple Amp
Replies: 28
Views: 30470

Re: C++ SPI for Max 31855 Thermocouple Amp

It appears Adafruit's serialthermocouple example is making use of Arduino-1.8.5 code, where begin() is declared and defined, even though it's listed as example code for the ESP32. This call (SPI.begin()) is invoked in the example serialthermocouple.ino if the clk is set to -1, in an attempt to utili...
by javaben
Fri May 11, 2018 3:17 pm
Forum: General Discussion
Topic: C++ SPI for Max 31855 Thermocouple Amp
Replies: 28
Views: 30470

Re: C++ SPI for Max 31855 Thermocouple Amp

Interestingly, it doesn't appear to me that Adafruit's serial example works for hardware using VSPI mode. In Adafruit_MAX31855.cpp, the constructor Adafruit_MAX31855::Adafruit_MAX31855(int8_t _sclk, int8_t _cs, int8_t _miso), if provided with -1 for _sclk, makes use of SPI.begin(), which should util...
by javaben
Fri May 11, 2018 1:01 pm
Forum: General Discussion
Topic: C++ SPI for Max 31855 Thermocouple Amp
Replies: 28
Views: 30470

Re: C++ SPI for Max 31855 Thermocouple Amp

Archibald, thank you very much for your reply! I've been going through the Adafruit library for this chip, and their example (serial example - I'm away from my desktop right now and don't have access to the actual name), and that's exactly the way they are implementing it. I intend to 'bang my head'...
by javaben
Thu May 10, 2018 5:24 pm
Forum: General Discussion
Topic: C++ SPI for Max 31855 Thermocouple Amp
Replies: 28
Views: 30470

Re: C++ SPI for Max 31855 Thermocouple Amp

OK, thanks!
by javaben
Thu May 10, 2018 8:57 am
Forum: General Discussion
Topic: C++ SPI for Max 31855 Thermocouple Amp
Replies: 28
Views: 30470

C++ SPI for Max 31855 Thermocouple Amp

I have been struggling with implementing a C++ library I'm building with respect to a Maxim 31855 Thermocouple Amplifier, a part sold from Adafruit among others. This is a SPI device. Implementations, such as Adafruit, using Arduino IDE are available, but as part of a larger library I am building, I...
by javaben
Thu Apr 12, 2018 5:07 pm
Forum: General Discussion
Topic: ESP-IDF, MSYS2, and VSC Video Posted
Replies: 7
Views: 8849

Re: ESP-IDF, MSYS2, and VSC Video Posted

Thanks for posting this! It went much easier than Eclipse, and finding it to be easier to use as well; haven't experienced the numerous errors with files not being found that I experienced with Eclipse.

I'm running on Ubuntu, and the instructions worked pretty well on that platform too.

JB
by javaben
Sat Apr 07, 2018 10:53 pm
Forum: ESP-IDF
Topic: Explicitly exclude components (howto)
Replies: 4
Views: 8273

Re: Explicitly exclude components (howto)

I would like to endorse this addition as I think it would facilitate unit test builds as separate constructs. In eclipse, I would like to use the 'Build Configuration' for different builds, but it doesn't appear that the different configurations make their way into the esp-idf build. For instance, o...