-
Older Activity
-
Today, 07:52 PM
I finally have the guts to test this and start playing around as I have been doing ALOT of reading (still don't understand much but know more that I did a few weeks ago).
I want to thank miciwan for the guidance and...
24 replies | 1876 view(s)
-
Today, 07:47 PM
I've added it here, with a link to this thread.
13 replies | 411 view(s)
-
Today, 07:43 PM
Funny it worked with the code I posted now must have did something to make it fail. Going to run a test just to see with time.h.
18 replies | 193 view(s)
-
Today, 07:41 PM
Weird. The library code seems to be quite elaborated. Would be surprised if it has such bugs in it. Maybe you changed something unintentionally while porting stuff?
18 replies | 193 view(s)
-
Today, 07:19 PM
p#494 sketch looks Great!
Grabbed a fresh 128GB SD card and will make it Multi Partition.
I thought to do something like procesMSDrive(1, msDrive1, msc1); rather than Dupe - but time was limited and wanted to get...
494 replies | 29162 view(s)
-
Today, 06:31 PM
Updated to fix the Fat16, also implemented a one call to find volume label.
And did some more gratuitous changes to have a function called by loop to process a drive, as to not need to reproduce it for more drives......
494 replies | 29162 view(s)
-
Today, 06:26 PM
I added example USB Passthrough sketches for DAC2 Pro and DAC2 HD.
This effectively turns either HiFiBerry board into a 44.1kHz 16-bit USB sound card for the PC. To load these example sketches, you must select 'Audio'...
13 replies | 411 view(s)
-
Today, 06:00 PM
Nope nothing else gets printed as I am playing.
BTW will it work with a Teensy 3.x
Remember when I said it was working for a T3.5 well now its not working - argh. - no start up info from timer.h and no signal.
18 replies | 193 view(s)
-
Today, 05:51 PM
I just used a small bluetooth audio transmitter/receiver bought for a few bucks on aliexpress. It uses an usb connector for powersupply and has two audio jacks. One is for the RX and one for the TX function. A small...
697 replies | 78211 view(s)
-
Today, 05:44 PM
But I think this will just be a alternative to do
switching by patching AudioConnections
https://forum.pjrc.com/threads/60062-Dynamic-Audio-Connections?highlight=dynamic+audio+connections
but in a more elegant...
26 replies | 1299 view(s)
-
Today, 05:36 PM
I have the same problem as well. I commented out all the Serial.print and processor statistics. When it's in FLANGE_DELAY_PASSTHRU mode (logic 1 on pin 1), the audio is clean. When the flanger is running (logic 0 on...
1 replies | 505 view(s)
-
Today, 05:36 PM
Some stud finders use capacitance to locate wooden studs behind drywall, based on the difference between the dielectric constant of air and wood.
I'm wondering if a Teensy could be made into a stud finder by adding...
0 replies | 26 view(s)
-
Today, 05:13 PM
Yes, but does it print anything later while you are playing with the commands and getting the error? If so, the library might mess up some intervaltimer settings.
18 replies | 193 view(s)
-
Today, 05:07 PM
In the SMALL program source code, you should have FLASH_BUFFER_ADDR = (FLASH_SIZE / 4)
In the LARGE program source code, you should have FLASH_BUFFER_ADDR = (3 * FLASH_SIZE / 4)
Is that what you have?
Which...
70 replies | 5926 view(s)
-
Today, 05:05 PM
I was able to get it to install only when the Arduino IDE was installed in its default location.
(I used to have it installed on a different drive than the default. Teensyduino did not accept the directory entries...
17 replies | 530 view(s)
-
Today, 04:59 PM
As aside about switches - its been briefly mentioned above I think, but hard switching of audio is going to
produce potentially loud and annoying clicks, since truncating a waveform is equivalent to the sound of
a...
26 replies | 1299 view(s)
-
Today, 04:56 PM
@luni
Seeing exactly the same thing on startup as you:
init 0x0
setPeriod(58)
attachInterrupt()
start
out of curiosity I switched the prog track to use pins 3/11 just in case. No difference
18 replies | 193 view(s)
-
Today, 04:54 PM
Another quick note: I updated my sketch to the last one @defragster and found it was using the old non working Fat16 code. i.e. the one that was reading the boot sector and appears to always be: NO NAME
Will fix and...
494 replies | 29162 view(s)
-
Today, 04:32 PM
That is exactly how c++ template works
the AudioCrosspointSwitch
is initialized with
AudioCrosspointSwitch<4,8> crossSwitch;
which is a 4 input 8 output AudioCrosspointSwitch
note.
26 replies | 1299 view(s)
-
Today, 04:24 PM
The "dsb" is only effective for very short ISRs. The one used by the lib is probably long enough. (But this should be fixed anyway I'd say)
Did you try to look if the library calls the functions from timer.h after...
18 replies | 193 view(s)
-
Today, 04:22 PM
Hello Rolf, fantastic work. I’m really enjoying see the progress on this.
I love how informative your display is, and how it gives the user lots of real time feedback. Do you have any advice or resources on how to...
118 replies | 9932 view(s)
-
Today, 04:15 PM
@KurtE
Did try and putting asm("dsb")'s in different places associated with the interrupts but still had the problem. Tried playing with volatile's as well but no luck.
18 replies | 193 view(s)
-
Today, 04:14 PM
Ok now have another interesting thing going on.
I wanted to try with a Teensy 3.6 but as soon as turn power on with the sketch loaded the T3.6 is sending signals to the lock to move but its not suppose to.
The...
18 replies | 193 view(s)
-
Today, 04:12 PM
there is this one
https://github.com/macaba/Audio/blob/master/mixer_crosspoint_16.cpp
https://github.com/macaba/Audio/blob/master/mixer_crosspoint_16.h
from macaba...
26 replies | 1299 view(s)
-
Today, 04:11 PM
Wondering if you ever figured out what the problem was for you joystick. Only my up ( 1- i think) isn't working, and if replacing it was the fix for you id order a handful more.
11 replies | 7513 view(s)
-
Today, 03:58 PM
Ah, interesting! I'm not sure I'd know exactly how to work this into the Teensy audio lib.
Unfortunately I think the larger issue for my application is that I believe it's 1 in, multiple out, correct?
What I'm...
26 replies | 1299 view(s)
-
Today, 03:56 PM
Just wanted to rule out if it was a PC issue or not
6 replies | 85 view(s)
-
Today, 03:54 PM
This is a really intriguing idea, to just use ethernet as a raw serial-like byte stream at 100 Mbit speed. Or maybe as a raw packet delivery?
If the ethernet mac is configured in promiscuous mode and automatic...
1 replies | 67 view(s)
-
Today, 03:37 PM
SPISlave_T4 has been released!
You may download it at https://github.com/tonton81/SPISlave_T4
An example is supplied as well.
It is based on TSPISlave for Teensy 3.x, except it has an additional feature. Not...
0 replies | 28 view(s)
-
Today, 03:29 PM
Will give it a try - just after a fresh pot of coffee.
18 replies | 193 view(s)
-
Today, 03:28 PM
Good morning again:
Just for the fun of it you might try adding the asm("dsb");
somewhere...
The reason I mention it, I have been bit several times where ISR gets triggered multiple times for the same interrupt....
18 replies | 193 view(s)
-
Today, 03:28 PM
Oops - thats @Frank B's library = I added it get freemem for the T4.1: https://github.com/FrankBoesing/T4_PowerButton
Sorry about that - forgot I was using it so distracted with the other problem.
18 replies | 193 view(s)
-
Today, 03:26 PM
@DM5SG: EER transmission/polar transmitter is exactly the idea that came to my mind when FrankB wrote that excellent FM transmitter code! Would be nice to hear more on your developments! Maybe it would be worth coupling...
14 replies | 219 view(s)
-
Today, 03:25 PM
It wants to include some T4-Powerbutton.h? Not included in the zip...
18 replies | 193 view(s)
-
Today, 03:16 PM
I have a untested solution that is based upon AudioSwitch_F32.cpp from Chip Audette, OpenAudio library
it's basically a Crosspoint switch (not mixer)
AudioCrosspointSwitch.tpp
/*
* Created orginally: Chip...
26 replies | 1299 view(s)
-
Today, 03:04 PM
Ok lets see if I can explain this without tripping over myself. A virtual timer is set up in Timer.h that calls off to IntervalTimer that does a attachInterruptVector. The sketch then calls off to:
...
18 replies | 193 view(s)
-
Today, 02:59 PM
Although i appreciate the suggestion, there must be a reason for this problem on my computer that I hope someone may have an idea towards debugging?
6 replies | 85 view(s)
-
Today, 02:30 PM
Some More not fleshed out thoughts on MSC and Partitions and FS...
I first off think it will be great all of the pieces in place and part of Teensyduino!
What I am sort of wondering is if it makes sense to have a...
494 replies | 29162 view(s)
-
Today, 02:30 PM
Morning all
Actually no, didn't get a chance to look - too many other distractions last couple of days :)
I agree with you Kurt 100%.
Oh - one thing I noticed is that if you put in a SD Card in a USB adapter...
494 replies | 29162 view(s)
-
Today, 02:22 PM
Serial monitor seems to be hanging again similar to what happened in T4 beta testing: https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=213179&viewfull=1#post213179
If I run this sketch:
void setup()...
25 replies | 532 view(s)
-
Today, 02:07 PM
This doesn't actually work. It get you as far as the diags of the internal functions of the chip and I have never had trouble with that. It runs all of the stages of the tests but it stops short of actually connecting...
31 replies | 22667 view(s)
-
Today, 02:01 PM
Good Morning!
I have not had a good chance to go through all of the code:
I don't see anywhere that you call attachInterruptVector, but if you did, I would probably make sure all of my interrupt vectors had...
18 replies | 193 view(s)
-
Today, 01:39 PM
Good Morning all:
Sounds like we have things coming along well here, to understand some about partitions and getting the volume label. :D
But our test has not handled SD Cards with multiple partitions ;) For...
494 replies | 29162 view(s)
-
Today, 01:36 PM
Thanks thought crossed my mind - so I tested yesterday down to 24Mhz. But as a double check after your suggestion I just tested at 150Mhz - still stopped after a couple tries. Even tried tried changing compiler options
18 replies | 193 view(s)
-
Today, 01:21 PM
Could it be a timing issue, Teensy 4.x going much faster?
In order to rule out, compile for a much lower speed similar to Teensy 3.x.
18 replies | 193 view(s)
-
Today, 01:10 PM
Morning all
@defragster - gave your mods a go and all seems to be working.
1. SSD 120GB - 2parts, extFAT/FAT32
2. SD CARD in adapter - 32GB - 2 FAT32 parts
3. 2 GB Thumb drive - 1 FAT16
All worked without a...
494 replies | 29162 view(s)
-
Today, 01:09 PM
try another PC, could be a windows issue
6 replies | 85 view(s)
-
Today, 12:25 PM
If anyone has any ideas please let me know. Ran of ideas on how to further debug.
18 replies | 193 view(s)
-
Today, 11:21 AM
I am in serial mode, I also tried whilst in mtp mode.
It is not that it doesn't print to serial, it is that the device doesn't even show up on USB or run blink
6 replies | 85 view(s)
-
Today, 11:09 AM
Maybe Teensy is transmitting "*** ONLINE ***" before your PC is able to complete USB detection, and then you interpret the lack of that message as the USB device not working? But that doesn't explain needing the press...
6 replies | 85 view(s)
-
Today, 10:59 AM
I verified your sketch on a T4.1 and with or without the analogRead(randomVar ); line, it shows a serial USB device .
Did you set Menu > Tools > USB Type to Serial?
Using Arduino 1.8.13 & Teensyduino 1.53 on Windows...
6 replies | 85 view(s)
-
Today, 10:40 AM
Generally, for strips having more than 3 DotStar LEDs, you want to power that strip externally. You don't want the propshield board to supply significant current to DotStar strips. See this page for more info how to...
1 replies | 52 view(s)
-
Today, 10:36 AM
In the code below, if I do not put the analogRead function in the code, the Teensy wont show up via USB and I have to press the reset to upload new code.
However if I put the analogRead in, it functions without issue. ...
6 replies | 85 view(s)
-
Today, 10:19 AM
Buying a Teensy LC would have least cost - especially if you really use 5 of them. Not sure of any reason it wouldn't work as well as the others for this dedicated purpose?
See this for PCB creation and DEMO:...
1 replies | 57 view(s)
-
Today, 09:57 AM
Done for now - Got Twin Drives Hacked in and working!!!!
Duplicated setup code for msDrive 1 and 2 in loop() - and pass ptr to msc1 or msc2 to the func( UsbFs *myMsc )'s that need it ( mbrDump and volLabel()'s )
>>...
494 replies | 29162 view(s)
-
Today, 08:35 AM
Hi Everyone.
I'm working on a project that requires input from 5 cherry mx switches, 5 force sensors, 5 capacitive touch sensors, a photodiode and an EEG shield. I'm using a teensy 4.1 to poll all of these sensors...
1 replies | 57 view(s)
-
Today, 08:26 AM
GOOD NEWS! Looks like it was used a year ago for USBHost testing.
Now it just needs to be coded to bring up a second drive as well.
My 120GB HUB DRIVE is ExFat and now works - seems to have Vol Label - and it...
494 replies | 29162 view(s)
-
Today, 08:24 AM
Yes, thats the same what the Reference manual says - everything but the max 960000.
I'll update that value. Thanx :)
14 replies | 219 view(s)
-
Today, 08:14 AM
int velocity = map(peak, thresholdMin, 1023, 1, 127);
Serial.println (velocity);
usbMIDI.sendNoteOn(note, velocity, channel);
Yeah, how can you be getting those values at all? If you are then the MIDI...
18 replies | 2388 view(s)
-
Today, 08:11 AM
Hello again,
I fixed the issue by adding an amp in my audio graph and using the amp gain to achieve the intended function. I'm just going to set sgtl5000_1.volume() once in setup() and then leave it alone. Maybe I...
1 replies | 29 view(s)
-
Today, 08:09 AM
as follow the limits:
PLL5 - DIV = 27..54, NUM max 960000, DENOM max 960000, PLL5_POST_DIV = 1,2,4, VIDEO_DIV = 1,2,4
SAIx_PRED = 1..8
SAIx_PODF = 1..64
vco = must be in range 650MHz - 1.3GHz
xtal = must be 24MHz...
14 replies | 219 view(s)
-
Today, 08:00 AM
In the other hand - what do i do with 30+ Cards...?
8 replies | 178 view(s)
-
Today, 07:59 AM
Hi Folks,
I'm doing the initial bringup on a synth and a bug is bothering me. I want to sort it out before I proceed. I'm running Teensy 4.0 and an Audio Board Rev D.
The first thing I want to do is generate a...
1 replies | 29 view(s)
-
Today, 07:54 AM
I wonder if in the cases where you want to simply have the detector stand-alone outside its not easier to add a simple bluetooth transmitter that is connected to the phone-out of the detector ?
697 replies | 78211 view(s)
-
Today, 07:46 AM
That sounds interesting. I have been thinking about this while waiting for all my parts to arrive. Are you using a module like HC-05/06? I was wondering about using an ESP32 as a co-processor (it would relieve the...
697 replies | 78211 view(s)
-
Today, 07:35 AM
Turned on USB DEBUG
This is the inital case on power up where ExFat works:
new_Pipe
new_Pipe
Descriptor 5 = ENDPOINT
Descriptor 5 = ENDPOINT
Initialize USB drive...control CallbackIn (msController)
00 00 00...
494 replies | 29162 view(s)
-
Today, 07:25 AM
the problem is here
flash_block (base_address + address + FLASH_BUFFER_ADDR, (char *)data, byte_count)
so first offset is 3/4 of FLASH_SIZE, i think it is wrong
1 :10000000F8FF022099010000652C03001D2C03005D...
70 replies | 5926 view(s)
-
Today, 06:53 AM
the datasheet is very vague in many respects. its a pure datasheet with almost none reference to practicle use.
the MCUXpresso Config Tool gives at least some ideas about coherences, limits and restrictions
Gruß aus...
14 replies | 219 view(s)
-
Today, 06:13 AM
Unfortunately I didn't succeed to load big program (295 kB)
first i fogot to change FLASH_BUFFER_ADDR to (3 * FLASH_SIZE/4) to load my large application
and i got this
8188 ...
70 replies | 5926 view(s)
-
Today, 05:38 AM
It`s great!!! Thank you for your work. I will try it and post my results
70 replies | 5926 view(s)
-
Today, 05:10 AM
Put the Teensy MSC formatted ExFat drive on Windows - looks good.
Had 16 MB Unallocated before the ExFat Partition. Made that space into a FAT drive.
Both Volumes have usable names - NOT SHOWN, and it sees the...
494 replies | 29162 view(s)
-
Today, 05:09 AM
@All
When you guy's go for something, it always amazes me. I learn so much from your testing:)
There are two timeouts in 'msc.h' located in the 'USBHost_t36/utility' folder that you can tweak at the driver level....
494 replies | 29162 view(s)
-
Today, 04:46 AM
Code Merged - ExFat 128GB Flash lives:
Waiting up to 5 seconds for USB drive
^^^^Initialize USB drive...^^^^^~USB drive 1 is present.
msc1 Partition Table
part,boot,bgnCHS,type,endCHS,start,length
exFAT:...
494 replies | 29162 view(s)
-
Today, 03:33 AM
I have 2 of these buydisplay7.84 "candy bar" 1280 X 400 displays ..
They require SPI for the RA8876
and SPI for the ssd2828 chip .. which needs to initialize communications to the RA8876
(its sort of set it and...
0 replies | 49 view(s)
-
Today, 02:43 AM
@defragster - will let you do it = going get some zzz's now - been up since 4am
494 replies | 29162 view(s)
-
Today, 02:40 AM
Damn - thought I posted the fix:
// VolumeName.ino
// An example of how to retrieve Fat32 and ExFat volume names using SdFat.
// Works with SD cards and USB mass storage drives.
#include "Arduino.h"
#include...
494 replies | 29162 view(s)
-
Today, 02:40 AM
Argh - that p#479 doesn't have my edits in :(
I have another drive : Flash 128 GB that was seen to FAIL using to backup PC data.
I just went to MSC ExFatFormatter - here is Format okay and startup okay ... then...
494 replies | 29162 view(s)
-
Today, 02:34 AM
Ok here is the fix for extFat:
Waiting up to 5 seconds for USB drive
Initialize USB drive...USB drive 1 is present.
msc1 Partition Table
part,boot,bgnCHS,type,endCHS,start,length
FAT32:...
494 replies | 29162 view(s)
-
Today, 02:29 AM
Turns out BOTH of these drives are MSFT formatted :) One for recover 64GB with 2nd partition now formatted where they image it with one of 32GB
The second 16GB drive they format when putting on the WIN 10 install...
494 replies | 29162 view(s)
-
Today, 02:23 AM
My exfat was failing as well, will look tomorrow unless someone beats me to it.
494 replies | 29162 view(s)
-
Today, 02:19 AM
@defragster
Wondering if its an issue with MSFT formatted drive. I put a 128GB SD Card in a usb adapter with 2 FAT32 and 1 extFAT. But looks like the exFAT is failing for some reason;
Initialize USB drive...USB...
494 replies | 29162 view(s)
-
Today, 02:16 AM
Just made this ehci.cpp change to my system - No change to (1) on the startup Hang with write protected drive:
USBHS_USBCMD = USBHS_USBCMD_ITC(1) | USBHS_USBCMD_RS |
This system has HardFault detection enabled -...
494 replies | 29162 view(s)
-
Today, 01:56 AM
Now looking at the waveforms between the T3.5 and T4.1 when it works the command takes about 1.2seconds to complete and they look alike (Used a Salae Logic Analyzer). When it fails on the T4.1 the signal just keeps...
18 replies | 193 view(s)
-
Today, 01:50 AM
Was working on my DCC++ for Model Train Control with Teensy 3.x and Teensy 4.x as a result of problem that some one was running into with running on a T4.1. Going to get complicated so here it goes.
In DCC you have...
18 replies | 193 view(s)
-
Today, 01:41 AM
Just back ... 'not Working' is the norm ... didn't read enough of the thread :)
> this with minimal USB 2.0 'hub' - not powered
Updated above post #470 ::
That is how Windows sees it, MSFT formatted it when they...
494 replies | 29162 view(s)
-
Today, 01:30 AM
@KurtE
Fantastic. I was playing with and trying to make it work like FAT by opening the root directory but failed miserably. Where did you find the rootDirStart?:
msc1.usbDrive()->readSector(partVol.rootDirStart(),...
494 replies | 29162 view(s)
-
Today, 01:18 AM
Have Fat16 working I believe at least for USB, have not tried with SD yet...
// VolumeName.ino
// An example of how to retrieve Fat32 and ExFat volume names using SdFat.
// Works with SD cards and USB mass storage...
494 replies | 29162 view(s)
-
Today, 12:51 AM
Hi @defragster and others...
Thought I would show so more stuff that is not working :D
// VolumeName.ino
// An example of how to retrieve Fat32 and ExFat volume names using SdFat.
// Works with SD cards and...
494 replies | 29162 view(s)
-
Today, 12:50 AM
Your servo error outputs will need to be open collector. Most of the error outputs I have seen are OC and pull the signal low on an error. If you want to wire OR them, you will need to set the EStop input to NO.
...
59 replies | 5365 view(s)
-
Yesterday, 11:26 PM
TyCommnader finds all online Teensy units. When part of the build process it pops up a dialog to 'pick your Teensy' the first time that hex is uploaded - then on subsequent uploads of that hex it is associated with...
17 replies | 5831 view(s)