For the TEENSY GND (I also have several GNDs, which one is good ?) I wired this one :
And right next to it I have 3.3 V. Are my power supplies correct ?
Thank you for your helps
Regards
Welp, here's the best I have so far, but I think either it just doesn't work or I'm doing it wrong somewhere. At best I sometimes hear flashes of sounds, so maybe there's a bug in my sketch...
Yeah, not wearing the hp is the easy solution (well assuming I can remember to do that when i'm deep in some iteration of another problem :) ).
It is definitely happening when the code calls sgtl5000_1.enable(), because I've isolated it with...
I’m going to bookmark this thread and point to it in the future because it’s a perfect example of why including some code in one’s question will very possibly lead to a solution much more quickly.
I have found a solution: file.read() returns -1 after the SD card has been removed.
I didn't notice this previously because I was saving the return value from file.read() to a uint16_t.
So if I get -1 back from the read method, I only then...
No, the reading was being done on the main loop() not long after the call to SD.mediaPresent(), so it's not safe to call that method under normal circumstances. Again the solution is to only call SD.mediaPresent() when the card was previously...
@h4yn0nnym0u5e in regards to the slow playback start and the click sound -- on my end these are a million times better! I don't hear a click sound at all. I also took your advice and put my sample folder at the top level, and that plus your other...
I have found a solution: file.read() returns -1 after the SD card has been removed.
I didn't notice this previously because I was saving the return value from file.read() to a uint16_t.
So if I get -1 back from the read method, I only then...
Hi Paul,
Sascha here from Northern Light Modular...
We are very much looking forward to integrate the new IC into our upcoming Polymorpher - 2OCx for the Buchla format.
Right now I am looking into implement all the input and output attenuation...
Mike,
I'm in the process of updating the library to run with T4.1 native ethernet and shifting to VBAN packets so that multi-channel audio is available to and from desktop PCs.
New Ethernet Audio thread
With asynchronous incoming packets I need to ensure the packet queue is not corrupted by interrupt-driven events occurring during update() cycles.
Is cli( ) / sei( ) the best approach, or is there a less global interrupt that can be temporarily...
I'm reworking my 2019 Ethernet Audio Library (old Ethernet Audio Library thread and Library) to take advantage of T4.1 native ethernet and to align the UDP packet protocol with what's being used by other products.
While there are a large number...
@h4yn0nnym0u5e - I know it's a WIP, but I've tried switching to your branch code... and I'm wrestling with some of the changes to how loop_start works... I basically need a getPosition() that returns whatever value is expected by setLoopStart()...
Updating firmware is not a normal case, once its finished and working you stop doing it, so perhaps don't wear the headphones while uploading code? Perhaps the update is toggling some pins connected to the audio adapter leading to this, or its...
Also check your 3.3V power connection. The audio shield gets its power from this pin (assuming the unseen wiring underneath from sockets to audio shield is a simple 1-to-1).
Update mentioned above now has a fix for the glitch, too. This is not production-ready - I need to remove some debug code and check whether I've broken filesystems other than SD.
I have already checked the ground between the Audio card and the TEENSY card, it is OK but I am not in the office at the moment, I will check this tomorrow.
THANKS
I have worked on some versions of it. I believe it SD library version if it thinks you previously had media, it then asks the card
does it by asking the card for information (card->status())... Code is in SD.cpp...
If it did not previously have...
If someone happens to have headphones in their ears when they update the software, they get a very loud surprise--it's quite painful.
I know now not to have my headphones in when I update, and I'd put a warning message in with every unit i'd ship...
Try this sketch which is an I2C scanner modified so that it should see the SGTL5000 on the audio card at address 0x0A.
// 240919 Do an I2C scan which should find the audio card's SGTL5000
// at address 10 (0xA)
#include <Audio.h>...
Lots of stray inductance causing signal quality issues? - try shorter wires and bunched together tightly to reduce the large loop areas you currently have.
I have worked on some versions of it. I believe it SD library version if it thinks you previously had media, it then asks the card
does it by asking the card for information (card->status())... Code is in SD.cpp...
If it did not previously have...
@KurtE - is this SD.mediaPresent() an item you worked out?
Is the p#1 issue possible from what it took to determine card presence? Expected that files closed before calling this?
Thought it was threads.delay()! Indeed that must be used to do a thread switch and not just put the current thread in a wait loop causing the thread to 'stall' until thread time expires.
Perhaps if you store the working path in a global variable, then close the file before checking if media is present, then reopening it and navigating to the active path might help? But not sure how much time this would consume in the loop - or do...
There is now at least one MIDI 2.0 product (Roland A-88MKII, with revision 2 firmware). However this is a high-end product (hammer-action 88-key keyboard, for example) at a correspondingly high-end price ($1,266.99 at Sweetwater).
(I do...
Hi,
I did read multiple post about ADC, but for me it it al confusing. Not sure how to accomplish what I would like to do.
I'm using the Teensy 4.0.
This is what I would like to do:
- read one analog input (pin A9) at a fixed high (e.g...
Info on CAN termination:
https://www.ti.com/document-viewer/lit/html/SSZTB40
Best to keep using the FlexCAN_T4.h and not FlexCAN.h
Your code will then work as Classic CAN on can3 with the SN65HVD230 transceiver.
Hi Bill,
uOC github schematic. The loaded program, other encoder, buttons, I2C screen and DAC are working without a problem. I thought about utilizing the pulldown resistors as well but there is calibration data of the firmware on the memory, my...
#include <FlexCAN.h> // Teensy 4.1 supports FlexCAN
FlexCAN_T4<CAN3, RX_SIZE_256, TX_SIZE_16> can; // Set up CAN3 for standard CAN
void setup() {
Serial.begin(9600);
while (!Serial) delay(100);
// Initialize CAN3 (standard CAN with a...
Yes I have closed them. What does that do though? Also before I purchase a CAN FD transreceiver can I test if can 2 or can 1 works with the current setup. Also do I need termination resistors or does the transreceivers with the closed header pins...
FlasherX definitely works on T4.1 with TD 1.57, 1.58, and 1.59. I can say that for sure because I've continued using it through all of these versions, including the betas, with no problems. I haven't used T3.5 in some time, but I think others are...
Reading this goes back to lost time indicated in OP #1.
Are there any thread.delay() - or whatever the call is - to say I've done enough for now switch threads.
Long times assures a task isn't exited at a bad time - but cycling quicker would...
Hello,
I have a Teensy 4.0 and a Audio Card (REV.D), after looking the video about the example Part_2_01_First_Design_Tool_Use, I have something but it looks like a constant frequency and not the music I put on the SD card. I made the cabling...
Have you closed the terminator header pins on the CAN transceiver board ?
The SN65HVD230 is not CAN FD compliant.
You need to use a CAN FD compliant transceiver such as the MCP2562FD chip.