@nerofun
Just ran your example using a Adafruit 800x480 display with their RA8875 controller. Also ran it at a couple SPI speeds:
12Mhz SPI
600: 293 ms/page
528: 297 ms/page
396: 307 ms/page
16Mhz...
Below code I am using for getting the roll, pitch and yaw value.
#include <Wire.h>
#include "NXPMotionSense.h"
#include "MadgwickAHRS.h"
NXPMotionSense motionOut;
Madgwick filterOut1;
I imagine you just loop through all your leds to shift colour up 1.
Then insert a new colour at the first led.
Loop through the above 10 times each for red and then white.
Loop through all of the above for...
Unfortunately, at 130mhz the error is still there even with your code change to clocksT4:
F_CPU=129600000 50ms delay:: 1009 us and 1 ms
System Clock: 129600000
IPG Clock: 129600000
Semc Clock: 43200000
RTC...
You dont, it already ended when it hit the callback. If you can calculate the bytes by length and the stuffing bits need to be considered, ill have to read up on the details but would be a nice addition to the canbus...
Oh, I noticed another clue to find the problem : usingtft.fillRect() words but tft.drawRect() make the exact same problem : USB board not available. I don't know if it can help, but I thought it is important to report....
Hi Mick,
Processing code cannot be executed within the Arduino IDE. Above 9998 needs to be written to your controller, below 9999 needs to be executed within the Processing IDE. I ran your example code and found no...
My oscilloscope with Serial decode also for CANBUS shows CAN load. Also a good indication visually.
I am not in control of transmitting devices. It could be Garmin and other transmitting. It could be 11 or 29 bit, it...
@Paul and #mjs513:
Paul - thanks for leaving the old "...\teensy\avr\cores\teensy4\clockspeed.c" code in place under COMMENT!
I reverted to that code {based on github link} and my "(embarrassingly opps updated)...
Hello.
I have a little problem I don't understand at all. I really hope you'll be able to help me solving this.
I'm using a teensy 4.0 and a ILI9341 TFT 1.8 display, and I'm using it SD slot.
It works perfectly, I...
Hi,
i have just started using Arduino with a TEENSY3.6 and and now trying to test various analog/digital target circuits for proof of concept in an epilepsy research project.
The first parameter is breathing and I...
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...