Sounds like it’s working fine unless I misunderstand your description. Why don’t you use the octows2811 library when using the octows2811 board. Then all your pins would work.
I am using a few endcoders in my project. Three are very slow mechanical types and one is a high speed optical. I think it is about 1000 counts per revolution. Everything works fine and because of the nature of my...
Just looked again at the schematic for the WS2811 adapter board on the linked page:
https://www.pjrc.com/store/octo28_adaptor.html
Pin 5 and pin 8 correspond to A4 and A8, which are both the 4th position of each...
Progress is being made!
Kurt, you are onto something, I think.
Also, I can't upload photos easily on mobile(?) so I will get more as soon as I bring my computer back to the workshop.
Today I did the following:...
T4 @ 600MHz
With this example beta 3 is about 10x slower than beta2. 2940ms vs 283ms.
#include <SPI.h>
#include <RA8875.h>
//teensy4 SPI0 RA8875
#define TFT_CS 10
#define TFT_RST 9 // 255 = unused,...
Hi,
As part of an effort to troubleshoot problems with motor noise causing my MPU6U050-enabled robot to crash intermittently, I decided to change controllers from my current UNO-based system to the Teensy 3.2. ...
T4 @ 600MHz
using this RA8875 lib: https://github.com/mjs513/RA8875 to draw 2 different types of screens.
With TD1.49b2
screen1 takes about 23ms to draw
screen2 takes about 65ms to draw
With TD1.49b3
screen1...
I changed it to 12000000 here. It seems to be stable and normal now.
#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__) || defined(__IMXRT1062__)
const...
The counter is not needed you just need to time each frame, local timer, and how many, based on their data lengths:
Check the last post on the NXP forum:
Link
Well, on linux-64 1.8.10/1.48 I see that IDE build is using gcc for .c files for UNO, DUE, ZERO, adafruit circuit express(SAMD21), M4 (SAMD51), and there is no error for .c files using bool. So the non-Teensy builds...
All,
I wrote a very helpful library that will let you print numbers but mask only the digits that have changed. My need was to update a number and not have the flicker problem with painting a box before drawing the...
TD 1.49 b3 installed on Win 10 - works.
per @mjs513 post #2 above : ClocksT4.ino sketch much improved - 130 MHz is intermittent? Need to try the Grieman SDFat_Beta - posted on that thread it was not working at 150?
A very simple test you can with only a voltmeter is to run the LED blink example (File > Examples > 01.Basics > Blink) and edit the pin number. Then watch if the voltage on the blue wire toggles between 0 to 3.3V every...
I was wondering why IntervalTimer restricts cycles to be >= 36 for all Teensys? I know that Teensy 3 can have F_BUS at 24, 36 ,or 48 cycles/microsecond, but the Teensy 4 uses 24 cycles/microsecond in its IntervalTimer...
Ok, I've put this on my list of bugs to fix.
But since the errors are so small and only happen at certain slower CPU speeds, I'm going to work on this later.
Again pardon that I am not an expert in this, but maybe if you explain your setup, including the example sketch you are using, it might help to understand what may be happening.
That is you mention the ws2812Serial...
I must have changed the wrong area. I was changing where there are several speed distinctions. I'm not at the computer now so I can't check exactly. I will try again. Thanks.
I swapped the connection at the LED Strip to the opposite end.
Same behavior (nothing).
Then I re-terminated the Ethernet cable with a new RJ45 Connector.
1) At first LED #1 came on, in a white color.
2) Then...
@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,...