Actually fairly simple where you don't even need to make use their brick:
import socket
import threading
import time
import msgpack
# -----------------------------------------------------------------
# Core Infrastructure Setup & Reliable Class...
Here we go again:
CYW43439 BLE Scan Example
[SFBLEDevice] init()
[SFBLEDevice] localName: SF-Scanner
[SFBLEDevice] btRegOnPin: 28
[SFBLEDevice] rtsPin: 36
[SFBLEDevice] ctsPin: 33
[SFBLEDevice] starting BLE_Controller...
@wwatson decided to give Google Gemini a try and see what it says based on your post of firmware update error see
https://share.gemini.google/AUBL5WVzI9k0
Ok all been playing with UDP and did something that been wanting to do except this time had AI to help - found that if you feed AI some working examples it helps. Any ways created a msg pack for udp class that simplifies transferring and...
Disabled RTS/CTS flow control in "HCI_Transport.cpp lines 16 and 17 and shorting the two pins on the inverter indicated above:
// attachRts()/attachCts() are only available on HardwareSerialIMXRT
// (Teensy 4.x), not the generic...
As I mentioned, above, was able to get Mike's two board communication working as well.
I may try to see how hard it is to convert a Q app, like weather forecast code to run on Teensy... On the Q it scrolls on their
Charlieplexed LED matrix. I...
It's not that I simply swapped the header pins, it's that I put the inverter on the wrong signal (and the wrong direction for that signal). So it's not just a simple pin number change in code, the wiring itself needs to change.
@mjs513 , I will have to try these out! I have not gotten as far as you have...
Been busy with other non-computer things like redoing the work that a painter we hired did to our exterior wood work...
But Ping and some of the other examples are...
Just a quick update decided to give ArduinoJson lib a try between the T41 and the Q
Again it worked
Teensy Sketch
// SPDX-FileCopyrightText: (c) 2021-2026 Shawn Silverman <shawn@pobox.com>
// SPDX-License-Identifier: AGPL-3.0-or-later
//...
Ok guys. Going back and forth between projects so decided to give UDP a try on the Arduino Uno Q and see if I can get the T41 talking to the Q. Q is nice but...
Anyways seems like it works going to play more.
Mine sort of suck these days :LOL: Eyesight/hands are not what they used to be. And they were never great.
As my brother used to say that I was ambidextrous, equally uncoordinated with both arms.
The culprit in question:
That should be RTS, not CTS... Classic problem, but this time with flow control signals!
What this means is that no one will be able to use Bluetooth on the prototypes we sent out (unless you have exceptionally good...
Hi All -
An update on the SparkFun Wireless Board ...
We've found a issue with how the Bluetooth connection was designed on our board, so a revision and retest is required. This will delay our efforts to launch the board 2-3 weeks.
FWIW...
Been a long time ago on some of this as well. The USBHost support was sort of hacky. More or less imbedded a USBHost loop inside of
it... The last time I touched this library was with you and facchinm to get it to work with Zephyr on the C33...
You guys were busy last night. Just cataching up.
Its been a while since I developed anything new for USBHost but I do remember that @KurtE had modified the Arduino_BLE library to work with the Teensy 3.6/4 USBHost...
@jmarsh - You are correct. I just checked and it is pulling in the other three includes data:( With the auto detect version and uploading "SNTPClient.ino" I am seeing:
Memory Usage on Teensy 4.1:
FLASH: code:128944, data:682536, headers:8740...
I say that is correct. Build option might be fun, but loading it up when the number of boards with a chip that is End of Life (@Dogbone06 had to work to find them IIRC) - there are others maybe using them - but not for a Teensy build.
There are six firmware files used. Three for each of the devices, Firmware, CLM and NVRAM. the NVRAM files are small around 700 to 800 bytes. The CLM files are 3208 and 7222 bytes. Finally the biggies are 230321 and 419798 bytes. Combined that...
@SparkFun - Sorry to confuse you I have my answer. I could not remember if an #included files contents were automatically included even if none of it's contents were used in the code. Answer is no they are not included. that means I can include...
That's excellent:D I'll change that to "CYW4343x". It serves to let you know if you are using WIFI or wired Ethernet. Right now I am trying to figure out how to only include the three include files for a particular WIFI device after the program...
You are actually correct:) Had not looked at it that way. As I stated before, not many people have the 1DX version so the 1YN board will to be the one most used. Thanks for bringing that up. I will adjust my 1DX board and test. My brain is a...
Just woke up and sipping on coffee so decided to give it a try. Downloaded 0.37 and
scanner worked faster than before
```
* # SSID RSSI Channel BSSID Security *...
The library is is now functional :D
ping.ino:
Starting...
Please Wait...
MAC = 0c:80:2f:17:d3:5a
Waiting for local IP...
Setting link up
Local IP = 192.168.7.235
Subnet mask = 255.255.252.0
Gateway = 192.168.4.1
DNS...
We now have scanning 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)...
This approach adds wireless capability to the Teensy 4.x by mounting an ESP32 directly onto the Teensy. After all, two brains are better than one - right?
Conceptually, this approach is the same as having a baseboard with both a Teensy and...
CYW43439 driver update. Trying to have a blast here but things are getting a little hairy:D
Current output from driver:
===========================
CYW4343W Card::begin: SDIO2
===========================
Attaching OOB interrupt to pin 29
WL_IRQ...
Ok - I finally worked through this. Here are some notes I think some other newbie like myself might find useful. Same content also attached as .PDF...
Notes to Orient Uninitiated Users of the XBAR Module:
I find it helps to have a good...
If you do decide to use a Nextion/my library use version 2 called (Nextion2) on GitHub.
I pointed you to version 1 since it was that version that was used for the UTube video example.
Thanks for sharing the video and detailed overview. It was interesting to see the real-time plotting in action, especially with Teensy 4.1. The ADC observations were helpful too. Great work.
That doesn't sound like a compatible PSRAM chip. It might be possible to make it work with modifications to the code but it's also being overdriven to 3.3V.
If you decide to explore the FlexIO route, look for the FlexIO_t4 library. It among the many libs that get automatically installed. In Arduino IDE, click File > Examples > FlexIO_t4 > SPI > Simple to get started.
An update. It looks like the CYW4343W initialization routine is performing unnecessary operations out of sequence that the CYW43439 does not understand and does not like. Also I may not have all of the NVRAM settings correct yet. Everything...
My package made it to our PMB in town later yesterday, hopefully today I will get into town and pick it up.
Another option would be to make something setup for the MicroMod. Side note to this, I wish Sparkfun would sell a
Micromod breakout...
I tried running the example on a Teensy 4.1 with ethernet connected. Indeed it crashes.
I noticed this in the console:
sketch_aug09a: In function 'bool BasicSkills_Ethernet_INIT(uint8_t*, IPAddress)':
sketch_aug09a:10: warning: no return...
Just to make sure I answered this question:
Yes, as explained in msg #3, we updated many libraries in version 1.62 because of the change from gcc 11.3 to gcc 15.2. NativeEthernet was among them.
However the crash problem appears to be not in...
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...
Quick update. Swapped base boards and now:
CPU speed: 600 MHz
===========================
CYW4343W Card::begin: SDIO2
===========================
Attaching OOB interrupt to pin 29
Enabled CYW4343W bus high speed interface
BUS_IORDY_REG (Ready...
@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...
Ok used the triple header board as well and IDe 2x. Changed IRQ pin to 29 - hard to tell what pins are need - assume wake is still 38
CPU speed: 600 MHz
===========================
CYW4343W Card::begin: SDIO2
===========================...