You might try adding 2.2K pull-up resistors between each of the two CS pins. A pull-up resistor is connected in parallel between the pin and 3.3v. This comes from this page of how to make better SPI buses:
...
It might depend on what you are trying to connect to the line out pins. Here is an extension cable that has the missing pin:
https://www.newegg.com/p/2BX-001W-00005
The pins are arranged in a standard 0.1"...
And you also can get into problems if you use an unaligned pointer to load up multiple bytes. As I recall there are a few bytes in the Teensy 3.2 address range where doing an int load just does not work.
And there...
Note, the original post is about the Teensy 3.2 and the audio shield SD card.
I suspect that with either the built-in SD card or flash memory using SPI quad that it would be much faster. Ultimately, both are just...
I had signed up with NXP in order to get the 1062 datasheet before Paul made it available on PJRC.COM. I just got mail that NXP's buyout of Marvell is nearly complete (evidently it will be complete on December 6th). ...
Unfortunately, the Teensy 4.0 does not have a reset pin. If the OTA uses the USB programming, then you could tie a pin to the program pin (or you could have whatever microprocessor is doing the USB connection assert...
Well not everybody is comfortable with connecting such things. Like everything, there are always trade offs to be made. The more you go to smaller connections it can reduce the number of potential buyers.
For...
If you aren't afraid of a little soldering (both through hole and surface mount), you might want to check out this board designed by trainer4edu/frdm4236. Note for USB host, there will be extra pins for the host pins,...
Be sure to use a fast SD-HC card for your tests. Also format the card just before doing the test so the filesystem is not fragmented.
I'm not sure whether the software or hardware support SD-XC cards (i.e. >= 64GB)...
Note, the pinout for the audio shield is completely different for the Teensy 4 than it is for the Teensy 3.x processors. Without doing a lot of rewiring between the audio board mounted separately and the Teensy 4.0,...
I have the W25Q128JVSIQ (128 megabits, 16 megabytes), but I suspect there may be similar issues with other flash memory chips. But if you are soldering the chip on the audio board, you have to use an 8-pin chip.
...
I've tried before and I didn't get anywhere. I tried the Teensy 3.6 and it did not work. I also tried the Teensy 4.0 using the beta audio adapter that allows a T4 to use revision A/B/C audio shields with no luck. ...
It would be nice if you can pull in the fix for teensy4/imrxt.h and the WS2812Serial library from KurtE to get WS2812Serial to work on the Teensy 4.0:
...
Paul, out of curiousity, have you settled on what pins you are bringing out, and the pinouts involved? Would you be bringing out the pins currently underneath the Teensy similar to the various breakout boards floating...
It is a shame that the loglow/talldog board hasn't progressed to retail sales at this point:
https://forum.pjrc.com/threads/57122-Teensy-4-0-Breakout-Kit?p=211992&viewfull=1
On some prototype boards, the rows...
Bear in mind names like TX/RX or DIN/DOUT can be tricky as it depends on whether you are talking about the processor side (where TX/DOUT represent the output TO the device) or the device side (where RX/DIN represent the...
Well Paul would have to answer questions of the design constraints of the audio shield. But in general, the audio shield's primary mission is to control and output audio data. Note, the original audio shield was...
Note, in terms of SD card writing, the built-in SC card reader/writer of the Teensy 3.5/3.6 will be much faster than the SD reader/writer on the audio shield. This is because the 3.5/3.6 built-in card reader uses...
As far as I know, the only way to connect it is to connect it with a push button that when pushed, connects to ground (i.e. similar to how the reset or program buttons are in the 3.6).
It isn't quite the same thing...
Sigh, I have the worst luck with soldering. As I mentioned, I soldered the first board, trying to solder in stacking headers by having some space between the header and the board. It didn't go so well, so I cut off...
So what makes the Gravitech better than the other stacking headers? From the mouser page, it looks like they only come in 8 and 6 pin headers, and were originally made for wire wrap? From the sizes being 6 and 8 I...
Oh, and I just tried the Sparkfun headers (2 13-pin stacking headers + 1 7-pin stacking header), and I must say, I prefer having two 14-pin headers, and then using a normal 5 pin female header instead of a 5 pin...
One thought that I just had is perhaps an IDE option that would build an executable image that includes the Teensy download module and the current ELF executable encoded in some fashion. This executable should depend...
I suspect the boot loader CPU does not have access to the SPI, serial, or I2C pins.
For hackers with a single board, using a Pi Zero W (or Pi Zero if you don't need wifi) has been talked about in the past. It is a...
I noticed Adafruit recently added a set of stacking headers for their ItsyBitsy processors that use two rows of 14 pins with one row of 5 pins in the back. That seems like a familiar size. :cool: In looking at the...
As I mentioned above, I had the same issue with pins 24-33 not being castlelatted. I put in another order after FRDM4236 redid the design to add some copper to make it easier to solder both sides, and it came out fine....
If the scanner shows nothing and seems to hang, that is a sign you need pull-up resistors. Many I2C devices have pull-up resistors, as does the prop shield or audio shield. But not everything does, and you also might...
In the Teensy 4.0 the direction and pin number is fixed. I.e. you have to use pin 0 for input and pin 1 for output. In the Teensy 3.x systems, there are additional pins that can be used, but these also are fixed in...
And this might be an even cheaper build. It is basically a microphone and a cheap 8x8 i2c display with 2 colors. Note this was written for an Arduino, but it should carry over to the Teensy. The one thing you may...
Yes it goes to the display, but it shows how to get the input. You would have to change the display part completely to do LEDs instead of a screen.
Well yes and no. It is mostly for processing and playing sounds....
I've not used the quad channel stuff. Note, you would have to change the I2S pins from the Teensy 3.x pinout to the Teensy 4.0 pinout. I.e.
Instead of pin 9 for BCLK use pin 21/A7;
Instead of pin 11 for MCLK use...
I've seen this on tindie.com that gives you a switch for the power:
https://www.tindie.com/products/ManiacalLabs/usb-switch-buddy-kit/
You can also build your own version with some DIY USB connectors:
...
Or two pins, on the left side USB D-/D+, and the right side VUSB. Dunno for the 2nd pin, but having VUSB next to VIN is helpful if you want to put a switch to turn it on/off, or possibly connect a lipo battery charger...
As I suspected earlier, when I saw the lock up, with the pixelss all plugged into 3.3v, it was just about to display white (0xff, 0xff, and 0xff) to all 64 pixels (i.e. all white at maximum intensity). That is what...
Note, I didn't bother with the level shifter, I just powered the two neopixels from 3.3v as these rings seem to be ok with 3.3v. Maybe it tripped the fuse. I need to get off to work. Tonight, I'll break out a level...
If I use the stock imxrt.h from Teensy 1.48, I don't get any LEDs being flashed. If I just use the imxrt.h file and not the other files from the teensy4 directly like I did previously, it still hangs sometimes after...
Unfortunately it only works partially.
I first setup a Teensy 3.6 to run BasicTest using Serial 1, and hooked up 2 32-LED rings for 64-LEDs. It ran fine.
I then created a new directory with KurtE's WS2812Serial...
Ummm, that is incorrect. Since the original 1989 ANSI/1990 ISO standard of the C, the int type has always been allowed to be 16 bits.
In fact the original machines that Dennis Ritchie used to create the C language...
For just sound playback (but not other processing done in the audio chip or PT8211), there are other possibilies:
Just a plain I2S output device. I bought this, but so far I haven't wired it up:...
The hardware has some optimizations for the main CS pin (10 for the first SPI bus), but unlike the Teensy 3.x processors (with 5 pins), the optimizations don't seem to help as much. I'll let the display/SPI experts...
You have the reset pin connected to 3.3v (and set to 255). I would try to use a real pin for this, rather than just connecting it to high voltage, and let the library reset the display.
I've had some physical things...
According to the SPI guide:
https://www.pjrc.com/better-spi-bus-design-in-3-steps/
Two hardware related issues are:
Add pull-up resistors for the CS pin (and D/C pin if used);
Make the MOSI pin for the...
Yes. For each of the two audio boards, you should not use the pins used by that audio board for anything else, with these exceptions:
You can use the I2C pins (18/19) to connect to other I2C devices that don't...
Yes, the digital pins (0 - 23) are the same, as are the analog pins (14 - 23). The primary I2C pins (18 - 19) are the same. The pins for the first UART (0 - 1) are the same. If you don't use the audio board, the 3...
Ummm, I suspect you are going to need completely separate boards between the Teensy 3.2 and Teensy 4.0, unless you can only use the pins not used by either 3.2 or 4.0. Differences include:
The only serial UART that...
I wasn't part of the first round of beta testers, but I would like to be added to the current round if you have room. Let me know what specific parts I would need to order (presumably from digi-key).
It sort of depends on what you want to do. The most typical way is to use digital I2S and let the I2S device generate the sound. And for the Teensy 4.0, the main method it to get the version D audio shield and just...
The ISO C/C++ standards say that in an arithmetic expression, 'short' and 'char'' values are promoted to 'int' (*) and then the normal rules of arithmetic promotion is done (i.e. if in a binary expression, one side is...
I had forgotten about this thread, until I found it searching for something else.
I did buy the flash memory and the Sparkfun adapters. I was able to solder one flash memory to the Sparcfun SOIC-8 card and another...
Note, if you are using a prop shield, you would need to set pin 5 HIGH in order for the prop shield's amplifier to work with a speaker connected to the -/+ pins at the front of the prop sheet board. If you are using...
Phillip Burgess is the main author of it.
In July 2018, he started adding support for the Adafruit M0 and M4 systems at the time for the two 128x128 displays (OLED and TFT). According to the comments in the source,...
If you buy the raw MCP23017 chips, probably not. If you buy them packaged up with a PCB, perhaps they will include the pull-up resistors, and perhaps not. If they include pull-up resistors, it likely will be 4.7k...
Note, I2C devices on the Teensy may require pull-up resistors. If any of your I2C devices have pull-up resistors, you don't need to add others. If none of them have pull-up resistors, you will need to add them. You...
Lets see if I can clear it up. In the Teensy 3.2 time frame Paul used DOUT/DIN/SCK compared to MOSI/MISO/SCK used in later processors.
By default, on Teensy LC, 3.2, 3.5, 3.6, and 4.0:
Pin 11 is MOSI or DOUT...
Sorry about that. It was your site that I picked it up from. So I assumed you had done the work, but yeah, now that I think on it, KurtE did do most of the work. After awhile it gets hard to track which person did...
The uncanny eyes program used a lot of Teensy 3.x specific optimizations for display that are completely different for Teensy 4.0.
Some time ago, mjs513 improved that program to support the 240x240 displays that have...
I was looking at the adafruit forum, and somebody wanted to make a light saber and had found one of the guides using the Teensy 3.2 and prop shield to build it. But he went to the Adafruit page for the prop shield, and...
No, these are pins for driving a micro SD card reader in quad SPI mode.
That is right, the Teensy 4.0 has no DACs. For audio, you could use the two MQS pins (pins 10 and 12), but you lose the main SPI port if...
By not accurate, I mean that the PCB has markings for the 3.6 (i.e. ground, ground, D+, D-, 5v). It does not have markings for the 3.5 (i.e. you just have to know that the 2 pins are A25 and A26, and not D+/D-).
...
See this thread:
https://forum.pjrc.com/threads/58028-Pins-to-bring-out-on-a-hypothetical-larger-Teensy4
There are two main boards being discussed. One is a board that uses a processor in the same chip family...
With the Teensy with the USB adapter pointing to the left, on the bottom 5 inner pins (between the outer pins 1-7):
On the Teensy 3.6, these 5 pins are for the USB host support (a second USB where the Teensy 3.6 is...
Off hand, I didn't notice any larger ILI9341 240x320 displays at Amazon.com. There is a 3.2" display, but that likely is not a big enough jump.
There are various ways to get a bigger screen, but it will involve...
I thought I had done a post, but it turns out that was for the Audio board for the 3.x series. Here is the information for the 4.0:
The following pins are common pins, used by both the audio board and available for...
I was messing around, and I had some DFPlayer Minis lying around. These are rather simple MP3 players that play MP3 files from a micro SD card. You can control it via a serial line or via simple button press.
I was...
Or alternatively, use NiMH AA rechargeable batteries. These batteries have a nominal voltage of 1.2 volts (4.8 volts for 4). I believe freshly charged they might be 1.38 volts (5.52 volts for 4). IIRC, rechargeable...
As I understand it, S/PDIF support is not in the current 1.48 for Teensy 4 (it is in Teensy 3.x).
Note, when posting code, please put it inside the CODE and /CODE tags. Use the '#' on the tool bar to create the tags.
Unfortunately, Paul has said that was a design choice due to wanting to run at USB 2.0/HI speed (480 Mbps) instead of USB 1.2/Full speed (12 Mbps) that the previous Teensys ran at. Evidently there was too much...
I must admit that as we've had multiple threads about various castlelated pins and board extensions, it would be nice if there was an easier method for getting to the underneath pads with breakout boards. Particularly...
Cool thanks. My previous set came back from OSH park and the castlelated part for pins24-33 was not cut out. There were normal holes there, so I figured I could just put chunk of solder in the hole and melt it. But I...
Some general notes.
Yes, eventually you are going to possibly want 70 buttons, but you are going to want to start small rather than trying to add code to add all 70 buttons at once. And you will find that as you get...
Note if you are using I2S output on the Teensy 3.2, 3.5, or 3.6, two of the I2S pins are the default SPI0 pins, so you would need to use the alternate pins for these. Look at the audio shield product page for more...
I am a software guy, so this is more of a guess than anything else. I suspect that you probably want to have a battery in between the raw hydro power and the Teensy. The hydro power would recharge the battery and the...
Just to be clear:
The following pins are common pins, used by both the audio board and available for other uses:
Vin (I'm not sure if the audio shield uses this or not)
Analog Ground (used for the audio parts)...
The on/off switch is not really a reset switch. A real reset switch will instantly restart the processor once you connect it to ground.
On the Teensy 4.0, if you connect the on/off pin to ground for about 5 seconds,...
Other than designing a board to connect this board to the Teensy (and of course ultimately soldering stuff and a micro SD card), you don't need any additional components. The board has all of the appropriate circuits...
I'm not sure what you meant by the relocation of RX2, but given the PT8211 board uses I2S, there are several pins that need to be relocated with jumper wires. I posted a list some time ago, but I can't find the...
@FRDM4236 I'm finally getting around to soldering the board you sent me, and I'm also looking at the V3 board currently being produced at OSH park (+ purple Teensy 4.0) that I ordered on October 20th.
I realize you...
In going through my mail (from the gamedunio3 developer looking at doing HDMI output), and following some google links, I noticed there is an Arduino -> HDMI board out there, that has an optional Teensy 3.2/3.5 shield. ...
I am a computer programmer that has worked on compilers for over 33 years. I have been working on the GNU GCC compiler for over 20. Outside of work, I tend to be known for my steampunk camera (see http://www.steampunkmike.org for more details).
Location:
Ayer Massachussetts
Interests:
digital photography, steampunk, renaissance faires, hobby electronics