@CRC
Just hooked up my Adafruit RA8875 to a T3.6 and saw the same problem. Resolved it though by going into RA8875UserSettings.h and changed the MAXSPISPEED from 22000000 to 12000000 and that seemed to clear the...
@mjs513 - Yep but issue is IntervalTimer is PIT timer, so could do similar code to try to grab one of them.
I might be missing something, but I see we have GPT, PIT, and Quad Timer as three different timers... Not...
Have to check that!
I did just check the WT/BU is ground - verified.
Gibbedy - the ethernet blue is wired for this adapter board:
https://www.pjrc.com/store/octo28_adaptor.html
per this reference:...
Up to about 5 times on ADC_ETC but now have decided to go back to reading the ADC chapter as well now that I looked at ADC_ETC and @manitou's code at the same time - now you know why I have a headache.
Timer: Think...
Assuming everything else is working OK, I would wipe what you've got and download again from the Msg43 link. MacOS error code 47 is so vague as to tell you nothing, but since you know from reports here that the app does...
I just put together my own version of the audio shield on a board, and I'm pretty sure that the rev D schematic that is posted here is incorrect. It lists pin 8 on teensy -> sgtl 5000 pin 26 and pin 7 on teensy -> sgtl...
Changing DSE to 4 seems to work better, I would go with this minor update to what you have.:
#define PINCONFIG (IOMUXC_PAD_ODE | IOMUXC_PAD_SRE | IOMUXC_PAD_DSE(4) | IOMUXC_PAD_SPEED(1) | IOMUXC_PAD_PKE |...
T3.x adc.startPDB converting to T4 and shared resources:
@mjs513, @defragster, @manitou and @Paul - and others...
Will soon look at merging the ADCL_t4 stuff into ADC library... But first want to play some with...
Before I just revert to the old code, could you give this a try?
#define PINCONFIG (IOMUXC_PAD_ODE | IOMUXC_PAD_SRE | IOMUXC_PAD_DSE(5) | IOMUXC_PAD_SPEED(1) | IOMUXC_PAD_PKE | IOMUXC_PAD_PUE | IOMUXC_PAD_PUS(3))
...
@PaulStoffregen
The issue seems to resolve itself with using the pin configs in the BNO080 Wire PR. It also seems to be working properly with the original pin config in the Wire library before the "hybrid change"....
Just posted on the Beta3 thread. It does work but having issues. Initially sketch starts at 400mhz. It wouldn't work. So I changed it to 100Mhz and it would run the sketches tested. I then changed back to 400mhz ...
Tested changes to the Wire library with three devices:
LidarLite V4LED: worked no issues
BNO055: worked out of the box no issues
BNO080: kind of worked. Tested with three example sketches. Sometimes on...
Downloaded and installed TD1.49 Beta 3 on Windows 10x64 Home (all updates installed to date) with out any issue.
As an initial test ran @defragster version of the ClocksT4.ino sketch to test the clock changes. Tests...
Sometimes hard to debug some of these types of issues, without hardware help... That is the first thing I would do, would be to hook up a logic analyzer and see if any signals are going out and if so if anything is...
Fixed.
https://github.com/PaulStoffregen/cores/commit/6616cd9478e5bc54259f29cfc93884ba7e899cc9
Also packaged up 1.49-beta3 with the many other fixes from this week.
...
I committed a hybrid of the pin config change. I want to preserve the weak pullups, like on Teensy 2.0 and most Arduino boards.
https://github.com/PaulStoffregen/Wire/commit/f52060abe313362817ca9c731f9ed96a56244848...
@PaulStoffregen - @KurtE
The only other thing that was part of @KurtE's changes that had nothing to do with the I2C speed changes was also a change for the pad configs for SDA and SCL:
Is:
// Setup SDA register...
Also do a check (with power off) with your multimeter in ohms mode to check the white/blue wire really is ground. Some CAT5 cables have the colors swapped.
It has been a long time since I played with some of these LED strips, but if I remember correctly these strips have an input side and an output side (the side that can connect to the input of the next set of LEDS...)
...
Hi,
Thanks for the library ! I have now used it with my new Teensy 3.6 and Teensy 4 boards. (Interesting that I can find Teensy boards in my local electronics shop here in Sweden..)
So far used it with CAN 2.0 only....
I'm committed a fix on github.
https://github.com/PaulStoffregen/cores/commit/49b46c208734b6426ad5ed2b8cc6874ecd59ce2e
Why simply writing the correct value to CCM_CBCDR doesn't work at 24 MHz, but the...
Hi! :)
I am looking for a little help and I am brand-new to using a microcontroller with LEDs
I am using this hardware:
Teensy 3.2
Octo WS2811 Adapter Board https://www.pjrc.com/store/octo28_adaptor.html...
Small Edit to code above.
NOTE: As noted elsewhere Compile at 24 MHz and it starts broken as well.
Code change above gives proper and clearer output:
if ( foo < 47 ) {
Serial.printf("\n...
Using p#13 ClocksT4.zip
Replace the ClocksT4.ino sketch with this. It does the changes as in the October Post - with clock data printed by @mjs513 and shows this when the counts are wrong on millis():
"...
Hi,
Is there a low-level 3D graphics library for Arduino (along the lines of DirectX/Vulkan/Metal/etc.) to render 3D graphics? I checked around and found only quite primitive 3D rendering projects, but maybe my...
This is a secondary thread - missed my attention -
Original issue 18 October - details and samples to repro there : forum.pjrc.com/threads/58053-T4-set_arm_clock-and-micros()
Problem is clock feeding millis()...
@loglow/Dan:
'same here as well' - "PCB Only" for the kits as nothing 'used'.
ADD: 1 new Top Mount battery holder, And 1 { 2x5 short header and female socket set }
No it was meant to say that the ARM compiler is older than the AVR compiler, and there might be things that the newer compiler provides by default. I do tend to agree that including stdbool.h is probably the right...
Could you point me to that code, or post it here?
I'm trying this and getting 24 MHz. I must be missing something...
Serial.println("clock test");
uint32_t pll = CCM_ANALOG_PLL_ARM; // page 1154
int...
hi kurtE.
I have done some of the suggestions you gave before.
I have used a buffer circuit to drive Dynamixel AX-12 using teensy 4.0 with the following scheme.
I use pin 0 as RX, pin 1 as TX and pin 2 as...
Hi guys, I'm making my own keyboard with QMK on Teensy 2.0++, and I want to use the teeny's timer interrupt (should shorter than 1 microsecond) to do my own stuff. How can I do that in QMK's source code like my...
@PaulStoffregen
Way back when we first started I wrote an app that displayed all clocks (one of my first endeavors with the T4). I decided to dust it off and run it to see what it dumped out:
At 24Mhz its...
You are right about the 600Mhz. Even if we changed the clock speed in startup we never went down to 24 mhz.
The funny thing about 24mhz is isn't that considered the clock for low-power mode. Know @manitou and I...
Well, if you absolutely want to take a trip to the syntax crazy land:
#define KEY(name__, ...) unsigned int pulse##name__=__VA_ARGS__;\
Key key##name__={#name__, pulse##name__}
KEY(On,...
Thanks @JarkkoL -- that's closer to what I was aiming for, but I was hoping (for clarity) to have it all on one line without having to invent new names for all the intermediate variables like pulseOn -- I'll have a...
Back then we were only really using 600 MHz speed, as I recall.
I'm digging deeper into this issue. Starting to look like we might not actually be running at 24 MHz. Might really be 30 MHz. Very mysterious....
you could do something along the lines of:
struct Key {
char Name;
unsigned int *Pulse;
};
unsigned int pulseOn={9070,4480, 610,530, 600,530, 610,520, 600,530, 00};
Key keyOn = {"On", pulseOn};
Sure, just built it without the DC power jack and 7805 voltage regulator. And of course do *not* cut the VUSB-VIN pads apart on your Teensy (or solder them back together if already cut apart) so your Teensy provides 5V...
I’ve been playing around with new and delete for creating variable wavetable arrays from an SD card for dynamic wavetable synthesis instead of being limited to what fits in flash memory. Caution definitely needs to be...
The qvgatest_touch arrived (https://oshpark.com/shared_projects/TG395I75), thanks for making this pcb, Paul.
Is there a straightforward way to wire the qvgatest_touch to power the ILI9341 from Teensyduino USB power,...
@defragster - Do you remember where this micros() code originated? I believe it was contributed near the end of the T4 beta (while my attention was focused on a ton of hardware & manufacturing issues).
I don't have a Teensy 2 - but set IDE 1.8.10 to Teensy 2 and did Verify of example BLINK - On WINDOWS - with TD 1.49 beta 2 - it compiles and all is installed to build - not sure if it shows anything different as info:...
didn't realize the redist was stripped. haven't used it in a while, guess now that you say that i do remember always having the setup in my home
thanks!
Teensyduino uses the AVR toolchain within Arduino. It's located in {Arduino}/hardware/tools/avr. No system-provided toolchain in /usr/lib is ever used.
Teensyduino never supports any (modified) copies of Arduino...
using void linux, have gcc-avr / adruino ide (1.8.9) installed and they work.
can use my lilypad just fine.
but when i go to install teensyduino
https://www.pjrc.com/teensy/td_download.html
for some reason...
The click is caused when the sound level is abruptly dropped to zero. Instead of a mixer, try using an AudioEffectEnvelope with delay,attack,hold and decay all set to zero milliseconds. Set the sustain level to 1 and...
There is no easy way. Arrays in C++ are fixed length.
You can create a C++ class, which isn't really an array at all, but tries to act like one with operator overloading syntax. Then code inside your class can use...
Today we use C++14, and probably will stay with it for at least another year.
We're probably due for a toolchain upgrade "soon". But that's not going to happen while we're in the middle of so much activity on the...
Hi all
I have five trees in my garden, all of which have a string of 150 LED pixels on them. They are driven by a Teensy 3.5 running OctoWS8211 library
I have a number of effects running on them (wind up tree, wind...
search the forum for ublox or m8q, there have been several threads, eg
https://forum.pjrc.com/threads/46058-A-UBlox-GPS-Module-Primer-for-beginners/page5
I am trying to initialize an array as part of a structure variable, but the compiler options in place on Arduino seem to require that the array size is predefined. Is there a way around this ? Ultimately, different...
Hello,
I am working on a simple wav player. Let's say I have 2 buttons. The first is "Play my wav sample", and the second "Stop my wav sample". When I press stop, there is a little "click" sound. I can't get rid of...
@DerekR: The stand offs - I got a set of four on quick count - they are for the four corner mount holes so when assembled it can sit on a bench/desk without forcing/inviting parts/pins or soldered joints to...