Resampling for inputs is a good thing.
Have measured how long it takes? (cpu usage)
How much memory does it need?
Would it work if I set the sampling rate of the library to 48k (or perhaps 96k) ?
Could the code...
Because the pins are needed for other things.
Usually I2C chips support different adresses, so for most applications three busses are enough.
Other things are important, too.
thinking of the 2nd row.. i had the idea, it could be a (oh my english..searching for the right vocable.. ) mouser says it is a "Card-Edge-Connector" (German "Leiterplattenverbinder")
First row - normal, pinheader -...
I like the double rows, too.
The "problem" with the double row is, that soon there will be users who solder both and place the Teensy into a breadboard and wonder why there is smoke or something does not work.
Perhaps...
I hope we don't need wireshark..! But it is a nice find. Thanks!
The sourcode of librtlsdr is available (see Post #12) - I hope that it is enough.. at a first glance it looks ok, and seems to have all info.
It...
Maybe yes.
Or, perhaps the manual is wrong about the default. There are several things with wrong info... i.e. the all the PFD had wrong values at least in rev 1.
Don't trust the printed defaults.
The IGP is already running with 150MHz.
Not sure about the GPT frequency (would have to take a look..)
The clock diagram on Page1016 (Rev Manual V2) say it can be switched between IGP and 24MHz with CSCMR1.
Perhaps...
Should be doable, but need some little changes to the core files... maybe Paul Stoffregen reads this and adds some macros...
Edit: The Teensy loader will not find it anymore but there's the 15 sec reset that erases...
I hope I understood your question right... maybe, not...
I don't get what this has to do with the bootloader, how a bootloader can help to remap inputs, and what the bootloader should do exactly. Can you clearify that?...
Yes, the signal quality is good.
Edit: In Europe te least, GSM can be at 900MHz (parts).
Air traffic is in the >100MHz Range. Transmitting an ILS signal would be not a good idea ;)
In fact, it's both <- that was with a Teensy 3.2, many years ago (turn on Audio).
All pins disabled.
Single pin: With T4 and using 5cm wire, I can receive it with WFM in best quality HIFI stereo 10 Meters through...
Arrived today. Well. China.
Its defective, shows stripes on the left side and some more issues like bad colors.
Lets see if they send a new one.. :)
Its good enough to do some tests with VGA (when my PCB arrives)
@Mark: Great! Thank you.
Can you repeat this with FPU usage, and I2S enabled? (don't know if the if makes a difference wether there is a load on the pins or not.. maybe try with audioshield added?)
My DAB Radio 2...
Hi Kurt,
it prints this:
USB HID Device Info Program
This Sketch shows information about plugged in HID devices
*** You can control the output by simple character input to Serial ***
R - Turns on or off...
please not.
A optional extra shielding, housing would make sense to sell... the faster Teensies more and more become a transmitter.. a lot of EMI :)
Try to use a DAB radio in the same room! (a little...
The new Stick arrived sooner than I thought.
Attched the output from Usb Device Tree Viewer.
Interestingly, it does not show the IR Recceiver (but it must be there).
...Linux says, it is "usb-storage" (but it isn't)
frank@frank-lubuntu:~$ lsusb -v -t -d 1d19:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/12p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface...
LOL :)
Ok, if you want to use it for other things than FM you'll need different Antennas etc. , and for lower frequencies a little hack to the hardware is needed (Or a frequency shifter)
But FM works good without...
Kurt, yes, RTL2832U & R820T looks good.
The dump i posted above is from a different one (has a different "tuner"-chip ) but I've oderd the one from the Amazon link I gave above that will arrive tomorrow.
However,...
https://www.amazon.de/gp/product/B07DJT5NHD/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
It is intended for DVB-T, but there is a lot of Linux and WIindows Software (try "Airspy-SDR#") that uses it as SDR - it...
Yup, but the receivers with RTL2832 first (even if they have a "RTL2832" they have different additional chips but I think I can handle that when the communication is working.)
I can send you a link if you want. I'll...
Ok,
an easier question.
If I want to support a new USB device for the USBHost library - where do I start? Which are the first steps?
I've attached all info as Windows sees it.
My Program should not only...
It's for a DVB-T stick, used as a SDR.
Yes, I sometimes followed these threads - but have no Idea what is supported and what not.
It would be more for the T4 - don't think 3.6 has enough power. And it is 480MBit...
I never really wanted to deal with the USB stuff, but for a new project I can't get around it.
I want to port a PC software to the Teensy.
It uses libusb:
libusb: http://libusb.sourceforge.net/api-1.0/
API:...
@Defragster, wasn't that thing I did with a DIE() macro?
@MeeBoob - Yes, I played with unwind-tables, too, not very successful.
I hope you have more luck!
Dont know if that has changed lately but in the past their libraries had horrible bad code... :)
I once saw a graphic driver and other libs and i decided not to spend time with this ... ok that was a few years ago.
The way is to simply add an extra jack. Whatever you do - never connect the jacks GND to the normal GND. If you really want to go that way, cut all three connections.
I partly agree. Teensy needs more pins. Not because one needs all pins, but because of missing functionality.
Then the question I would like to rise is, if really anyone needs 8 Serials... or which percentage of users....
@khoadley, if you look at the schematic - for Teensy - it seems you need to provide 3.3V to "VIO" (do NOT close JP7), and in addition the board wants 5V.
They even have connectors with inbuilt electronic ... filtering and EMI protection...
amazing!
It's a bit expensive.. I think If I can find it somewhere, I'll order one and build an adaptercable.
Found some great PDFs in German, from Würth Elektronik.
They say VBus (5V) should have a ferrite.
More advanced designs they propose have pretty complex schematics, just for the connector - with a lot of parts...
Ok, on the Teensy 4, the 2 pins are just connected to GND.. I assume one is the GND wire in the cable, the other for the shielding?
So, that seems to be OK.
Sorry, I'm talking about the schielding of the cable.
The usb cable has GND wire, and a shielding that must somehow be connected to GND, too.
My Question is: Is the cable shield connected on both ends to GND? If,...
Thinking of ground loops, EMI, etc:
A question re: USB Host
Should I connect the shielding of the USB Connector for the HOST to GND or is it better to do this not?
Is there a difference with Teensy 4 and Teensy 3?
...
Directly, no.
But you may ask the friends in this thread: https://forum.pjrc.com/threads/43165-Over-the-Air-firmware-updates-changes-for-flashing-Teensy-3-5-amp-3-6?highlight=flashing
You can't write the bootloader.
You can write to the teensy-flash,( but not to the bootlader )
That works with a normal Teensy - no extra booloader chip needed.
I've patched the denom value,
and added a search for the divs - now, more frequencies are working (if not all - tests needed)
Edit: really amazing that the PLLs work with up to 1.3GHz - tell this an AVR user..
Thanks!
The reference manual says not any word about this. (only that it can be 29 (or was it 30?) Bits wide) - I'll test if it makes any difference. As said.. the program works .. so i wonder if there is a difference...
Hi,
AudioProcessorUsage() does not take the time needed for the DMA ISRs into account.
Some need quite a time (like S/PDIF emulation on Teensy 3.x).
I'd suggest a function like update_all() that informs the...
You may have seen setup() and loop()
Forget that.. they are just functions.
its something like
void setup() { your code here }
void loop() { your code here }
void main() {
First of all, you should think about what you actually mean by "memory management".
Since you obviously know C, you know that there is at most new/malloc/free - and there is the stack, variables and pointers, RAM and...
You don't want 44100Hz... there is no divisor for it.
Try 44117,64706Hz (there is no audible difference)
As said above: It works. As it is :) I'm aware that it fires twice.
Which Teensy are you using?
Teensy 3.x with Audio Board Rev A to C uses pin 22 for Audio you use it for the LED.
Teensy 4.x with Audio Board Rev D uses pin 20, and 21 for Audio.. which are DC and CS in your...
Hmm... not an expert here... electronics noob, still :)... but... this this sounds a problem with the current?
Is it worth to try and add a buffer-capacitor?
No, my code works.
Maybe do a copy&paste.. or try the transmitter as a whole.
May I ask what you're tryong to archive? Must be something with frequency modulation, too...?
Hm,
no, for the SD it's always the same pinout (for clock)
SPI-Mode:
Not sure what it could be.. it's not audible, at least for me...
@Pauls (from Netherlands): If you're reading this.. have you tested this?...
Yes, use more relaible connections - plug the shield directly on the Teensy - , don't use these china wires ;)
As Pin 44 is the SD clock pin, SPI wouldn't help.. needs a clock, too.
Or try the SD on the shield?
We...
Take a look here: https://github.com/FrankBoesing/TeensyFMTransmitter/blob/main/output_fm.cpp#L159
Similar to yours... uses the timer @ audio sampling rate and uses the triggered dma to write to the video pll.
...
Just store it on SD? The waveplayer can play wav-files.
Maybe together with MTP.
You can record them in RAW format too. Maybe to SD, also. Or to PSRAM, or... wherever.
If there is no ready to use player, it's not...
Yup, I tried, but could'nt get more usable data to print.
At least it prints that something bad happened and what kind of problem it was. With a bit digging, it is possible to find where it was, because it prints the...
No offense, really! - but usually "no response" or "no statement" means that something is unlikely to be adopted :) So, I don't spend more time for this. The weather is good - I enjoy the sun.
In fact, I really don't...
also, for flash, perhaps just add the numbers for "data" and "headers"... the information "headers" is not that useful, i think.
Also, "free for files" is not correct. is can be used for code and data , too - same for...
I think two blank lines and a little formatting would make it clearer.
"C:\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-objcopy" -O ihex -R .eeprom...
Yes.. things like these are fun.
But for me, it's not that interesting. In addition, the VIC is very tricky. It has to be cycle-excact to be 100% compatible - I have it working in the emulaton, but for 3.6 I had to...
...not more.
I am quite disappointed and frustrated with this Si4735 stuff. This happens to me very very rarely.
After working wonderfully for a short time, it is now pretty much "dead". I2C works, but there is no...
It does not want 44.100 Hz :)
But this works (with the library mentioned above):
tone(0, 32000); // Output 32kHz on Pin 0 - connect Teensy Pin 0 with RCLK on Si4735
si4735.setup(RESET_PIN, -1, FM_FUNCTION,...