..any you may alos want to look at pulseClock with just uses a "nop"
#define pulseClock cbi(P_SCK, B_SCK); asm ("nop"); sbi(P_SCK, B_SCK)
That's way too fast, I think.
Maybe just edit the cbi and sbi macros and...
Thanks! Typo fixed, and outputs added.
I won't add links to products or breakouts.
Or what do you think?
Some PDM(/TDM??) microphones are missing.. haven't used them
I have started to make a list of supported chips / boards.
I do not think that it is complete.
Maybe we can expand it together?
If you don't feel comfortable editing in the wiki, you can also post here, I'll expand...
Can you measure the voltage there? (Without your wire connected)
Take a look at the Teensy schematic. Vin (on the board it's called "5V") is directly connected to USB. So you connect the PSU with your Dell, if you use...
Thank you Pauls
The AD is 1MSPS.
That was known back in january.
I've seen to late that you'd need 10MSPS.That is too much, I don't believe that you can overclock it that much.
@Pauls: Thank you - fixed, I hope?
@Deane: If you want the whole procedure exactly as shown in your picture, it gets a little more complicated.. I don't see that you can program that.. This is not meant in a derogatory...
Ok, the 2nd puls (code from Post #8) might be little too fast-.. maybe try it.
If it does not work, we'll see how to make it a little bit longer.
Edit: There is a gap between both pulses. Seeing Post#12, that gap...
The for (;;) is a loop (inside the loop())
It is there to prevent that additional things are calld (not visible in your program - teensyduino adds them, invisible)
SO...no...it runs !faster! with for(;;)
Edit:...
That's right. You should disconnect it. If the voltage comes from external.
Are the wires OK? I had more than once problems with faulty, cheap china wires..
If you have a DVM you can test if the pins on the 74 have...
1) It does not work to just plug the pins into the teensy.
They give no - or very bad - contact.
You need to solder them.
I see no solder on 3 (or is it 5?) Volt +
If hope not both, USB AND external 5V are...
Valid argument!
Nothing of this would be impossible by just an other blink that gets executed by Python or whatever.
It would be *preloaded* only. Removing it would be exactly the same as overwriting the...
Form the pure technical standpoint maybe yes.
Try to find a youtube influencer that promotes it :) Doesn't it use the reverse polish notation (Or do I remember wrong)? "(A+ B) * C " is "A B + C *" ?
I'm afraid,...
Yes, I remember there were articles in some magazines, including ELEKTOR about using CMOS memories as camera.
It is, however, interesting how good a simple LED works as sensor.
Not sure.. if this is what you want?
const int ledPin = 13;
const int fastPin = 14;
const int fasterPin = 15; //added
const int ns = 78;
void setup() {
pinMode(ledPin, OUTPUT);
RE: Oversampling: I see no reason why it should not work with other Chips, too.
But it would need even more switches or output-objects... so ... maybe it's better to just keep it simple?!?
If we want to clean these...
So, real question : Is there a way to use the builtin LED on pin13? I suspect, not, because we can't charge the capacitance? Or is there maybe any other effect that can be measured?
No you can use any pin.
Important is just the direction of the LED. You need to swap "+" and "-" measure the capacitance this way. The "capacitor" discharges slower or faster depending on the amount of light.
The...
... ok.. I guess it was too easy.. again... my last question of this kind (turn speakers on) was answered in record time, too :-(
const unsigned p1 = 17; // LED-Anode
const unsigned p2 = 16; // LED-Kathode
...
I'm afraid currently there is no good solution for more than 16MB RAM.
One could come up with the idea of simply using multiple (more than 2) PSRAMs on QSPI. But that's difficult because they would need multiple...
You can add this functionality to your program.
Thats even better than to have it in the PJRC-bootloader (and other people may not want it)
You just have to make sure, that this part is íncluded to the program on SD,...
Oh, I think it's not too difficult to write some code that loads a program from SD to RAM and executes it there. Might involve reserving some space in ITCM (via .ld file), some stack tricks, fiddling with the...
Did not "crush it down". Just said that I think that it is not really needed. There are TODOs with much higher priority.
Can Raspi do what Teensy can? :) Work without SD? :) Boot in a few milliseconds?
That's a...
Please use code-tags when posting code.
How do you measure this?
I had problems getting my cheap scope to trigger with your code.
I think you just did'nt see the pulses.
The code below works better:
Don't...
Sorry too late here - almost midnight - have to work tomorrow.
Again - this is a shot into the blue. I don't know if it is the problem - but for me, it seems not too unlikely.
I can be totally wrong, of course.
...
Don't know...
And I can't find the old thread :-(
I remember the SD Spec says, the pullups are required. I guess the controller thinks they are there...
The patch was a workaround. And it took me a long time to...
The reason for this is patch is a bit complicated.. If the connections have no pullup, they can toggle when the interface pauses. Maybe beacuse lines in the near toggle.
The chance that this happens may increase when...
Yes the same thing happens.
Maybe it's the same problem as here: https://github.com/PaulStoffregen/SD/commit/cea34a24d81072ba91e47331cea9176826a6cfae
SOmbody has to take a look... don't know if the SD Controller...
Yes and there are more examples.
I think it can be useful for bit-banging, too, sometimes.
Just in cases where you need to control the exact timing.
However, that's not often the case.
Hi Paul,
i *think* the I2S slave-input works now, too.
I have some problems with my hardware.. need to check the soldering of the microphone or have to connect a line-in somehow (I never use the input)
I've just...
I added DIE:
https://github.com/FrankBoesing/cores/tree/hardfaults
void setup() { DIE("I felt it was time."); }
void loop() {}
resets and prints:
sketch_jan17a.ino
I have an Idea.. I could extend the Hardfaults for a kind of "user" exceptions.
It would need a macro that prints the userdefined text together with the GCC macros
__FILE__, __func__, __LINE__
It would work like...
That sounds like a good plan.
Perhaps I can add the SPIFFS then, too.. in a few months.
Actually, it should be possible to integrate USB drives, simple network file systems, etc. with it...
I guess we need Windows-like drive-letters or devices..or canonical paths... ?
Like "//littlefs/flash0/MyFantasticFile.txt"
But, really, I don't know what the plan is.
Edit: With "SD" as default - "Builtin" for...
Hm i did not read about that, but I thought FS.h was a wrapper for all kinds of FS?
I guess it just needs an info which FS is used.
But I have _no_ knowlage about all this stuff. I wait for someone who writes a...
I just saw that - if no DMA channel is available, Teensy just hardfaults.
If there was a intention to put the hardfault handling into the core, i'd try to add something like printing an errormessage for problems like...
Ooops sorry, that was for T4.
There is nothing on T3 that would blink after 15 sec.
So,
1) Disconnect USB
2) Press and hold the button
3) WITH BUTTON PRESSED, connect USB.
A new sketch schould upload now. Try...
:-)
1) Press the button 15 seconds - until a short blink
2) Release it.
It should blink now and be the state where it was brand new.
or connect 3.v3 volt to Pin 29.
You can hide a software-serial into the blink.. if fast enough it wouldn't be visible and look like "LED ON" but with a optical link you could see debug messages ;)
Ok, just a dumb idea, ignore it.
Danke :)
Hab grade die ersten Beiträge überflogen. Also der Teensy 4.x kann ganz sicher eine sehr hohe zweistellige Anzahl von Stimmen :)
Irgendwer schrieb mal er würde 15 samples aus externem Flash gleichzeitig...
Oh man... why does everything have to be in English. Why are papers by Germans published exclusively in English, and then have to be translated back by other German readers... grrr :)
We pay taxes... ;) I see it...
Why were these tweaks needed? Does it not work without? Do I have to take that into account somehow? I did not test EQ, surround and volume ramping (and at the moment I can see no reason why they should'nt work)
Not really.
It just makes sure that the CPU resets as soon as possible. Otherwise it can happen some cycles later. If you want to be on the save side, add the "dsb".
It has to do with very technical details, pipelines...
I don't know, too.
Maybe connect LEDs to 18 and 19 and test the pins.
btw, this is their schematic:
It says 4.5V minimum, too :)
And, at the moment I can't find the I2C voltage mentioned.. edit: oh found it.