If this was posted after fixing ... no notice was sent/received.
Double posted? - no 'spinning dots' - but 'hourglass' - completed and double posted this DUPE when it returned up a level ..
Looks like the mail server had the old forum IP number on its list of places allowed to send. Edited just now. Hopefully it will fix the missing notifications.
Seeking a bit of project help.
I'm using a circular touchpad in absolute mode (DIY touchpad joystick).
When I operate the touchpad it reports the x/y coordinates properly for me and I love it (even checked in...
A little late on the draw here, but if you still have any CS42448 boards you’d like to divest yourself of I’d happily cover shipping and any other handling costs.
Our goals are nearly in parity and I’d love to...
No notifications (from threads I have posted in) have been received. Should have gotten one today. Apparently the switchover didn't preserve some settings?
Thanks, Paul! That was a great answer, and I learned quite a bit by reading through the code. Two followup questions:
1) I assume the timers controlling the PWM behavior are no longer operating. The external motor...
For me, the AD_B1_ is the pin name, the GPIO number is closer to the PORTA, B, C, D of the AVR processors.
For example if you look at my excel sheet in GPIO pin order.
You will see a column with name... the AD_B1_...
I cannot believe that I am the only one that would be interested in such a vital feature.
Can I pretty please at least get some feedback if this is being considered at all?
I had another read of the data sheet, and now think any WS edge might terminate the data input sequence for a channel. Even though that seems to contradict the statement that only the 'first 16 bit data is valid' - the...
@PaulStoffregen - @defragster - @mjs513
Got the double post when I received the pop up and clicked Leave. Have seen it before but as you said not recently. And still no notifications on a couple of recent threads...
@PaulStoffregen - @defragster - @mjs513
Got the double post when I received the pop up and clicked Leave. Have seen it before but as you said not recently. And still no notifications on a couple of recent threads...
EDIT, the below is maybe not relevant, just noticed that there is now the problem also with older code. I switched this morning to Arduino 2.x... oh s*** one should never do two changes at same time, it works ok with...
Hello Paul,
is any chance to require a production of Teensy 4.1 mounting the Industrial version of iMXRT1062 (so the iMXRT1062C version) instead of the Consumer version (iMXRT1062D)?
Obviously, such a change wouldn't...
Or use waveform synth rather than samples stored in flash. Or just use fewer / smaller samples.
But yeah, 128K flash on the original Teensy 3.0 is kinda limiting when you want to include any sound samples or bitmap...
Hi Clinker8,
Sorry about the vagueness. I'm dealing with the porting of some already-written code. This is not about encoders or really about an 'issue'. Perhaps I should have begun another thread! It's more about...
Paul , here's a first go at a test program that sends 100 and 200Hz sawtooth waves to R and L channels respectively.
I'm assuming the rudimentary timing diagram in the PT8211 data sheet is accurate where it shows...
I’ve been toying with the RT1176-EVK for going on a year, and not only can I confirm it supports MIPI DSI output, but it also includes a lovely display out-of-box. Furthermore, the MCU not only includes a GPU and a...
Thanks! I just got a new round of prototypes made using the footprint for W25Q64JVXGIM flash chip and soldered on some virgin chips from Mouser, and am pleased to confirm everything powered right up as anticipated. ...
@strud had a DUPE post I removed. {was #6 after Faster-way-to-read-in-digital-inputs-into-a-byte-value
Seems there may be a timing issue with the wait then failed coordination recognizing 'posted'
Edit: This gave...
@strud had a DUPE post I removed. {was #6 after Faster-way-to-read-in-digital-inputs-into-a-byte-value
Seems there may be a timing issue with the wait then failed coordination recognizing 'posted'
p.s. How would you rate the audio quality (and background noise) you get from the PT8211 board vs a T3.6 DAC, when powered by USB (perhaps with an isolator)?
Thanks Paul, I too was thinking it might be a simple enough chip for this to work. It would be great if you could do a quick test for me, as indeed I don't have a PT8211 board (they seem not available in Australia, so I...
;)
I've got Teensy 3.0 BLACK ): but the ATAT_DrumSamplePlayer sketch will not fit in region `FLASH'
1.8.19/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH'...
Still no email notifications - for this post or the usbhost thread.
Also earlier post took some time in browser 'spinning' then said - "leave and the post dies" I ignored and the post had completed :: This has...
Still no email notifications - for this post or the usbhost thread.
Also earlier post took some time in browser 'spinning' then said - "leave and the post dies" I ignored and the post had completed :: This has...
AD_B1_00 basically PORT name similar to Arduino Uno: PORTA, PORTB, PORTC.
Direct port manipulation will yeld the best performance but you need to connect the wires (pins) correctly so you can read the bits in one go...
Hi Chris O
I am still getting my head around (very slowly) the nomenclature and the different labelling levels.
In the schematic you linked to, what is the 'port' AD_B1 ?
I need to map my signals in the odd way...
I guess I can confirm that the ADAT OUT on T4.1 works like a charm ):
Soon I will release a complete -- output_adat.h and output_adat.cpp for T3.x and T4.x. as soon as I can find Teensy 3.x for testing.
Ok, have narrowed it down to a failed command error. Bit 0 is set in the CSW status byte. Possibly a command not recognized by the USB stick. See below:
msWriteBlocks()
msDoCommand()
USBDrive CallbackOut (static)...
This is roughly the code I'll try out this evening
#define IMXRT_GPIO6_DIRECT (*(volatile uint32_t *)0x42000000)
// read in raw values from single port GPIO6
register uint32_t rawdata =...
38.5.1.5 SAI Transmit Configuration 1 Register (TCR1) p.1987
Correct me if I'm wrong but I was looking for I2S_TCR1_TFW(n); // Transmit FIFO Watermark in \hardware\teensy\avr\cores\teensy4\imxrt.h
I do see: ...
Found this thread which looks very useful, I'll convert my code and report back on the new time consumed.
https://forum.pjrc.com/threads/61615-Teensy-4-1-Storing-the-value-of-18-pins-input-quickly
@mjs513 @KurtE - Just got my drive and tested. Same results as you guys. Going to start walking back through the different versions of TD to see if anything changes. Beings how this only seems to happen with these...
@kurtE - @wwatson
Interesting - wondering what version I am running since I am seeing this:
msReset();
// delay(500); // Not needed any more.
maxLUN = msGetMaxLun();
// msResult = msReportLUNs(&maxLUN);...
Use of any delay will block and not return to loop() or other code - except higher priority interrupts
Code shown has 20 msec delay - then sits 10 msec. If this is the desired behavior the timer could be set to 10...
In the simple example here I start an IntervalTimer with 20 msec. callback. In the function called I have a 10 msec. delay. My question is does this delay eat up half of my computational time, or is the delay handled in...
There is still the problem that Loupe Deck USB disconnection goes unnoticed
This prints nothing when it is disconnected
void HID_Input::disconnect_collection(Device_t *dev)
{
if...
Yes, you can customize fault handling.
Teensy 4 already has a default fault handler which captures basic info. You can read the info at startup with CrashReport.
Probably the simplest way to get started would...
I have an application capturing both analog and digital data up to a rate of 128ksps.
At the moment the ISR is taking too much time and making the 128ksps rate unviable for streaming purposes.
I have determined...
Is it possible to make a Teensy with ethernet adapter to give Ip-adresses to other device(s)?
I know how to do it with ESP32 in wifi mode. But can't find a solution for wired ethernet.
Thanks in advance for tips on...
It's a nice idea, and you're certainly not the only person to have hoped for this. But the reality of the underlying technology an adaptor board that provides 100% compatibility just isn't feasible. The processors on...
I've determined that at the 128ksps rate, it is basically running out of time for all processes to complete adequately and all hell brakes loose.
I added the head and tail indexes to the stream and could see that...
I took a lot of digging but I found the answer (in case someone else comes looking) at https://forum.pjrc.com/threads/67449-Teensy-4-x-Battery-backed-Non-volitile-memory?p=315138&viewfull=1#post315138. The subject...
Thanks guys. These are mostly audio applications, and are previously existing commercial products. So design or redesign of the original products is more difficult or not possible. Source code seems more readily...
From the Netherlands:
Pinging 162.254.150.250 with 32 bytes of data:
Reply from 162.254.150.250: bytes=32 time=110ms TTL=48
Reply from 162.254.150.250: bytes=32 time=108ms TTL=48
Reply from 162.254.150.250: bytes=32...
It really depends on what is used in the Teensy 3.2. As Paul said, the Teensy 4.0 is as close as he could get to being 3.2 compatible. If you only use the basic ports (first serial port, first I2C bus, first SPI bus,...
Quick note, I picked up my delivery of 4 of the Sanddisk ulta Flair 32gbs...
Looks more or less identical to what @mjs513 showed yesterday...
I did also try reformatting it on PC to FAT32 and no differences. MTP...
I have a remote installation of a Teensy 4 controlling electric motors. Occasionally, the system can crash due to a bug or extremely invalid input situations. This in itself is rare, and the occurrence with...
The solution was finally, well short, but took me long time to arrive there. Getting the serial number for every message was not practical due how the USBHost_t36.h is but with this I get the deviceID that is the same...
Are there any small boards that exist to adapt a teensy 4.0 into a 3.2 pinout?
I know the differences with various pin changes and voltage levels. And I see several projects (ornament and crimes eurorack modular,...
You could certainly use it to help convert WAV to RAW. I found this site to be helpful in terms of parsing the file format: http://soundfile.sapp.org/doc/WaveFormat/. One thing to bear in mind is that it is not a...
I'm afraid, I'm not following you. I'm directly counting encoder pulses, via the library, and not doing anything with Serial1. Since you haven't posted any code, both me and the rest of the forum can only guess at...
Many/Most of the HID drivers keep a back pointer to the USBHIDParser object.
This is passed to you in the claim_collection method.
Many use it to restrict their object to only dealing with one HID parser.
And...
Well some success ChatGPT can actually get the USBHost_t36.h from GitHub when told so, and provide much better responses This works, but still some problems
void HID_Input::hid_input_data(uint32_t Usage, int32_t...
Ok, good thanks.
The question still, when using
virtual void hid_input_begin(uint32_t topUsage, uint32_t type, int lgmin, int lgmax);
virtual void hid_input_data(uint32_t Usage, int32_t value);
virtual void...
Hi @Moo,
I'm currently using a modified version of your old code, will give a try to this new one which seems to be way better. How does it perform reading from the microSD card?
Hi Shawn,
After further testing I believe my issues are simply running out of processing time in between my interrupts at 128kHz.
I added debugging information to my data stream (going over UDP or Serial) and...
thanks for the prompt answer @h4yn0nnym0u5e,
I have one last question, would it be possible to adapt the parseWAVheader to make a WAV to RAW file convertor? I would like to give a try but maybe I'm wrong about audio...
It could be fractured solder joints or broken tracks. A weakened joint or small fracture may work initially and then open up due to temperature / humidity changes.
Or it could just be good old ESD damage. If a board is...
Interesting question. Actually I have no idea. But I can imagine that this could work since the PT8211 is a very basic DAC.
I would not be surprised if there is just an ordinary 16 bit shift-register where the DIN data...
Just 44.1kHz, same as the standard WAV playback object (which has a lot of code referring to other sample frequencies, but doesn’t actually implement them…).
Indeed it would, but it’s a huge additional level of...
For some time now I've been trying to find a way to have a continuously variable output sampling rate solution for T4.x to take the place of the ever more precarious T3.6 situation.
While adding a parallel DAC is...
Thanks @h4yn0nnym0u5e , I'll comment all references to SCOPE in audioBuffer to avoid the warnings.
The supported files are WAV 16bit with 44.1, 22 or 11kHz correct? would it be possible to change the playback speed by...
Yes, I've looked at Stefan's papers in the past. I was hoping to get around to trying out some of his ideas but haven't yet, and they're not trivial to implement if I remember correctly.
@mjs513 - Just tried using Windows to compile "DriveInfo.ino". This is with a Kingston 128G USB stick.
Fist time:
Waiting for Drive to initialize...
=== Task() Drive 0x200035e0 connected ===
>>...
Yes, you’re correct. Once a connection finishes closing, is aborted, or times out and is closed automatically, the connection is free to be used again. In lwIP lingo, these are called PCB’s. See also:...
To which circular buffer do you refer? Which library or source file?
If you run the iperf (v2) app on your computer, and the IPerfServer example on the Teensy, you'll likely see something exceeding 70 or 80Mbps over...
Hello friends,
I expected to be up in the clouds with the ultimate DIY VA synth, but instead of ascension I fell into the bottomless pit of bandlimited oscillators. Dissatisfied with the dull high-ends and aliasing...
From my original email to Paul:
Could you guys help me out? I will get it sent to PJRC if you are out of ideas.
https://drive.google.com/file/d/1PQAKS59tvtcgTyPdpVtSjnxV05DbNbP2/view?usp=share_link...
Oops apologies, I drew on yellow lines in power point in an attempt to make it more legible and decreased the legibility as a result. Here's the actual layout. The route for that specific pin goes right underneath the...