-
Older Activity
-
Today, 05:29 PM
Hi,
Is there a way to print out the raw digital audio data from the SPH0645 microphone onto the serial console ?; like the data samples in its binary format. I found the code to do this in the Adafruit webpage...
68 replies | 7299 view(s)
-
Today, 05:28 PM
Downloaded the latest set of changes.
No change to the way normal and DMA versions work. Same as last revision. With the latest fixes for FlexIO it kind of works but only a few rows on top of the screen are seen...
450 replies | 5917 view(s)
-
Today, 05:21 PM
Hello,
I work in a neuroscience lab studying the auditory system, and we use TTL trigger pulses to sync our audio stimuli with the EEG system. The way I do this is through simultaneous analog and S/PDIF audio from...
0 replies | 0 view(s)
-
Today, 05:13 PM
PR just merged. Sorry for the delay - had to run out and do a few errands.
450 replies | 5917 view(s)
-
Today, 04:46 PM
@mjs513 - Paul has a PR pending on your git.
... here a short time - github desktop not showing me changes ... another remove/and fork ... arrgh
Still seeing this ugly (hard coded static) save_image_SD()...
450 replies | 5917 view(s)
-
Today, 04:42 PM
Hi,
I need to emulate a pc keyboard and a mouse using the USB. In addition, I would like to drive the simulation using another port, possibly through ethernet and&or wifi. Is it possible?
I see that keyboard or mouse...
0 replies | 2 view(s)
-
Today, 04:22 PM
Hi awardblvr, I never did resolve this issue except that any sensor I run on Teensy now has the RST pad soldered to a jumper wire to 3.3V. Have never seen the problem since that change. My next version of the sensor...
2 replies | 337 view(s)
-
Today, 03:30 PM
Do I have to install any package or app to see the debugger window and see outputs of Serial.print()?
0 replies | 18 view(s)
-
Today, 03:19 PM
Yup, let's fix the struct in imxrt.h and see if anything breaks. ;)
EDIT: committed a fix. https://github.com/PaulStoffregen/cores/commit/64f7d7c1eededf0102510530a4e621395c4d51f7
450 replies | 5917 view(s)
-
Today, 03:04 PM
@Paul - There appears to be an issue in the imxrt.h file... Not specific to MicroMod.
Not sure best way to fix as associated with the GPIO structures...
That is we have:
// 12.5.1: page 961
typedef struct {
...
450 replies | 5917 view(s)
-
Today, 03:04 PM
Yup, sent a pull request just now. I'm not sure it's 100% working yet. I'm seeing a lot more VSYNC interrupts than screen refreshes. I added a some code to print the actual refresh rate.
450 replies | 5917 view(s)
-
Today, 02:34 PM
My turn for Oops - missed that in the PR was looking at the changes more :) I don't mind the debug stuff.
450 replies | 5917 view(s)
-
Today, 02:21 PM
Hi Mike, yep as I mentioned in the commit - it sort of walks through the screen a couple of times and then settles.
Will investigate. Right now playing with speeding up the VSYNC interrupt to see if that helps.
...
450 replies | 5917 view(s)
-
Today, 02:10 PM
@KurtE
Just merged your PR :)
EDIT: Just tested it and something strange going on with continuous mode. For the first bunch of frames the images are totally out of synch then all of sudden it settles down and...
450 replies | 5917 view(s)
-
Today, 01:53 PM
@PaulStoffregen -
Just gave it a quick test spin using 'f' and continuous "F" mode. "f" works as well as before however "F" is having issues. The image seems to be loosing synch. Another run had it totally out of...
450 replies | 5917 view(s)
-
Today, 01:52 PM
Opps, sorry, I made some mistakes. Working on it now...
450 replies | 5917 view(s)
-
Today, 01:36 PM
Noticed - PR already merged :) Just downloaded it and now to play again.
450 replies | 5917 view(s)
-
Today, 01:34 PM
Send a pull request for continuous FlexIO DMA. I took the liberty of replacing Defragster's continuous "F" mode in hm01b0_testv3.ino.
450 replies | 5917 view(s)
-
Today, 01:29 PM
@mjs513 I am creating another branch working on DMA stuff (later for PR)...
Looks like made similar changes to what you did since then in DMA callback in sketch (last use of that buffer)... Missed when I setup the...
450 replies | 5917 view(s)
-
Today, 01:16 PM
I'm working right now to add start / stop for FlexIO, as similar to Kurt's API as I can.
450 replies | 5917 view(s)
-
Today, 01:03 PM
@Moo I see you added loop functionality, and interpolation has been removed?
29 replies | 6821 view(s)
-
Today, 12:54 PM
@KurtE
Once things settle down will have to go play with SublimeText and TSET again. Always something going on.
450 replies | 5917 view(s)
-
Today, 12:43 PM
Just an FYI- These days mostly avoid these issues of compiling for wrong board, as mostly work/build within sublime text and most of the time now using projects.
So for example in the test3 test directory I now have a...
450 replies | 5917 view(s)
-
Today, 12:33 PM
Work with v3. The only difference between v2 and v3 is the 'z' command for saving the last buffered image. Just tested it and its seems to be working with 's', 'D' and 'f' snapshots with hard faulting as @defragster...
450 replies | 5917 view(s)
-
Today, 12:30 PM
Nice cheat. Anyway to the point. Just got rid of the last use of imageBuffer so deleting that one. As for the sendImageBuf that's really only used for when you are sending images to the Processing sketch.
To...
450 replies | 5917 view(s)
-
Today, 12:29 PM
@mjs513 Not a problem...
Question, as I start testing a couple of the ideas from yesterday for continuous DMA, should I work with testv2 or move on to testv3?
Also question to self (and maybe @Paul), currently my...
450 replies | 5917 view(s)
-
Today, 12:22 PM
Kurt - ignore this - got myself confused again.
450 replies | 5917 view(s)
-
Today, 12:17 PM
Hello..
It won't be long before we can hold the circuit boards in our hands and then test them.
My friend Andre has already published the "Jeannie" project on his homepage tubeohm.com.
Link:...
135 replies | 13619 view(s)
-
Today, 12:16 PM
ResamplingSdReader is a substitution class which replaces the Sd file reading part of the SD raw player. It has the simple function of returning altered audio buffer. in the simple case, lets say at 0.5 rate, it should...
29 replies | 6821 view(s)
-
Today, 12:16 PM
Morning all,
Not fully awake yet, nor had coffee,
We need to go through and maybe remove several of those buffers. Especially the uint16_t one that may not be used anymore as we don't convert from 8 bits to 16...
450 replies | 5917 view(s)
-
Today, 11:57 AM
Hereby the test sketch, know that the latest ILI9341_fonts-master must be installed.
// test sketch for LolinD32 (ESP32)
// Johan Holstein @2021
#include <SPI.h>
#include <RA8875.h>
#define RA8875_CS 5
int i;...
298 replies | 20173 view(s)
-
Today, 11:53 AM
Dear group,
The RA8875 can now be used also for the LolinD32(ESP32) and ESP8266 works out of the box it's not a Teensy but people must know.
Works with the ILI9341 fonts as well I tried to upload the library but...
298 replies | 20173 view(s)
-
Today, 11:47 AM
@KurtE - just noticed I am getting a warning message:
D:\Users\Merli\Documents\Arduino\hm01b0_testv2\hm01b0_testv2.ino:360:85: warning: invalid conversion from 'void (*)(void*)' to 'bool (*)(void*)'
...
450 replies | 5917 view(s)
-
Today, 11:40 AM
My guess is that its suppose to be on the imageBuffer since its being used for DMA along with frameBuffer2.
450 replies | 5917 view(s)
-
Today, 11:39 AM
Here is the file translated to english...thanks google translate.
114 replies | 19437 view(s)
-
Today, 11:32 AM
Just wanted to ask which buffers are really meant to be DMAMEM vs DTCM?
I see this in the examples.
uint8_t frameBuffer;
uint16_t imageBuffer; DMAMEM
uint8_t sendImageBuf;
uint8_t frameBuffer2 DMAMEM;
...
450 replies | 5917 view(s)
-
Today, 11:21 AM
Morning all - just having first cup of coffee.
Did the merge for v3 test sketch haven't had a chance to check it out yet. After I read the post of tearing in post I can't seem to duplicate it either using "f"rame or...
450 replies | 5917 view(s)
-
Today, 11:17 AM
Hello! I keep having the same issue with several teensy boards. Please let me know if you sorted out the cause of the problem since then!
1 replies | 321 view(s)
-
Today, 11:13 AM
Hi @Moo, Thanks a lot for this, I adapted you ResamplingSdReader for playFlashRaw, and now I would like to make a version for the playMemory, but the core code of that object it's pretty different to the playSdRaw,
do...
29 replies | 6821 view(s)
-
Today, 11:11 AM
These resistors are not in the way and do not consume any significant current These conet to the data lines of the micro SD card socket on the audio board. I simply put a resistor in every data line connecting to the...
839 replies | 87803 view(s)
-
Today, 10:50 AM
Hi Helge,
In the current setup you can only store one set of personal "defaults", so you cannot use a set of different "profiles". If many people see this as a good development we might think of adding this option....
839 replies | 87803 view(s)
-
Today, 10:02 AM
Kudos to the inventors who developed this great device.
Is there an advantage if you remove the 6 resistors again, possibly lower power consumption or interference.
Is it possible to select and load different saved...
839 replies | 87803 view(s)
-
Today, 09:32 AM
Fantastic news!!!
Do you need beta testers?
Our project is an art installation.
The goal is to lift a ring of light on a pillar. Each motor should lift about 2kg including the 1kg of the NEMA23 motor itself.
Our...
114 replies | 19437 view(s)
-
Today, 09:21 AM
I decided to give up of TeensyThread in my project.
If I place the code in the main loop everything works.
And it worked fine when the extra thread was only for ili9341 updates.
As soon as I added the save on SD...
11 replies | 110 view(s)
-
Today, 08:58 AM
Anyhow, this is a question to TeensyThread (ftrias)
maybe you cannot have TeensyTread AND loop together?
I would first try another thread that only does delay(1000);
11 replies | 110 view(s)
-
Today, 08:52 AM
What do you want the code to do?
I'm interested in making a simple teensy based controller for a custom loop.
Radiator fans controlled based on water temp and radiator air intake temp.
Some rgb led(s) to indicate...
5 replies | 321 view(s)
-
Today, 08:40 AM
Created /mjs513/TMM-HB01B0-Camera/pull/10 for adding hm01b0_testv3.ino for posts noted above
450 replies | 5917 view(s)
-
Today, 08:34 AM
next guess would be to comment the actual SD file I/O - without that it is nothing and would point to TThreads getting bored with nothing to do between the loop delay and the .yield
11 replies | 110 view(s)
-
Today, 08:16 AM
Hello,
I have a wired accelerometer (KS943B100), and its data has to be sent wirelessly (range 2-3m MAX). The sensor is connected to a NI-cDAQ and sent to a LabVIEW program.
I sought help and told me I have to...
0 replies | 18 view(s)
-
Today, 08:14 AM
Without changes. Single save and hang.
11 replies | 110 view(s)
-
Today, 08:12 AM
That is short and sweet - out of runtime to repro now ... not even a second task doing anything - except loop just burning cycles in a delay
With the print of "Success save 1" the first SD write completed and closed...
11 replies | 110 view(s)
-
Today, 08:01 AM
Edited above - can't find explicit post, but that seems to have been implied in a Paul post I found versus faulty memory here.
9 replies | 177 view(s)
-
Today, 07:58 AM
Minimal code for reproduce
#include <TeensyThreads.h>
#include <SD.h>
int led = 13;
void setup() {
pinMode(led, OUTPUT);
11 replies | 110 view(s)
-
Today, 07:39 AM
Without the code as noted the needed detail is in the part not shown.
I just found a Fault occurring on the Teensy MicroMod thread - having the Fault code display info might give a better clue if it is a Fault...
11 replies | 110 view(s)
-
Today, 07:10 AM
My source code looks pretty confusing.)
I'll try to make a simple example with saving to SD in a another thread (TeensyThread).
11 replies | 110 view(s)
-
Today, 06:57 AM
The error is in the code you do not show
11 replies | 110 view(s)
-
Today, 06:57 AM
Update: The save is successful without hang if I firing save in the main loop.
If I fire save in another UI loop (TeensyThreads) UI thread is hang.
The only way out I`ll be move the save method to the main thread...
11 replies | 110 view(s)
-
Today, 06:41 AM
Back to running sketch and opps - did a 'z' during 'F' looking at the draw aberrations - and the Frank B Print Hardfaults #535 code gave this error:
Hardfault.
Return Address: 0x106A
(IMPRECISERR) Data bus error...
450 replies | 5917 view(s)
-
Today, 06:18 AM
Have you had any problems with Mbed Studio?
2 replies | 195 view(s)
-
Today, 06:07 AM
Actually, I'm currently working on it.
I don't know your mechanical setup but one often underestimates moment of inertia of the lead screw and motor anchor as limiting factors to the acceleration/deceleration....
114 replies | 19437 view(s)
-
Today, 05:56 AM
Update: when I comment out all of the tft render methods freezing still happen. (pin 13 is down orange led off).
Probably my problem is saving on SD incorrectly.
11 replies | 110 view(s)
-
Today, 05:49 AM
Hello,
After update to teensyduino 1.54-beta7 I have some problem and I cant find the cause of the problem.
After simple save redraw loop frozen. Audio continues plays.
Saving and redrawing are serial actions in...
11 replies | 110 view(s)
-
Today, 05:47 AM
Adding 'z' key to save LAST frameBuffer unchanged not taking new image - again seeing Camera mode ( L/R reverse in image facing camera and display )
using 'f' : Not able to recreate the aberrations noted in p#421 &...
450 replies | 5917 view(s)
-
Today, 05:40 AM
I though granularity is 16?
9 replies | 177 view(s)
-
Today, 05:00 AM
RE: p#421 :: Did some repeat 'f' frames while moving left hand up and down - right hand over numPad hitting Up&Enter to trigger 'f' in TyComm - oh look it is in Selfie/Mirror mode again with left hand on the left.
So...
450 replies | 5917 view(s)
-
Today, 03:34 AM
That works well as far as tested since downloading @mjs513! Other sketches not so much fun and function.
Glad to see 'F' somewhere - had to turf my github again as the multi crossing pulls confused me and or the...
450 replies | 5917 view(s)
-
Today, 02:39 AM
@wwatson: thanks for the electrical info. Sounds like I should supply the Teensy with a boosted 5V supply anytime I'm planning to use USB devices.
@MichaelMeissner: Thanks, the Pololu board is an excellent...
3 replies | 54 view(s)
-
Today, 02:32 AM
The USB Host port on the T3.6/T4.0/T4.1 always is at 5V. The voltage regulation is done on the device that is plugged into the USB Host port at 500mv when the the Teensy is plugged into a PC. You will still need a 5...
3 replies | 54 view(s)
-
Today, 02:30 AM
@PaulStoffregen - @KurtE - @defragster
Ok finally got sorted out on my end (Past my bed time on the east coast) :)
Anyway just ran the updates using Sparkfun and non-Sparkfun configs at frameRate(30).
DMA single...
450 replies | 5917 view(s)
-
Today, 02:16 AM
There are step-up voltage regulators that boost the voltage from a lower voltage to a higher voltage. There are step-up/step-down regulators that can either boost or lower the input voltage to a fixed output voltage. ...
3 replies | 54 view(s)
-
Today, 02:12 AM
Is there a small subset of changes that would support just USB flash drives (I don't need SD / MTP etc.), would allow basic operations like listing / copying / deleting of FAT files, and (ideally also) formatting...
7 replies | 155 view(s)
-
Today, 02:06 AM
Just downloaded and am getting an error message:
D:\Users\Merli\Documents\Arduino\libraries\TMM-HM01B0\src\HM01B0.cpp: In member function 'bool HM01B0::startReadFrameDMA(bool (*)(void*), uint8_t*, uint8_t*)':...
450 replies | 5917 view(s)
-
Today, 02:06 AM
Yes, I believe your library tries to do the dynamic allocation of FlexIO resources, right?
The camera interface is a bit special through, because only shifters 3 & 7 support receiving parallel signals. The other 6...
450 replies | 5917 view(s)
-
Today, 02:00 AM
Ok - just merged. Saw that but didn't register how that worked - now I do.
450 replies | 5917 view(s)
-
Today, 01:55 AM
@Kurte - I think that my old MSC branch is confusing everybody with all of the recent changes. Maybe I should remove everything that does not work anymore and keep just what will work with SdFat and uSDFS. What do you...
7 replies | 155 view(s)
-
Today, 01:49 AM
:D looks like you beat me to it! :D
At times still wonder if we should cleanup something like it, sort of like DMAChannel such that sketches who just want to use something like an extra serial TX port can use it...
450 replies | 5917 view(s)
-
Today, 01:46 AM
@Paul - Taking a quick look through your FlexIO configuration and DMA. It is kooks like Greek to me :D
The first thing I wonder and may try. It looks like you are using Shifter 3?
Then I believe you need to...
450 replies | 5917 view(s)
-
Today, 01:46 AM
Yup, that did the trick. I see where I went wrong. A silly mistake really. Sent a pull request to fix it.
EDIT: with the latest updates I'm getting a really dark picture...
450 replies | 5917 view(s)
-
Today, 01:38 AM
I second this request with even a more complex solution for me.
My axis are vertical with some weight on.
So going down the acceleration could be faster.
But the deceleration must be slower.
While going up the...
114 replies | 19437 view(s)
-
Today, 01:33 AM
Thank you for your (wacky?) implementation.
However, I don't understand what you mean by implementing the little function.
Can you explain further or post an example ?
Thanks a lot
@luni, any plan for an official...
114 replies | 19437 view(s)
-
Today, 01:30 AM
:D - Yep - decided to go ahead and merge it in as it works better than before and wanted to do it before it became harder to merge.
450 replies | 5917 view(s)
-
Today, 01:27 AM
Ah, I see what the problem is. I forgot to include the branch name with a "-b" switch when I tried cloning that repo. Thanks, it compiles now!
I tried uncommenting this code in CardInfoUSB.ino:
...
7 replies | 155 view(s)
-
Today, 01:25 AM
@KurtE
Just did the merge - glad I waited on downloading your branch :)
450 replies | 5917 view(s)
-
Today, 01:05 AM
That branch relies on my USBHost_t36 library updates. Which is still in waiting on a Pull Request back to the main one.
It is off of my Fork/Branch: https://github.com/KurtE/USBHost_t36/tree/MSC_read_sectors_cb
7 replies | 155 view(s)
-
Today, 01:03 AM
Teensy 4.1 drops the 5V supply voltage down to 3.3V, so I understand it can be driven from a 3.7V LiPo battery without any issues. However, if I connect a USB flash drive to the USB host port, I assume that the USB...
3 replies | 54 view(s)
-
Today, 01:03 AM
@mjs513,
I see a few different options:
a) don't disable the DMA... In theory if I am totally in sink, the next DMA operation (when PCLK) triggers should be at the start of the next frame. May try this to see how...
450 replies | 5917 view(s)
-
Today, 12:37 AM
@KurtE
That might be why it would work in single frame mode but not continuous - how to do you fix it. Try commenting out the line in the sketch for framesize and uncomment Sparkfun. If you do that it will put it...
450 replies | 5917 view(s)
-
Today, 12:33 AM
The Vdrop is intentional. The USB line goes to a 5 volt to 3.3 volt converter so the voltage drop on the 5v side is irrelevant. They could have just as easily used a p-mosfet as an "ideal diode" but there was no reason...
471 replies | 49863 view(s)
-
Today, 12:19 AM
Hi KurtE, thanks for all the helpful links. I have not had any luck getting a complete working system based on any combination of these repos.
I removed the USBHost_t36 from the Teensyduino 1.54 beta 6 distribution,...
7 replies | 155 view(s)
-
Today, 12:09 AM
Yes, that is the nature of interrupts. Execution returns to the point and state of the interruption.
3 replies | 93 view(s)