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,...
Maybe there is nothing against simply using the 44.1kHz I2S Framesync for this as well. That would be a good opportunity!
I soldered the pins to my Si4735 board, and put it on a breadboard. I have the I2C...
So, you're using the DAC for ultrasonic sounds?
Have you tried the PT8211? It's capable of 384khz (according to the datasheet) and cheap.
The bats will not notice that, I think..... (otherwise...RUN! :)
Yes, exactly this :)
In the mean time I read the datasheet - it does not have to be 32768Hz - it takes almost anything.... like 4MHz or so... you just have to tell it the frequency.
My Chip (yes, akmodul-bus) arrived...
It prints that :
Der Sketch verwendet 0 Bytes (0%) des Programmspeicherplatzes. Das Maximum sind 8126464 Bytes.
Globale Variablen verwenden 0 Bytes (0%) des dynamischen Speichers, 524288 Bytes für lokale Variablen...
I'm not a hardware-guy, too. And I have not enough practice with creating PCBs.. maybe I do 3 different in a year.. and.. 70% of the first run have a mistake somewhere!
But from china, that's not a big problem.. paid...
All information is in the reference manual.
But more important: WHY? and WHAT do you want to change? It would help to know that, and maybe we can help, then.
Is that now about the SGLT or HiFiBerry?
If you have crackling noise other effects with the Audio Board, there is something wrong with your hardware...
Increasing the Audiomemory does not help... the additional...
As said a few posts later, I don't think we can simply replace the size-tool. The builder prints a defined text and gets its data by using the regexs on the output.
So we need an extra tool - but then, we don't need to...
Thanks :)
What do you think?
- The analog joystick + Fire is on a extra connector.
- 3 Buttons "on board"
- C64 Joystick connector,
- Big connector is for all signals but VGA + I2S
Schmatic attached
I klicked on your link and just read the heading "Driving 5 speakers".
I think you can do that by simply using the PWM outputs... ( analogWrite() )
Or tone()