shawn, thanks for the reply. I'm using the built-in serial monitor in platformio, it's the icon near the home button that looks like a plug.
Type: Posts; User: DroneOverLord
shawn, thanks for the reply. I'm using the built-in serial monitor in platformio, it's the icon near the home button that looks like a plug.
I know this post is two years old but I thought I would reply with what I've learned about nanopb.
It seems like OP didn't include the .pb.h and ph.c files that nanopb creates after the build....
After a week of frustration, I've come to the conclusion that LCM is a waste of time. It's poorly documented, requires a ton of pre-requisites and dependencies and Nanopb is much easier to get...
I'm trying out PlatformIO. My program compiles and loads to a Teensy 4.1 with no issues.
Is there a serial monitor function in VS/PlatformIO that I can use or are people just using Putty or...
I did a quick search but didn't see any post or projects using Lightweight Communications and Marshalling (LCM). It seems like a useful library for a teensy 4.1 so I'm going to try and get it...
Upon further reading the 1.8v and 3.3v pin is set based on the voltage supplied to NVCC_GPIO pins. According to the Teensy 4.1 schematic those pins are wired to 3.3v. So that's not software...
Yes, USB serial is what I'm using to debug. That and system tic are the only things I could think that would be running. BUT again, I don't know if there is documentation other than the source code...
After reading, re-reading the ref manual I've come to the conclusion the problem has to be with the Teensy interrupts.
My while(data_valid) loop needs 12 usec to execute uninterrupted, does...
I tried pinMode(DATA_VALID, INPUT) and digitalReadFast(DATA_VALID). You can see that in my first post. It's not acting as it should (hanging in the while(!DATA_VALID) even though the pin is...
My bad. It defined as:
#define IMXRT_GPIO7_DIRECT (*(volatile uint32_t *)0x42004000)
#define DATA_VALID_PIN (IMXRT_GPIO7_DIRECT & 0b00000000000000000000100000000000) //Direct read of Data...
KurtE, yea it's a bit pricey but has great image quality. It's not configurable to 4-bit transfers but could do 8bits. I have it wired for 16-bit data on GPIO6_AD_B1_00-15 so I can do a quick DR. The...
Thanks for the reply.
Yes, I've read that thread and code, that's what gave me the idea but the OV7670 is slower. I'm wondering what the fastest input speed anyone has reliable captured and is...
I have a project reading a 320x356 16bit image from a FLIR Boson Camera. It uses a standard CSI type interface (V Sync, H Sync, Pixel Clock and Data Valid) but for the life of me I can't seem to...
Both great projects.
I'm currently working on interfacing with this camera:https://www.flir.com/products/boson/
I thought about using the CSI module but I'm trying to get 16bits from the...
Ok, in the code above I did not pass the IP address just the MAC address.
I ran ipconfig again and got the autoconfiguration IPv4 Address. I passed that IP address along with the MAC address and...
waitForLocalIP returns 0
stdPrint = &Serial; // ADD for QNEthernet
Serial.println("Ethernet WebServer Example");
int waitresults;
// start the Ethernet connection and the server:
...
Well I've tried two different cables, (straight through and crossover) and two different Teensy4.1s... the crossover cable doesn't connect at all "Hardware not found" but the straight through cable...
You are right about modern computers being able to automatically switch from needing a cross-over cable using MDIX, but my 5 year old Acer laptop might not have that. It's the only thing I can think...
I'm running windows 10 and it is setup for DHCP. The issue I believe is me using a straight through cable vise cross-over. The problem now I believe is that fried the T4.1's DP83825 PHY layer chip...
Shawn,
Thanks for all your work on QNEthernet. I saw your comments on waiting for an address on GITHUB. I haven't tested it yet but I'm 99% sure my problem is I'm connecting my T4.1 directly into...
So I'm dumb and don't know what I don't know. Apparently you need a cross-over cable to connect a T4.1 directly into your computer. I'm going to switch cables later tonight and see if that works.
...
I've tried many examples, I thought a simple webserver would be the easiest to test. If you have a suggestion on a better example to start with please let me know. I just assumed a web server was the...
100% accurate. Sorry as soon as I hit submit I regretted my decision.
A little help please. Can anyone tell me why my code is returning 0.0.0.0 for my server address? I've tried NativeEthernet and Shawn's QNEthernet and both give me the same result. If I pass it my mac...
Dimitri,
Yep, I confirmed last night that if I unplug my Ethernet cable from my computer the program waits on "Ethernet.begin();"
I'm glad you solved your problem, mine is still not resolved....
From my understanding, if you just have the USB programmer/serial line connected and not the Ethernet cable then your T4.1 should still be able to send over serial your MAC address but you won't be...
Dimitri, I've commented on your post. I bet between the two of us we can make great strides in the dark art of Ethernet communication.
I'm just learning like you are but what I've figured out is you need to find the actual MAC address of your T4.1. Use Ethernet.MACAddress(mac_address) to get that....
Resurrecting an old thread.
I too am getting started with Ethernet on the teensy 4.1 but have ZERO experience working with internet protocols. I do have a lot of experience working with...