maybe Paul can answer this?
How would i translate:
uint16_t rtlsdr_demod_read_reg(rtlsdr_dev_t *dev, uint8_t page, uint16_t addr, uint8_t len)
{
int r;
unsigned char data;
uint16_t index = page;
Ok, seems that the Teensy library is async.
for this project, it would be more convienient to have it synchronous.
the other way, a state machine is too much work here and not easy to read the code later...
So:...
@Paul, could you please fork i2c_t3 by nox771?
His last activity on github was 2018. His (great) library needs errormessage if used on T4... there were several questions about it, in the last weeks/months
Alex, I've added a reminder here: https://forum.pjrc.com/threads/66357-Teensyduino-1-54-Beta-7?p=272482&viewfull=1#post272482
This is all very interesting!
Yup.
Ok, I think I will start tomorrow and see how far it goes.
If I get stuck I will ask :)
Luckyly, I have to take a longer break in between to fix my Motor Scooter.
The distance (9*160mm with connectors) is quite high.
Yes, using lower resitance pullups is a good idea. You could go even lower - mabe 1k?
If that still does not work, I'd try a lower I2C speed.
MicroMod Teensy <--> Teensy MicroMod
So, these are two different versions.
I have a Micromod board... didn't bother unboxing.. :) It's for the MicoMod Teensy 3.2 Luni board I didn't solder...
John: Go and find...
Its indeed the same schematic as in the datashhet.
Note the datasheet says, for lower frequencies (as we have) you can omit the output filters.. (but hey, it's just a resistor+cap) - adding them allows you to play with...
Here is a schematic:
taken from here:
https://electronics.stackexchange.com/questions/419171/pcm5102a-analog-output-level-not-what-i-expected.
I'd just use the breakout and solder it to yours...
Edit: Here is...
Depends on how much sense it makes for users to lose a lot of functionality just to have a small form factor - that with an unrivaled fast CPU.
I think many would favor a good display.
That's for Paul to decide.
I...
USB is much faster than Hardwareserial, so it receives much faster than Serial1 can send it.
You want something like
while (Serial1.availableForWrite() > 0 && Serial.available()> 0) Serial1.write(Serial.read());...
would just use the bounce library.
Since this is just about mechanics, it is not necessary to use interrupts at all. It makes no difference if you know the state of the switch within 50 nanoseconds or microseconds....
I said writing a new file is slow. Or, more exactly, opening a new file for writing is slow.
Edit: Opening to append data to a file is slow, too.
Best and fastest is to open and close a file once, outside a loop,...
Please notice, that your chunk size of 1200 is not optimal - a block is 512 bytes - so (2*512) would be better. Not sure how Bills library handles that. Perhaps it has its own buffer, so your chunk size may be ok....
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.