If by Broadcast you are actually referring to Multicast then yes there is support, both in Paul’s Ethernet library and my NativeEthernet library.
/* Start EthernetUDP socket, listening at local port PORT */
uint8_t...
Honestly I’m not sure about why the delay is needed, also flush for UDP has never done anything. I’m curious if it’s actually not sending out the packet or if the receiving Teensy is just missing it, I’ll admit I’ve...
If the LEDs on the Teensy socket aren’t on then something is wrong, only one of the two LEDs are connected and it’s setup to show activity when you call Ethernet.begin().
When you provide a static IP there is no return function, therefore when you try to != 0 it throws an error since there is no value to compare. When you only give it a MAC address it does provide a return value because...
The boot loader does not support the 2nd USB port, but on the T4.1 there are pads on the bottom to access the 1st USB port's D+ and D- pins so that you can add your own connector. Though it's not immediately clear how...
Please verify you have the latest download for NativeEthernet, there used to be a problem with client not returning an IP address until client.available() was called. I remember fixing that, but I may not have updated...
In my case I’m more interested in getting the most performance out of WiFi while still using a Teensy that I can. It’s certainly more cost effective to go with an ESP, but serial can only handle so much and I’m stuck in...
I’m curious how viable this could be on a Teensy 4.1, if I’m not mistaken enough of the pins for SDIO2 are available to use a SDIO based WiFi chip. Other options include using SDIO1 via a micro SD card breakout or...
As a shot in the dark I would think either other interrupts could be causing it or just the nature of how NativeEthernet is working. If you work direct with FNET you don’t have to poll for the packet like you used to...
Due to the nature of this wrapper library the performance will never be fully optimal. If you need more precision over what’s going on you will have to learn FNET and make a service for what you want to do. FNET...
Admittedly that is a draw back with the NativeEthernet library, but I’ve tried to keep its functionality as close to how the W5500 works as I can remember. Being that it is blocking in nature I strongly suggest anyone...
If your going to be soldering it down to a production board I would suggest taking a look at this for a more permanent solution than pogo pins.
https://forum.pjrc.com/threads/65633-T4-1-External-USB-C-Connector
It’s definitely better to make sure you have the differential pair length and impedance matched just to be compliant with spec. However, there is a some wiggle room allowed and even with running the signals over hookup...
To me it seems like there would be more overhead using DR_TOGGLE and keeping track of which bits need to be toggled between each write, personally I would just stick to using SET and CLEAR which is what I do. I'm not...
As per the schematic D+ is on the ground side and D- is on the power side, I thought about designing a small board, but personally I probably won’t need it so I didn’t.
Not sure if it's strictly related to the M1 Macs or just Big Sur, but I've had it say "Unable find Teensy Loader. (p) Is the Teensy Loader application running?" a couple of times and simply trying to upload it again has...
Here's a quick write up for a permanent and relatively simple way for anyone wanting to add an external USB connector to a Teensy 4.1 based PCB.
First step is to make 2 solder balls on the D+ and D- pads
Next...
As far as I remember Windows file explorer didn't automatically update any open folder and you always had to refresh an open window to see the changes that were made from somewhere else. Though I don't really use...
I’m using it almost like a texture map for drawing “realistic” controls on screen and drawing the color separately underneath it. With the color space conversion it makes it easy to use transparent bitmaps in ARGB8888...
Now that I got my test boards in I loaded this up again and thanks to your ShowPXP method I was able to determine that the manual has a slight error in the PXP_NEXT description that caused the issues for me,...
This is a known “non-issue” since MacOS Catalina, reason being is that a separate download is already provided that has Teensyduino already preinstalled with Arduino.
There isn’t any other dependencies, it’s already preconfigured for TLS to be active. So either it’s not using the new ones you downloaded or the fnet_user_config.h file was changed to disable TLS.
I'm curious why writeBuffer.available() would return 0 which as far as I can tell is calling client.available() which didn't return a 0 in the statement before that.
Try updating your libraries first, I know there was a problem at one time with availableForWrite not returning correctly, but after a quick test on my end I can verify that it is working now.
FNET:...
For my use case I’m going to be making multiple calls in succession so I preemptively added the support in for it. Most of the registers are 16 bytes apart except for the last 3, to me it also doesn’t make sense to...
Based on the manual the only advantage of using the pxp_next is that you can queue up another command while one is already running so as soon as the previous one finishes it'll start the next one. Though if there isn't...
The USBHost_t36 library isn’t only for the Teensy 3.6 anymore though the name hasn’t changed. The reason why there isn’t any 5v on the Host port is because you aren’t using the library that will activate and make use of...
As for the displays the best way to connect them would be to make use of both SPI buses and have them update using DMA so they don't add any delay, though I'm not sure if anyone has made a DMA library for these displays...
I haven’t done too big of a benchmark so I can’t say for certain. I can say that adding a rotation or flip did not increase the number of cycles it took for the PXP to process. So if you are already using the PXP it’s...
I started working on adding support for the Pixel Pipeline built in to the T4.
So far I have the overlay and output stages working correctly, rotate/flip in the output stage also works.
I have tested color key and...
As you know a Teensy only has a limited number of pins available, however the processor has more pins than the Teensy form factor allows. The pins made available to the end user are carefully selected to offer the most...
I would recommend adding a #elif statement instead so that you can use the Teensy 4.0’s normal VID and PID. This way when you select the serial port in Arduino it shows up as a Teensy 4.0.