I wonder what may have caused a CRC error. I was transmitting data that T41 received from PC to a device that T41 was hosting. The data was a complete packet of 512 bytes. The Beagle between T41 and device recorded...
I have this that Beagle USB 2.0 analyzer complains as PID sequence error:
What I see is that the first OUT was done properly:
OUT token
DATA0 packet
NYET response
PING
Seems like if when teensy is held in "landscape" orientation like in your photo, the ferrite is vertical while the resistor is horizontal. So which one broke? I guess you can short the ferrite pads with some short wire...
If you didn't upload some sort of sophisticated code that made the pressing of the PROG button useless, then you may have destroyed your board with whatever you were trying to get us to critique that you wanted to do. I...
If everything is right, your regulator should output within specs but it's not. Touch your regulator with a finger tip. If it is warm, there' something wrong in your circuits. Unless you post enough information...
ads1256 seems to require external reference voltage, is that correct? If so, how are you providing this voltage? Also what is your adxl accelerometer's model number? There are many accelerators starting with adxl. If it...
I'm using teensyduino 1.55. Maybe this VBUS detection is not implemented? In usb_init():
// TODO: only enable when VBUS detected
// TODO: return to low power mode when VBUS removed
// TODO: protect PMU access...
I know this is not a common use case that I disconnect teensy from PC but suppose teensy is powered by a battery thus disconnecting it from PC won't shut it off. I want to know how to detect disconnection. I was looking...
After a bit more reading, it seems that there is this already in usb_serial.h so you can just use if(SerialUSB1) like if(Serial).
operator bool() { return usb_configuration && (usb_cdc2_line_rtsdtr &...
Hello,
This is a tricky thing to do. Here is how you can use if(Serial) in the first place:
operator bool() { return usb_configuration && (usb_cdc_line_rtsdtr & USB_SERIAL_DTR) &&...
Not only does the micromod has no PSRAM, it also didn't bring out the pins to connect to PSRAM externally. Maybe same is true for ethernet. This makes micromod quite limited.
I'm trying to design a board with micromod teensy to include both a PSRAM and sd card slots so I'm in need for the pins that these things use, 42-52.
It seems that the m.2 connector's pins 60-62-64-66-68-70 are...
Write a test code to test your electronics. We don't know how the 12V may have damaged everything else. The very least, find a way for 12V to not be accidentally wired to a Teensy pin. This could involve optimizing your...
It depends on which country or continent you live in/on. Here is an enclosure company based in USA:
https://www.polycase.com/
Lots of options even handheld boxes if you have drill and router to open holes for...
If the tab completely covers the pad, you have to either use a heat gun or maybe have your iron on the tab for some extended amount of time to try to melt the solder under the tab. I might add a bit of solder paste to...
I just took a look at my LC. The microUSB has two surface tabs that can be soldered by hand. First you want to check the solder pads (2 for the tabs and 5 for the connection) on the board to make sure they are all...
I'm not a drummer so what I suggest may be just wrong:
Say you have 5 drums. Build each like you did with the single drum. Then under the middle drum, install a hub. So two left drums wire to under the center drum,...
I guess there's the spec, then there's popular hosts such as windows/nix/macos, then there's device manufacturers.
Here's what I have on a square ipad stand hosting a receipt printer:
10ms between setAddress and...
Thanks. Yeah, a better way to add another case with some USB timer will be great but I didn't know how. Hope you find out what else may cause the issue and make a patch. I've heavily modified the library so I will have...
@Paul,
Is it related to this issue? This causes issues to
https://github.com/PaulStoffregen/USBHost_t36/issues/87
Can you please share what delay command you used? Thanks.
My suspicion is that the code running on keybow causes some delay/blocking during boot so if you add some delay in teensy before it enumerates keybow, then keybow has completed initialization (could be the...
Thanks @mark. I think JLCPCB must have very large rolls and may have pressed the non-framed stencils before shipping. Theirs are much flatter than osh stencil's.
The first image is from JLCPCB. When ordering stencils at JLCPCB, I've been scared by this image at times and have always hated it because it looks like my board file has got screwed up, from those components placed at...
I tried to remove some simple thruhole components with a soldering iron some decades ago and had very poor success. Kind of questioned whether I could learn soldering. It turned out the board was covered with conformal...
It is, difficult, to look at. While this turned out to be salvageable, you should do some more practice on scrap boards (broken electronics etc) before doing this again! To remove a connector, use hot air rework station...
Thanks Paul! I'll avoid using DMA to access PSRAM. What I want to do is to write some content into OUTbuf, then have the content sent to a USB device using a USBHost_t36 library driver I wrote, and "at the same time"...
Just want to check whether I'm doing it right:
I have an 8MB PSRAM from prjc that I soldered to my T4.1 smaller footprint. I plan to use the PSRAM as a large buffer so I don't need ext_malloc().
#define...
This may help you stay with MEGA2560 for a bit longer if you wish to pay the $33+SH price:
https://www.rugged-circuits.com/new-products/quadram
Do read the tech details if you want to get it:
...
OK, you have the right expectation. It's not impossible but very unlikely unless you have a lot of time, the right tools, and don't mind doing a lot of hard work. I don't know what setup you have and how you can't just...
It's a very extensive project you're developing and managing @paul and despite of my short time using teensy so far I, see an excellent project, platform, and community, so I'm just going to remind myself to grab...
Great! You definitely went above and beyond of merely asking for an answer. You took the information and went ahead with your own investigation, and you posted back your solution. Thanks! This was also a first clean win...
@paul I really wish you would allow a maximal of 1920*1080 image size as most people have this resolution or higher on their monitors and could provide screen shots at this resolution, not the 2000-era 1280 pixels wide....
You need to provide a link to this adapter you got. Nobody knows exactly what you have. I have this one:
https://www.amazon.com/Monoprice-Extender-CAT5E-Connection-150ft/dp/B003L14ZTC/
This is only good for USB...
I'm not familiar with the library you're using but I can provide some timing data/diagram of a 2-channel rotary encoder. It's not as symmetric as most theory diagrams picture them. Here is what I have:
...
Maybe you didn't have the right Zener diode. Or it could have been broken. Lower voltage Zener diodes can get damaged by static electricity if they are in non-antistatic bags. If you bought a 3.6V Zener, then it should...
So I am seriously considering running host mode on OTG1 (instead of on OTG2) and device mode on OTG2 so I can have all 8 EPs to work with. This stems from drivers of devices I want to simulate. Some drivers are smart...
So when successful, it took 0.1ms to go from set address to get dev desc. I'm suspecting that it WAS circuitpython running startup routines in the background that caused the device to respond too slowly. If you're...
I wish I had your optimism or skill level. I've been designing boards for over a decade but on 2-layer boards so far. As I mentioned, I only know some things in theory. Hope you can get some prototype boards working....
Thanks @Paul. I think you answered my questions. I may be interested in a few 1062 and the smaller chips with bootloader. It's for one of the projects I've been bugging you guys with weird USB questions for. Should I PM...
Could you post your successful enumeration with the 5-second delay? I am curious whether it is the rp2040 that is too slow to respond with USB requests when it starts up circuitpython and usb device. If you wait 5...
I'm not sure what took the same device so much longer to respond to Teensy than PC. The error was not the setup packet of "set address" that got stalled. The one after it got stalled. It's a request for device...