Ok, It's working:
CPU speed: 600 MHz
===========================
CYW4343W Card::begin: SDIO2
===========================
Attaching OOB interrupt to pin 29
Enabled CYW4343W bus high speed interface
BUS_IORDY_REG (Ready indication) returned OK
SDHC...
@wwatson noticed some difficulties getting a DHCP address with the latest QNEthernet from GitHub. Could a few other people get that version, try out the SNTPClient example, and see if you see the same DHCP problem?
Understandable :D Just to be sure, you changed the WL_INT pin number in "cyw43_scan.ino" to 29?
//////////////////////////////////////////
//Begin parameters:
//SDIO1 (false), SDIO2 (true)
//WL_REG_ON pin
//WL_IRQ pin (-1 to ignore)...
Alright I see. You are talking about the snapshot version in "library.properties". I thought you meant the version number in the README.md file.
I will change all three.
Done...
I did not realize that the "INT" pin # changed to 29 from 34. That is used in two files, "WIFI_init.cpp" and "cyw43_scan.ino". Those numbers are hardcoded in those files. I will change them to defines in "misc_defs.h" file.
Looks like this...
Does not look like you are using the correct repo. QNEthernet 0.37.0 is only available at @shawn's GitHub QNEthernet repo.
Use this instead:
https://github.com/wwatson4506/QNEthernet_WIFI/tree/QNEthernet_WIFI_0.36.0
The QNEthernet_WIFI is only...
@defragster @mjs513 - Haven't received my board yet so I can't help much. It's probably not going to get much further than reading the card ID.
This is the repo that should be used...
I should also mention, on every software release I manually run Ethernet (W5500) example WebClient, NativeEtheret example WebClient, and for newer releases QNEthernet example SimpleHTTPClient. On all 3, I just watch the serial monitor for a...
I kind of like the stacking header method but I think I will utilize @PaulStoffregen's three tier motherboard that way I have everything on one board and an extra tier for access to all pins for testing. I do not have stacking headers at hand but...
Seems you've done it before - I have faith in you :) And should be able to test whatever you can post.
In the end the old unit won't matter I suppose - though mine is still sitting here. Though I did wire Serial 1&2 together to test some code...
@defragster - I do plan to integrate the 1YN device into my current 1DX version of QNEthernet until @shawn has his version up and running. There are drivers out in the wild that accommodate both the 1YN and 1DX WiFI devices. They just use a...
Great news, the prototypes are working!
Apologies for my long delay, I've been out sick for over a week. Finally back in the office and working on this again.
Long story short, the chip was populated backwards!
After reworking one board, the...
Understood. But using the PICO 2W as a test to understand the driver is half the battle. It sounds like once you get the real board to test with it should go alot faster than you would have if you were starting from scratch. Probably should...
@mjs513 - Just to be clear, I have not created the driver yet because I need a CYW43439 board setup to use SDIO. The PICO 2W uses SPI 1 wire comms. Hopefully we will have a board available soon to work with or even better a verified working...
Update: Setup to compile and run the picowi library on the PICO 2W. It uses an SPI interface instead of the SDIO interface we use with T41. The SPI initialization is similar to the SDIO initialization after the low level hardware setup is done...
Wifi work is progressing... I can scan 2.4GHz and 5GHz channels and probe access points:
Device<0x20207300> activate configuration 1(-1)
Device<0x20207300> activate interface 00 altSetting 00
New Endpoint<0x20207900> type 3
New...
Here's what I use for total free RAM. Maybe that can get you started.
extern "C" void* _sbrk(int incr);
// Returns the amount of free RAM.
// See: https://forum.pjrc.com/threads/57269-I-can-t-seem-to-use-all-of-the-Teensy-4-0-s-memory
// See...
New link to QNEthernet_WIFI_0.36.0:
https://github.com/wwatson4506/QNEthernet_WIFI/tree/QNEthernet_WIFI_0.36.0
Still working on recovering the original QNEthernet_WIFI branch. I backup every day so trying to find the latest one...
As far as the CYW4343W (1DX) chip check out post #117 in this thread. I explained to @gigapod what was done with the 1DX chip up till now. I did not have access to the 1YN board for testing. So can't comment on what others may have developed...
A while ago I bought a $5 USB wifi/bluetooth adapter from aliexpress. They seem to be very plentiful, advertised under a few different brands but usually including a mention of AX900, Wifi6 and Bluetooth 5.3 or 5.4. I thought it would be a...
Looks like we have some more work ahead of us. I have spent the last two days stepping through the PICO 2W initialization process and most of it is similar to the CYW4343W. Will probably need to start at the beginning diagnosing with my LA...
@sparkfro - Actually if there was no communication at all without the WL_REG_ON and WL_IRQ pins pins being changed you would have probably seen the CMD52 errors then.So that is indicating that we do probably have comms with the chip. That's...
Suspicious of this, the 2222 is actually slow compared to logic speeds (try reducing the base resistor to 1k though), and not push-pull (totem pole). A 74HCTxx gate would do the job properly as they run at 5V and are 3.3V input compatible.
You...
I do have the PICO 2W which uses the 1YN chip. I have not used it yet But I am in the process of setting up to use it. I also have PICO debug probe so once I figure out how to use those then it should help to debug things if needed...
Ah! It builds now, thanks!
Changed the WL_REG_ON and WL_IRQ pins, but it's failing to communicate. No idea yet, will dig into it more later, (I need to head home for the day). Probably something simple :)
17:12:04.740 -> CPU speed: 600 MHz...
Sorry - Not sure why it does not compile but the latest version is listed in post #209. This is the link:
https://github.com/wwatson4506/QNEthernet_WIFI/tree/QNEthernet_WIFI_0.36.0
It is based on @shawn's latest version (0.36.0) of QNEthernet...
Well, speaking as the forum admin, we have an unwritten rule (which could also be called a common sense rule) that community perception and reaction matters for promotion of commercial products, and for a variety of topics that veer from using...
I am able to save files to my SD card on my Teensy 4.1
I dragged the file copper_in_chain.jpg from local folder to the SD Card folder.
And it shows up in my picture viewer.
Note: MTP is not a normal file system, where you can edit the files...
I hate this error because it's so vague. Here's example code that triggers it:
#include <Arduino.h>
static const char g_abc[] PROGMEM = "ab";
class foo {
public:
static const char& alpha(int x) {
static const char g_alpha[2] PROGMEM = {3...
I'd love one, so fun to see your improvement work on the hardware I started!
How do we proceed? I have you on email, I can send the details there. :D
Being named by Dogbone06 would be amazing, if I may.
I think the other names should be there...
Not for nothing but this is the link for the zephy implementation for Infineon airoc control:
https://github.com/zephyrproject-rtos/zephyr/tree/main/drivers/wifi/infineon
Think I posted this before - maybe has some clues
@sparkfro thanks for trying. Looks like the only source of information is their driver code. Either they don't know what's being asked, they can't talk about it, or it actually doesn't exist.
QNEthernet_WIFI_0.36.0 is available here:
https://github.com/wwatson4506/QNEthernet_WIFI/tree/QNEthernet_WIFI_0.36.0
Quite a few changes needed to be made to the CYW4343W driver to make it work with the new QNEthernet library. The main one was...
Sorry, It was my fault I did not save the change. It's working ok now after saving "qnethernet_opts.h" :rolleyes:
QNEthernet v0.36.0 is now working with the WIFI board with some good news. I'll post it in the other thread...
@shawn - One little issue with QNEthernet v0.36.0. The example "RawFrameMonitor.ino" fails to compile with this error:
RawFrameMonitor: In function 'void loop()':
RawFrameMonitor:119: error: 'EthernetFrame' was not declared in this scope
119 |...