-
Older Activity
-
Yesterday, 11:58 PM
Hi all, new to the forum, thank you for any guidance you can provide.
I am trying to get the Teensy 4.1 to interface automatically with an Ohaus AR3130 scale via its RS 232 port. I am using a Max3232 converter board...
0 replies | 0 view(s)
-
Yesterday, 11:47 PM
All
Had a strange thought - not sure where it came from must have been a nightmare. With the lack of PSRAM on the MM board is there a way to use the SDIO pins to simulate having a PSRAM and maybe telling the core to...
463 replies | 6144 view(s)
-
Yesterday, 11:29 PM
Good luck @KurtE.
Will keep using the ILI9341 then perhaps swap to the ST7789 when your new work is done.
Not sure what is up with 'z' - it can work - but sometimes just aborts it seems.
Also REALLY odd the...
463 replies | 6144 view(s)
-
Yesterday, 11:19 PM
Didn't play much today just on and off. As you said it was a nice day. Day is pretty much done here now and they are talking rain for tomorrow so probably will play some more tomorrow.
One thing I noticed is that...
463 replies | 6144 view(s)
-
Yesterday, 11:15 PM
I'm using a teensy LC as a controller input with a raspberry Pi4 and retropie. I have two analog sticks and a slew of regular buttons. Right now I'm just picking usb type: keyboard+mouse+joystick, however the Pi sees it...
0 replies | 5 view(s)
-
Yesterday, 11:08 PM
I am looking to update the ST77xx code to allow the callbacks. But it looks like this still has my older variety of updateScreenAsync code for the IMXRT.
Earlier on I was frustrated, with the using of memory from...
463 replies | 6144 view(s)
-
Yesterday, 11:06 PM
Update
Code version #1 above with the intermittent Gun Trigger (joystick button #1) on pin #0 was fixed by setting the "debounce time" from 10 ms to 0 ms. I still haven't gotten the hat switch to read 8 ways, only 4...
2 replies | 129 view(s)
-
Yesterday, 11:00 PM
@mjs513 - Noticed the SFun display backlight was on during Pin Testing when it should have been off. Nice the single Teensy lib works and not a pile of others needed.
Saw SPI speed 30 MHz in _t3n - bumped to 60 and...
463 replies | 6144 view(s)
-
Yesterday, 10:48 PM
There's a built-in tool labelled "Serial Monitor" that you can access from the tool bar at the bottom of the window, the icon looks kind of like an (American) electrical plug.
1 replies | 17 view(s)
-
Yesterday, 09:43 PM
Today I decided it was time to put the Arduino IDE to one side and get going at last on PlatformIO !
It’s now installed and mostly working just fine; but for one tiny but very irritating issue:
Code compiles,...
1 replies | 17 view(s)
-
Yesterday, 09:43 PM
Yeah broke down and tested the Sparkfun Input/Display Carrier board. The display is 9341 compatible. Did get it working with the 9341 library but had to add a command - invert display on, then it worked with what we...
463 replies | 6144 view(s)
-
Yesterday, 09:42 PM
"F" seems to be working in CallBack w/code like DMA
Last run of DMA was torn down left edge after it centered instead of the top?
463 replies | 6144 view(s)
-
Yesterday, 09:31 PM
Seems I got that in testv3.
s and c work and D too. Not sure what the deal with SPARKFUN define is failed first time - worked without - then repower it worked turned back on?
d - cont DMA squiggle start worse...
463 replies | 6144 view(s)
-
Yesterday, 09:31 PM
Thanks @mjs513
Or do one or both of us need to integrate in code with ST7735_t3? Will take a quick look.
Thinking of ILI9341, has anyone purchased the Sparkfun Input and display Carrier board? ...
463 replies | 6144 view(s)
-
Yesterday, 09:17 PM
Merge completed - good timing was doing @defragster's merge. Have to figure out my 9341 - really giving me a hard time working.
463 replies | 6144 view(s)
-
Yesterday, 09:12 PM
Just an FYI - I just pushed up a branch with this code, that works pretty well with the ILI9341 display. (Don't have the calls in ST7735 ... Yet).
Pushed up a PR, so people can play... May want to update FlexIO code...
463 replies | 6144 view(s)
-
Yesterday, 07:24 PM
github finally got me the latest update ...
Using ILI9341 the "F" working perfectly and no frame confusion on 'wiggling' hand giving skew!
>> moving images all drawn in phase : No skew or tearing or any anomolies...
463 replies | 6144 view(s)
-
Yesterday, 07:05 PM
Ahhh those names aren't exactly how things are accessed in the code. For example the SPDIFRxLeft Register is read from SPDIF_SRL.
7 replies | 57 view(s)
-
Yesterday, 06:59 PM
This is probably a dumb question--but how do I access the specific interrupts and registers that are named in the manual? Since I'm sure this has been described a million times a link is fine.
From the manual it...
7 replies | 57 view(s)
-
Yesterday, 06:48 PM
I never said anything about a "Windows" GUI, I haven't used Windows in years......The project mentioned in the first post used a QT GUI for configuration and it kind of needed to work or you couldn't configure it as it...
6 replies | 342 view(s)
-
Yesterday, 06:44 PM
That's the easy part. attachInterrupt()
Then, you can take a look at the audio-library SPDIF input and look at the code. Remove all the DMA stuff, and it is almost done..
7 replies | 57 view(s)
-
Yesterday, 06:36 PM
Thanks. From reading it seems like it should be possible. I've never programmed at this level before, but I'll have a go at it. Time to read up on interrupts.
7 replies | 57 view(s)
-
Yesterday, 06:21 PM
The Audio library provides raw data. Just use the AudioRecordQueue: https://www.pjrc.com/teensy/gui/?info=AudioRecordQueue to read the data - and then print it.
What is printing useful for?
3 replies | 33 view(s)
-
Yesterday, 06:12 PM
IMXRT1060 Reference Manual Rev2, Page 2028 shows that it can gegerate an interrupt depending on the fill-state of the FIFO.
Of course there is no example code to do that, as the audio library is used, normally...
...
7 replies | 57 view(s)
-
Yesterday, 06:06 PM
It needs to do the operation on every incoming sample (so 44.1k or 48k times per second). So no frames like in normal applications. Latency, as long as it's consistent (jitter < .05 ms), is not a concern, since it can...
7 replies | 57 view(s)
-
Yesterday, 06:05 PM
Note: I am doing some outside nice day activities, but in the process now of adding a Video mode...
That is I am setting up to do DMA, plus turn on the Async updates in continuous mode, with callbacks (So far only...
463 replies | 6144 view(s)
-
Yesterday, 06:04 PM
is there the possibility on teensy 4.x to use the usb keyboard function together with the audio functions? with teensy 3.2 you can select "all of the above" and it worked.
Thank you so much for any reply.
0 replies | 18 view(s)
-
Yesterday, 06:00 PM
Well, first it would be needed to define what "realtime" is.
7 replies | 57 view(s)
-
Yesterday, 05:58 PM
Sorry, I am new to this. I posted that as a reply actually.
3 replies | 33 view(s)
-
Yesterday, 05:55 PM
Don't know why you posted this in Announcements - I moved this thread to "Audio".
3 replies | 33 view(s)
-
Yesterday, 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...
3 replies | 33 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 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...
7 replies | 57 view(s)
-
Yesterday, 05:13 PM
PR just merged. Sorry for the delay - had to run out and do a few errands.
463 replies | 6144 view(s)
-
Yesterday, 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()...
463 replies | 6144 view(s)
-
Yesterday, 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 | 19 view(s)
-
Yesterday, 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 | 350 view(s)
-
Yesterday, 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 | 34 view(s)
-
Yesterday, 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
463 replies | 6144 view(s)
-
Yesterday, 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 {
...
463 replies | 6144 view(s)
-
Yesterday, 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.
463 replies | 6144 view(s)
-
Yesterday, 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.
463 replies | 6144 view(s)
-
Yesterday, 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.
...
463 replies | 6144 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 01:52 PM
Opps, sorry, I made some mistakes. Working on it now...
463 replies | 6144 view(s)
-
Yesterday, 01:36 PM
Noticed - PR already merged :) Just downloaded it and now to play again.
463 replies | 6144 view(s)
-
Yesterday, 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.
463 replies | 6144 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 01:16 PM
I'm working right now to add start / stop for FlexIO, as similar to Kurt's API as I can.
463 replies | 6144 view(s)
-
Yesterday, 01:03 PM
@Moo I see you added loop functionality, and interpolation has been removed?
29 replies | 6831 view(s)
-
Yesterday, 12:54 PM
@KurtE
Once things settle down will have to go play with SublimeText and TSET again. Always something going on.
463 replies | 6144 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 12:22 PM
Kurt - ignore this - got myself confused again.
463 replies | 6144 view(s)
-
Yesterday, 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 | 13646 view(s)
-
Yesterday, 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 | 6831 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 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 | 20186 view(s)
-
Yesterday, 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 | 20186 view(s)
-
Yesterday, 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*)'
...
463 replies | 6144 view(s)
-
Yesterday, 11:40 AM
My guess is that its suppose to be on the imageBuffer since its being used for DMA along with frameBuffer2.
463 replies | 6144 view(s)
-
Yesterday, 11:39 AM
Here is the file translated to english...thanks google translate.
114 replies | 19452 view(s)
-
Yesterday, 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;
...
463 replies | 6144 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 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 | 325 view(s)
-
Yesterday, 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 | 6831 view(s)
-
Yesterday, 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 | 87854 view(s)
-
Yesterday, 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 | 87854 view(s)
-
Yesterday, 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 | 87854 view(s)
-
Yesterday, 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 | 19452 view(s)
-
Yesterday, 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 | 115 view(s)
-
Yesterday, 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 | 115 view(s)
-
Yesterday, 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...
6 replies | 342 view(s)
-
Yesterday, 08:40 AM
Created /mjs513/TMM-HB01B0-Camera/pull/10 for adding hm01b0_testv3.ino for posts noted above
463 replies | 6144 view(s)
-
Yesterday, 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 | 115 view(s)
-
Yesterday, 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 | 24 view(s)
-
Yesterday, 08:14 AM
Without changes. Single save and hang.
11 replies | 115 view(s)
-
Yesterday, 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 | 115 view(s)
-
Yesterday, 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 | 187 view(s)
-
Yesterday, 07:58 AM
Minimal code for reproduce
#include <TeensyThreads.h>
#include <SD.h>
int led = 13;
void setup() {
pinMode(led, OUTPUT);
11 replies | 115 view(s)
-
Yesterday, 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 | 115 view(s)
-
Yesterday, 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 | 115 view(s)
-
Yesterday, 06:57 AM
The error is in the code you do not show
11 replies | 115 view(s)
-
Yesterday, 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 | 115 view(s)
-
Yesterday, 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...
463 replies | 6144 view(s)
-
Yesterday, 06:18 AM
Have you had any problems with Mbed Studio?
2 replies | 208 view(s)
-
Yesterday, 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 | 19452 view(s)