Unsafe for the VBat input or unsafe for the battery?
These ML batteries should be safe to fully discharge is my understanding, with the proviso that they 'only' get around 100 full charge cycles, which is fine for...
Thanks for the info. I'm trying to use Teensy 4.1 pins (I2S external microphone) 3-LRCKL, 4-BCLK, 5-RX. I assumed pin 5 was the problem when using the I2S AudioInputI2S2, maybe it's really a pin 4 problem. I remapped...
Sorry if this a repeat question. I spent a good portion of the last couple evenings trying to figure out what I'm doing wrong, searching thither and yon.
Virtually all of the hits on Google refer to specific issues...
Yes, on Teensy 4.0 & 4.1, you can remap to any digital pins, even less than or more than 8 pins if you like.
In Arduino, click File > Examples > OctoWS2811 > Teensy4_PinList to see how.
On Teensy LC & 3.x,...
I'm working with an OCTO2811 and an I2S MEMS Microphone. I have a conflict using the I2S2 IN2 (pin 5). Is it possible to remap to a different pin, such as PIN 41?
FWIW, the Teensy 4 experimental ADC code uses 4X oversampling and a FIR filter, but still lacks (useful) DC removal and the resampling to 44.1 kHz is crude rather than proper interpolation. The FIR coefficients...
AltSoftSerial does not work on Teensy 4.1. The main reason is a belief that 8 serial ports are enough for anyone (kinda like 640K on old PCs....) Likewise, SoftwareSerial when used with non-serial pins has limited...
I'm glad i found this! using teensy 4.1 with single reads of several pins assuming 4.1 had "all ADC pins work with all ADCs"
It was stopping reading when ADC1 read 24/A10 and 25/A11, swapped them to ADC0 and now it is...
Due to some fairly tight physical constraints, I need to use a fairly small battery for my RTC. 20mm, 12mm and even 10mm are all too large and I'm looking at using a 6.8mm ML621 which is a rechargeable 5mah. Rough...
It Looks like this post did solve the problem...
@pual - Can you confirm ?
I dont really understand the issue or the solution to be honest...
I will check on my Mac and update.
Update: the controller...
I think Google is the only one where I have an account. I'll see what I need to do for that. I wonder if I could put the video on my GitHub account, along with the code and demo .BMP files. I've never tried to...
Here are the 2 OSH Park links for CS42448 hardware.
Teensy 3: https://oshpark.com/shared_projects/2Yj6rFaW
Teensy 4: https://oshpark.com/shared_projects/gVFy0fWQ
ADAU1966A works with TDM output. So far only tested with Teensy 4.0 & 4.1, but almost certainly works with Teensy 3.x.
https://oshpark.com/shared_projects/O7iqdcLr
SPH0645 works, but requires a software filter to remove DC. I put an example in the library some time ago. File > Examples > Audio > HardwareTesting > Microphones > SPH0645
Edit: MP34DT01-M (PDM) definitely...
ADC input on Teensy 4.0 is still experimental and currently only supports mono. It sort-of works, but probably not well enough to be useful for most projects.
If you or anyone else wants to dive into the ADC code, I...
Thought so - but had to ask if is was near done and might line up with TD 1.54 now it is incorporated for awesome improvement - those write rates in P#33 are better than the old SD read rates.
I've had the SdFat Beta...
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 understand that, I'm not sure why INPUT allows interrupts while INPUT_PULLUP isn't, so i wanted to understand that better
If i was more familiar with the ARM architecture i would go with direct pin/register...
I suspect to be complete, for DAC's you need to separate the 3.2 (1 DAC) from the 3.5/3.6 (2 DACs). The LC has a single DAC also.
The T4.0/4.1 have MQSR/MQSL.
All of them should have USB audio to the main USB...
PCM1802 should probably link to this page.
https://www.pjrc.com/pcm1802-breakout-board-needs-hack/
In addition to the PCB error on the most common breakout board, the FSYNC signal has been a confusing point.
So pinMode (pin#, INPUT) doesn't interfere with the interrupt config? it would be best practice to set the interrupt at the end of the setup?
I have problem which relates to the hat switches (which is why is asked...
I have no idea if it works or not, but one thought might be to use the USB host support, and connect several USB to serial converters to a USB port. If you need more than one, presumably you would need a USB hub or...
I have used NXP UDA1334A with T3.6 and I'm currently using TI PCM5102 with 4.0
Simply using the AudioOutputI2S object and not connecting the MLCK signal (They generate it internally) :)
I have a video file (MP4) that I want to post to show PXP usage in slide show transitions on an ILI9341 display.
How can I add this video to a forum post. The .mp4 fie is about 2.5MB.
The <insert video> button...
Release of SdFat is not related to Teensy. I like playing with Teensy but the overwhelming number of users are on other boards. Most of the mods in 2.0.5 will be for other systems.
I will be adding more support for...
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...
Also I am trying to use this library on a Arduino Nano,
Using the same processor like the UNO , thought I could use pins 8RX and 9(TX).
But it does not receive anything most the time. If I put the oscilloscope...
This software worked like a champ after I changed my wiring to CAN1 on the Teensy 3.6. I'm using the Teensy 3.6 DIN rail adapter, and the Waveshare transceiver. I'd say this setup is one of the hidden GEMs in CAN...
Finally, 5 months(?) after ordering on Ebay, 2pcs Philips TDA1543 in DIP8 package showed up in the mailbox today. TDA1543, not the TDA1543A.
The TDA1543 accepts regular I2S format, the TDA1543A accepts left-justified ...
The hex lines below from a T3.6 hex file show the 4-byte record at AD78 that breaks the 64-bit alignment. Further below are lines from the symbol file. AD78 is .fini (language cleanup code), which is followed by...
believe it or not I ran out of Ser ports and need a soft serial.
I heard great things about AltSoftSerial. but there are not specs for T 4.1.
Does it work on it?
Thanks
Any pointers on how to modify the library to run at 400kHz? I am trying to drive a run of 60 APA106 LEDs with a Teensy 4.0 (via a 74AHCT125) and the last 15 are flickering significantly. I can duplicate the flickering...
Hi everybody,
I hope this is the right place - I put together a simple sine wave generator sketch for Teensy 3.5 that uses two DMA channels to output a sine wave through DAC0 and DAC1. Simply attach your output...
Great news Paul - big difference supporting a known system with (fixed) BOM for in house builds - versus supporting a generic range of items like FLASH chips.
@Bill Greiman - is there a feel for the coincidence of the 2.0.5 b1 timeline being weeks away from release that might coincide with TD 1.54 for use as SD.h ? ... both of course being unknown? Or is the new sdFat beta...
Unfortunately, your circuit diagram illustrates a major problem with direct connection of Wheatstone bridges. They often present several K Ohms of impedance at the ADC inputs. This can slow the response of the circuit...
Thanks for letting us know, Frank. That's good news. I'd like to understand why the hex files always have the same pattern of record lengths ...16,16,16,8,4,16,16,16... There must be reason those records of length 8 and...
I have posted the mods to the Teensy SDIO driver that allow fast simple loggers and the ring buffer for use in SRAM_L/SRAM_U on Teensy 3.6.
Try the TeensyDmaAdcLogger and TeensySdioLogger examples.
Enable this...
It is a digital equivalent of a "potentiometer". The encoder library will tell you which direction and how many pulses (think clicks) it was turned. You get to do the rest. By the way, if you want impressive looking,...
I posted a new version of SdFat-beta with the drive strength mod. It also has two examples that demonstrate new features in the Teensy SDIO driver.
Try the TeensyDmaAdcLogger and TeensySdioLogger examples.
I posted SdFat-beta with the new Teensy SDIO driver and two examples that demonstrate fast data logging using the new driver.
Try the TeensyDmaAdcLogger and TeensySdioLogger examples.
Thank you, so I assume that this will do what I want, which is to be able to dial up a comm or nav frequency?
Not sure what the difference is between this and what would have electronics?
Were you able to also...
Great stuff! It works with my file 8120 lines x 16 bytes = 129920 bytes code size flashed with no problem.
Code seems to work as expected, will test and report.
Joe thanks for making this work. now we have a way to do...
Yet another update... doing more testing. This morning I found (and fixed) a timing issue with initializing the flash chip's non-volatile status2 register. This is another place where the Teensy test fixture...
just changed the 10k to 110R and now its working, gonna change my new boards to 5v but for now 3.3 works
regarding software controlled trs control, it would be awesome, i read in the stackechange post something about...
I have not updated UsbFat for six years. I have been meaning to add an example of USB storage to the current SdFat. This example shows how to use any block device with SdFat.
The driver uses a USB shield library...
Earlier posts on light-sensing with LED,
https://forum.pjrc.com/threads/40001-LED-as-a-light-sensor
https://forum.pjrc.com/threads/28407-Teensyduino-access-to-counting-cpu-cycles?p=116332&viewfull=1#post116332 LED RNG
Update
Ha! It happened with the WS2812Serial-only (no FastLED) version too.
That restricts the search quite a lot and probably exonerates FastLED.
Luca
Hi everyone,
I've developed a library for Teensy 4 + Audio Adapter board, based on FastLED + WS2812Serial and built a physical project on it.
Code, photos and detailed documentation is here:...
JayShoe, thanks! I just picked a free gpio near where I could route my greenwire to. For ease of routing I will use a pin on the other side of the I2C pins when I revise the board. I think the TLV320AIC3206 uses 21,...
Here is the calculator code if anyone is interested.
It can be imported by Import-JSON
(don't forget to uncheck the Replace Flow checkbox if you just want to import it into a existing design)
...
Looks like you may be wrong on this one ?
Tried that and all I get is "C:\Users\peter\.platformio\packages\framework-arduinoteensy\libraries\XPT2046_Touchscreen/XPT2046_Touchscreen.h:46:7: note: candidate expects 0...
Pretty sure the TLV320AIC3206 driver (and board) uses pin 22 for reset. I noticed that on your schematic when you posted earlier. I meant to check to see if the reset pin was required, so I could warn you, and I...
Any use of pinMode will do this. It completely reconfigures the pin, overwriting the previously set interrupt config.
Maybe pinMode should check for this case? I'm also considering adding a pinModeFast function,...
Snippets are usually a distraction - better to have the whole code posted if it can't be cut down to a smaller sketch that effectively shows the problem - that's why this :: Forum Rule: Always post complete source code...
Hi Paul,
Thanks a lot for the answer!
the code didn't compile because it is a snippet from a very long code... i didn't want to clutter the post.
I did found out what the problem was. I would be happy to...
Yes, my Siglent 1202X-E has issues in that area. That's what I emailed them about.
I'm expecting that when I keep the signal within screen limits, I'm not overdriving it. But the pictures below tell a different...
Hey Everyone,
Brand new Teensy user here, just getting to read over the examples. Looking to build a basic USB switch box with switches, and rotary encoders. A few questions:
I see the Teensy 4.1 board is 3.3v...
Flasher3c.zip is attached. This update accepts the as-built Teensy hex files and so avoids the need to pre-process to get 64-bit aligned hex records for T35/T36. The differences from Flasher3b are (a) flash and LMEM...
I've added a webserver to the code to make it easier to get data from the NTP server. /state.json from the teensy returns the following structure:
{
"ppsToGPS": 396, // milliseconds between PPS timestamp and...
Hi support,
How are you?
I am trying to identify a board that I can use for MDIO testing with external PHY.
Can anybody guide me if such board is available with 1.8V MDIO clause 22 and 45 driver support?
...
I made some more progress, thanks to the contributors who have already written Audio library code for the TLV320AIC3206. Many of the register names and sequences appear to be the same or have similarities with the...
I believe the that library supports changing which SPI on the begin method...
That is if you do something like:
XPT2046_Touchscreen ts(CS_PIN, TIRQ_PIN); // Param 2 - Touch IRQ Pin - interrupt enabled polling
......
Latest update includes:
* Settings tab categories can have individual colors
(hardcoded but easy to manipulate in code)
* Project Tree View is now functional (except it don't update when adding/moving a...