I apologize in advance for the lack of knowledge!
I am attempting to use this library with a Teensy 3.2. I have VGA output working successfully, but the resolution is leaving me wanting more :)
When I run the...
A couple of things to look at:
According the datasheet, you'll need a pull-up resistor on the /RESET pin. Make sure you have that connected before you power it up.
And you'll need REXT connected to a resistor to...
HI Bill,
I am really anxious to try this out with the two versions of SdFat that I am working on for MSC. I have two versions of SdFat that I have modified adding my USB Host Mass Storage driver to them as a block...
I need a little help. My application is a T4.1 JPEG image slideshow application. I have implemented IR remote capability to not only change to next or previous album but also next photo and previous photo within an...
Hi,
I'm trying to use a TLC59116IPWR that I made a pcb with but nothing happens. Here is the schematics:
First, I noticed I might need to actually wire RESET and REXT, but I tried to do so by touching resistors...
I’ve been working on a Teensy 4.0-based music machine for a while, and I’m getting down to the last niggly noise issues. I’m hoping this is something people have solved before, but I haven’t managed to find any...
Hi all,
I'm writing some custom audio library objects for my teensy 4.1 + PSRAM IC, and I was wondering if there's a way to initialize variables (a 2D array in my case) into the PSRAM from the audio library .cpp/.h...
Sorry too late here - almost midnight - have to work tomorrow.
Again - this is a shot into the blue. I don't know if it is the problem - but for me, it seems not too unlikely.
I can be totally wrong, of course.
...
That is in the spot of code noted in p#14.
Those "#if defined(ARDUINO_TEENSY41) " in "static void enableGPIO(bool enable) {" would preclude that from working on Teensy 4.0 with SDIO soldered on - but should use...
I think this is the equivalent for T4.1 https://github.com/greiman/SdFat-beta/blob/master/src/SdCard/SdioTeensy.cpp#L308-L309 . IOMUXC_SW_PAD_CTL_PAD_PUS(1) means 47K ohm pullup. I can try IOMUXC_SW_PAD_CTL_PAD_PUS(3)...
Closest is the below in : ...\hardware\teensy\avr\libraries\SdFat\src\SdCard\SdioTeensy.cpp
#elif defined(__IMXRT1062__)
//------------------------------------------------------------------------------
static void...
Don't know...
And I can't find the old thread :-(
I remember the SD Spec says, the pullups are required. I guess the controller thinks they are there...
The patch was a workaround. And it took me a long time to...
Maybe consider sharing your usb_desc.h file? Might help others who find this thread.
If using Quick Reply, click "Go Advanced" to get the full editor which lets you attach a file to your message.
Hello again,
No suggestions or ideas anyone? I am really stuck with this and would greatly appreciate any assistance to get it working please
Thanks,
Elia
Thanks for the consideration. There is a larger pc board upon which the Teensy 4/4.1 will be mounted (through hole pins of course).
The USB-C vertical connector will be mounted on the opposite side of the PC board and...
The reason for this is patch is a bit complicated.. If the connections have no pullup, they can toggle when the interface pauses. Maybe beacuse lines in the near toggle.
The chance that this happens may increase when...
Yes the same thing happens.
Maybe it's the same problem as here: https://github.com/PaulStoffregen/SD/commit/cea34a24d81072ba91e47331cea9176826a6cfae
SOmbody has to take a look... don't know if the SD Controller...
Edited the code to work with TD 1.54 b5:
#include <SD.h>
#include <SPI.h>
// https://forum.pjrc.com/threads/65851-Problem-reading-from-SD-card-directly-into-PSRAM?p=266951&viewfull=1#post266951
#define BUFSIZE...
@Frank B: I haven't informed Bill Greimann. I didn't think it's the SdFat library's fault. I will try with the 1.54 beta see if the same thing happens there.
I tried reflowing the solder and adding more solder to make sure the connection is good but it didn't fix the problem. I will try the 1.54 beta. Thanks.
I used a file around 100MB.
You don't give us much to work with. Is the Teensy being mounted on another PCB where you could use tiny spring contact pins? Could you pick the +5v from the Vin pin on the corner of the Teensy and use a USB-C to...
Also note - there have been posts like "tried Paul's PSRAM test and it passed" - but then other usage fails until solder joints are reflowed or cleaned.
Noted as: "large file named TESTFILE.BIN" - but not how large? ...
I'm trying to use 2 hat switches and i'm not sure i'm using the command correctly.
Should it be:
Joystick.hat (1,angle) for hat #1
Joystick.hat (2,angle) for hat #2
Am i doing it right?
in the...
Have not seen this noted as done or tried or done it here.
The TeensyDuino 1.54 Beta 5 has integrated a release version ( not Beta ) of the Greiman SdFat to replace the standard SD library.
Not sure that will...
The T_4.1 uses 480 Mbps USB. As presented (if I read right) by @KD5RXT-mark there is less disturbance and rerouting of the USB 'D' signal lines where it seems they are uninterrupted from the original cable. Not soldered...
I'm doing something like this with a Teensy 3.2.
In your drawing you have the PowerBoost 5v output going to the T4.1, so it (may) only gets recognised as USB device when it is powered on. Maybe the T41 is barely...
Cool, yeah, that's very much like what I'm doing... but it doesn't work. I'm not sure what to do next to troubleshoot the "Device not recognized" error windows is giving me.
@Robot:
If I understand your request correctly, I did that exact same thing for my TeensyMIDIPolySynth project using the Adafruit PowerBoost 1000 (2465) & the Adafruit Panel Mount Extension USB Cable Micro-B Male to...
Hope this helps. Obviously there are other things connected to the Teensy as well. Also I tested the ground, it is continuous between both boards and the USB connector.
Hi,
I'm having trouble reading directly from the SD card into PSRAM. I'm using a Teensy 4.1 with one 8MB PSRAM chip. When I pass a pointer in PSRAM to the FsFile read function, the read would often fail. The same...
Yes and there are more examples.
I think it can be useful for bit-banging, too, sometimes.
Just in cases where you need to control the exact timing.
However, that's not often the case.
OK, thank's for your answer.
I'm aware of the not for new designs message.
The solution is ofcause to switch over to a supported one.
Will look in the list for someone with compatible layout: 8SOIC with at least...
> a DSB is mandatory at the end of interrupt-code
I believe it should also be used when disabling interrupts from non-interrupt code.
> SCB_AIRCR = 0x05FA0004;
Of course such things should be inside of a...
I am not using the micro USB connector on the powerboost. I have a 3rd USB connector that is not attached to any boards. From that I connect the data lines to the Teensy, and the power lines to the boost.
Also, as...
Frank-My uP is a T4.1 and the Memory wipe procedure shown on the teensy 4.1 page solved the problem.
Memory Wipe & LED Blink Restore
Teensy 4.1 will fully erase its non-volatile memory and return the flash memory to...
Right now LittleFS does not support the Macronix MX25L12835F chip it only supports the following based on the table in the .cpp file:
{{0xEF, 0x40, 0x15}, 24, 256, 4096, 2097152, 3000, 400000}, // Winbond...
Looking at the schematic on the Powerboost, the micro-USB connector on the Powerboost does not connect the D+/D- pins, so there is no way to use that port directly.
What you can do is use the Teensy's micro-USB to...
My vehicle does not support UDS. So, UDS part of the source code cannot be tested and therefore I'm not sure whether it works or not.
Anyway I will debug ISO-15765-4 part (mode$01 or Service$01 CAN) with extended...
Hi Paul,
i *think* the I2S slave-input works now, too.
I have some problems with my hardware.. need to check the soldering of the microphone or have to connect a line-in somehow (I never use the input)
I've just...
Did you take your UDS example from a Hackster article? If so it might be mine.
I'm not sure 0xF405 will yield anything unless it's being requested from a VW/Audi MQB platform vehicle (that's what I tested on)
My...
Hi
I have installed the beta 5 and tested ListFiles example in LittleFS on my Macronix MX25L12835F chip.
Result is : initialization failed.
I run on T4.0 and everything works OK using the SerialFlash lib.
I...
read my post above
EXT is used for setMB(), optional parameters in setMBFilter are for multiple IDs only
mailboxStatus() will display MB1 as a STD mailbox. use MB4 for extended receptions.
Thank you msadie,
I have updated the FlexCAN_T4 library with the latest one, and removed events() from the code.
But the symptom is the same.
I have updated the source code with the latest one.
The exact can port...
remove the condition checks to make sure you see the frame first, usually print it out, easier to debug. also remove filtering until you get the expected output, then you may filter frames as needed
also just so you...
I have my Teensy 4.1 powered by an adafruit powerboost 500 with a lipo. I want to be able to charge the battery and reprogram the teensy over the same USB port.
What I've done:
USB data ---------------> Teensy USB...
Thank you, Rezo.
My source code handling positive response was wrong.
I corrected positive response as you mentioned. 0x41 for mode$01 (service$01), and 0x62 for mode22.
However any response message from ECU...
Teensyduino doesn't include the latest FlexCAN_T4 library, so make sure you get it from here: https://github.com/tonton81/FlexCAN_T4
When enableInterrupts is set in setup, events() should be removed from the loop.
Ah, xyproblem again.
You can't process the output of a class D amplifier in the analog domain as its a digital signal.
First you need to low-pass filter the signal.
Ok will stop playing on this end. I did put a T4.1 with 8Mb PSRAM but the 512, 1G, and 2G files failed to transfer any of the PDF files and essentially disconnected the flash drives from windows to where I had to power...
Are you using the library: https://github.com/robopeak/rplidar_arduino
It looks like your code is pretty close to their example: simple_connect?
If I am looking at their documents correctly:...
I understand that there is currently no library for the hardware cipher accelerator for TEENSY 4.0.
Also, the "i.MX RT1060 Processor Reference Manual" of NXP does not give details about the security components of the...
@KurtE = Good Sunday Morning.
Well been testing on a T4.0 and a T4.1 with No PSRAM chips installed. Didn't sink in last night you were using PSRAM last night. Was doing some more testing this morning with the T4.0...
@Paul - sounds great
@mjs513 - Did you have enough memory PSRAM available to be able to allocated that large of a file? Right now I try to allocate the whole thing with extmem_alloc. So if that is not available it...
The above hints already helped a lot!
I altered the schematic this way for the first stage:
The noise has gotten less and as long as the input amplitude is attenuated enough there is no distortion. I will make the...
I'm using 2x10x 74hc165 to scan a velocity sensitive reused keyboard from a old electric organ
Its scanned 31250 times a second, and i can play that without any problem.
You can also read multiple 74hc165 in...
I'm trying to talk with Honda fit via OBD protocol using Teensy4.0 + MCP2562.
I can talk with the vehicles which is using standard CAN such as 7E0, 7E8 type.
But I cannot send request messages and receive response...
Yes, but you will need to edit usb_desc.h to create a custom USB config. See the comments in that file for details.
Remember there are 2 copies of this file, one for Teensy 3 and the other for Teensy 4, so make sure...
Thanks KurtE and Paul for your very helpful avices!
It's my bad. I am using Makefiles (like with my other Teensy LC project) so I copied the one from cores/teensy4 forgetting that I incorporated changes from...
I added DIE:
https://github.com/FrankBoesing/cores/tree/hardfaults
void setup() { DIE("I felt it was time."); }
void loop() {}
resets and prints:
sketch_jan17a.ino
Ok, so my main two objectives with this are:
1. convert the differential MAX98357A output to single ended, to drive either headphones, or an external amplifier by AUX.
2. boost the low frequencies a bit
I...
I'm wondering more or less the same. I'm doing a MIDI controller (which we all know, uses Serial) but want to also output audio.
One thing for certain tho, might need the audio board, I didn't find a way around it....
That's great. When the version to release is assembled I'll look to get back and test it out when the code to be included is known and in one place.
Having the 1062 bootloader chip ready for the test pass will be...
If you'd like to reproduce this yourself, here's how to read the iGaging Absolute DRO Plus scales.
These scales use the Mitutoyo 52 bit data protocol transmitted over a microUSB cable. The scale DOES NOT use USB...
T41 noob here (but have used the T40).
I'm trying to get two T41's to talk to each other over Ethernet using the NativeEthernet + FNET ZIP libs from Github. Both T41s are equipped with the PJRC magjack kit.
I've...
Just gave the updated branch a try with the NAND 1G chip on SPI, figured that would be the slowest transfers. Couldn't seem to transfer a PDF over 2MB to the chip. However, restoring back to mtp_events_merge branch...
Fully understandable - don't get distracted at this point sounds like you are almost there with the bootloader. As you said think you are going to make a lot of folks happy when the bootloader becomes available.
Merging and testing MTP and LittleFS pull requests is at the top of my priority list for after the T4 bootloader chip “soft” release. Sorry I can’t do it now... really want to. But so many people have been waiting for...