If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

i2c_t3 does have a DMA mode (I2C_OP_MODE_DMA) and non-blocking Wire.sendTransmission(), so you can do other things before checking done() or callback.
Read the documentation at https://github.com/nox771/i2c_t3

The forum rule (at the top) says
Always post complete source code & details to reproduce any issue!
so we can't tell if you did pinMode(26,INPUT);
you have to set pinMode() before reading/writing digital pin...

1. you have set the ADC to 8-bit, but your buffer1 is int16_t -- try setting that to int8_t.
2. your Serial.write() is trying to write uint8_t, so it will write one byte of the 16-bit buffer1 (high order byte will...

I couldn't figure out how you could get a 200khz sine from a 480 sample sinetable in the hackaday sketch ... then I saw the * 20.0 * in the sinetable calculation loop, so a sine period is only made up of 24 samples. ...

Use CODE tags (#) to retain indentation when you post your sketch to the forum. Can you attach a photo of your wiring. You need 4.7K pullups to 3v3 on pins 18 and 19 as shown in post #7. The SHT20 should be powered...

Only a limited number built, here is PCB and parts list
https://www.oshpark.com/shared_projects/Y2JckjhM
Various beta test results at https://forum.pjrc.com/threads/34808-K66-Beta-Test?p=109161&viewfull=1#post109161

To get an AC signal from your DAC, you'll need a blocking capacitor to get rid of the DC component and you'll get +/- signal.
See https://forum.pjrc.com/threads/28581-Connecting-a-Speaker-to-Teensy-3-1-DAC-A14
if you...

I get no compile errors using tweetncal* from https://github.com/rjw245/crypto-in-a-box
I'm using IDE 1.8.4/1.40
EDIT: you get a compile error if the declaration is in a .ino or .cpp filea (g++). but it's OK in...

yep, the state machine to manage the binary data exchange over the serial port for testing adds complexity, but the nacl stuff is in state_encrypt.cpp and state_decrypt.cpp with the function crypto_secretbox() using the...

some TLS discussions at https://forum.pjrc.com/threads/29056-TLS-library-(for-secure-https)
T3.5/3.6 has hardware crypto acceleration, but i don't know of anyone that has incorporated it into a library...

DAC is an output not an input. There is no DAC on the propshield. Connect T3.2 DAC/A14 to AudioIn on propshield to have T3.2 generate sounds/sinewave out DAC to AudioIn ... to speaker on propshield. See schematic...

Hard to say what voltage is of "floating" input pin.
A better test is to read pin (pinMode INPUT) in a loop() and then jumper GND to the pin, or jumper 3v3 to the pin. Remember for T3.6, no 5v testing!

You may need to shrink your photo. forum has limit on file size.
? The RC receivers that i am familiar with have 3-pin group for each channel, and for the power/gnd connection. And the signal pin in the 3-pin group...

Can you attach a photo of your wiring. Do you have a common ground? Are you getting the PPM from the trainer cable on the FS-T6 transmitter? What is the max voltage of the PPM signal? (T3.6 is NOT 5v tolerant)
...

ah, i found the link to zip version https://cdn.sparkfun.com/assets/learn_tutorials/2/4/9/SFE_MMA8452Q-library.zip
and looking at the sketch Acc-Basic.ino in post #1, it is apparent that the sketch is using...

Do you have a link to the sparkfun zip file, all i find is the github stuff.
removing (short) from the test sketch in post #15 has no effect. both teensy and arduino give the same result with or without the cast. ...

The T3.6 3v3 pin is rated at 250ma, so check your LEDs forward voltage and the resistors you are using with the LEDs to see what your power consumption is. 10ma per LED with 24 LEDs is cutting it too close with all...

I don't have one of the breakout boards, so I can't properly test all theories. I did a quick review of the library looking for AVR vs ARM data-type problems, but haven't found any (yet). I did a test of data handling...

So not even the first shift register is working when using digitalWrite()?
maybe attach photos of your wiring with the T3.6
any chance you have more than one copy of shiftPWM lib on your machine? (what OS are you...

Are you using the latest ShiftPWM library? what version of IDE and teensyduino are you using? as the URL discussed, there was a speed problem with teensy vs AVR/UNO mcu's. Latest library should have fixed the problem,...

Get rid of any resistors. Hook Teensy SDA and SCL to the breakout's SDA and SCL. Power with 3v3 and GND.
It's possible the library has some 8-bit processor data types incompatible with Teensy 32-bit data types, but...

Normally, pushing the program button shouldn't erase EEPROM, BUT if you hold the program button for 15 seconds (actually, between 13 to 17 seconds) the chip is fully erased, including eeprom data.
ref:...

OK, I fetched the latest and tested T3.2 and T3.6. LED came on solid so all must be well. Only RAM is tested.
I also tested on T3.5, modified Makefile and k72memtest.c, and fetched mk64fx512.ld and edited to...

FYI, looking at the library, the decoder will send FFFFFFFF if it thinks a sequence is a REPEAT (based on device-dependent inner-sequence gap). The analyzer shows 3 events for a single button push on my Sony remote. ...

I suspect in pasting in the export from the gui, you deleted the latter part of the example sketch. Start again with a fresh copy of example "12:02 Part 2-3 Playing Samples" -- you'll see it has a setup() and loop(). ...

Are you running one of the examples from the library? Which one? if not, can you post your code as the "forum rule" states.
maybe try running the example IRecvDump.
A scope or logic analyzer on pin 7 (your IR...

Your sketch works for me. (Use CODE tags rather than QUOTE tags to retain sketch indentation).
T3.2 and propshield, with DAC/A14 of T3.2 hooked to propshield AudioIN, shield has 8ohm speaker off of + -
I converted...

maybe conditionally (based on __MK... symbols) create a location/symbol for the ELF (like is done for __rtc_localtime) __MCU_T35
or a special RAM section name in the .ld file, e.g.
.mcut35 (NOLOAD) : {
...

A brief comparison of SPI command set with Winbond flash chip suggests your chip might work ... worth a try ?
The teensy SerialFlash library is already conditionalized for a variety of chips, so you may be able...

I recommend putting the Teensy in the freezer for 30 minutes, then with a thermometer/probe measure the temperature of the MCU and record the analogRead(70) values as the MCU warms to room temperature and higher. Then...

Based on Paul's remark in post #6, I don't think the upper RAM is being used at all as a result of ambiguous documentation. The Teensyduino IDE will need to be updated to properly support 256K on the T3.5. Hacking the...

OK, i edited mk64fx512.ld and boards.txt (teensy35.upload.maximum_data_size=262144) and deleted the ELF and manually forced the upload, and the stack is now starting around 0x2002FF4C. So that seems to get 256K for the...

if you look at the pin maps https://www.pjrc.com/teensy/pinout.html you'll see grayed SCL/SDA numbers. Those are alternate pins for the I2C port and are selected with setSDA and setSCL. So there are both alternate I2C...

I think there is value to the editable static page. As noted in my earlier post, I update a sticky post on T3.5/3.6 Ethernet beta testing. If I feel the edit is worthy, i'll make a new post to get folks attention, but...

your screen photo shows you building Blink sketch. That does not use the Serial port, so i think teensyduiino won't enable the USB unless the sketch has Serial.begin() -- maybe try another example that uses the Serial...

The ARM core performance should be about the same. The peripheral architectures will differ in types/counts of peripherals and IO register definitions. I have some simple comparative numbers of MBED F446RE...

I changed TX_PULSE_WIDTH to 300. and TX_MINIMUM_SIGNAL to 700. and rebuilt sketch, and analyzer shows HIGH pulse at 300 us and LOW at 700 us for PPM.write(n,1000); Works for me.
The IDE should rebuild the library if...

I don't think it matters, but for testing you could put all of your write's in setup() and have an empty loop(). My analyzer shows proper pulse sequence
The small pulses are 100us wide, and the gaps are about...

I have only done limited testing with the Sparkfun ESP32 thing, I think using the Teensy audio library will be a show-stopper. You should be able to do some simple tests with the SPI flash, the teensy SerialFlash...

the Ethernet.init(15) will not change the value of PIN_SPI_SS, it will cause the library to use pin 15 as CS for SPI. So your print is not a meaningful test. do you have an analyzer or scope to look at SPI activity?

I think it is (has been) very useful to be able to edit old posts -- to correct errors and add new information. Also a number of us have used the old-post edit feature to maintain "sticky posts", a poor man's web page,...

(? for some reason Vbulletin is not letting me edit my previous post??) any how, on closer reading, I see that you have removed the AD0 jumper so SPI should work. On your analyzer you should see SPI clock and MOSI...

so are you using this breakout https://www.sparkfun.com/products/13762
that breakout is jumpered to run in I2C mode, AD0 (SPI SDO) is jumpered to GND, so SPI won't work until you desolder that jumper. yes?
there...