-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please clarify WiFi, BLE and Ethernet capabilities on the PortentaH7 M4 core. #360
Comments
@facchinm does WiFi, BLE and Ethernet only work when activated from the M7 core? Is it a hardwired issue or a software issue? |
These capabilities seem to be running fine now edited: They are working from the M7 core I still have no information from the M4 core. |
Hi, how did you solve the problem? |
Hmmm, not sure what I did to close the issue. Sorry that was a while ago. Do you jave my library? The "portenta pro community solutions"? I may have put an example there? |
Yes I'm looking at the examples you developed in "portenta pro community solutions" but I haven't found the solution to my problem yet. |
So I tested wifi on the M4 PortentaH7 core after making sure the code worked on the M7 core using dot181-wifi-webserver. I did run the STMH747_System-->wifiFirmwareUpdater but not sure if I had to. Then cleaned the M7 core and setup the M4 core using dot122-dual-easy and basically copied the first example into the M4 core. It compiled and ran but no WiFi connectivity. I then cleaned the M4 core and tried to run the WiFi code on the M7 core and caused the Orange Led of Hell which I am excited that I now know the steps I took, but that is my 9th Portenta I have fried and it is getting a bit expensive. Unfortunately @MMirabel my suggestion is to stay away from inner M4 core IOT. If anyone has had better luck can they please post here. |
Good morning @hpssjellis @facchinm The solution might be to have the WiFi/BT (for SDMMC1) running on CM7 and use RPC from CM4 to request and get data. But it is to be tried and tested Do you think a good alternative is to connect a wifi chip like ESP8266 to a serial port managed by M4? In my project I wanted to use both portenta cores to handle different functionality. Thanks |
Good detective work @MMirabel for your serial solution reminder the Portenta has several serial ports. Some of them are hard to find. This examples touches on some of them dot42-UART1-M4-to-M7.ino |
As far as I can tell, WiFi, BLE and Ethernet only work when activated from the M7 core. Can someone clarify if any of these 3 can be run from the PortentaH7 M4 core, (using RPC if Serial print is needed etc) ?
Also if any of the 3 can't run from the M4 core is this a physical hardware issue or is it something that could be fixed using software?
I am also having some issues running (WiFi, BLE, Ethernet and LoRaWan) from within a thread, is that a known issue?
My reasoning for the question is: I do a lot of CPU intensive EdgeImpulse.com machine learning vision coding with the PortentaH7 connected to either the Ethernet or LoRa Vision Shields and the machine learning code must be on the faster M7 core, meaning communication needs to be done from the slower M4 core. The only communication success I have had using the M7 Core is with bare bones LoRa peer-to-peer communication directly using the Murata module (see MKRWAN issue 107), even Arduino LoRaWan using the MKRWAN library seems to have some threading issues.
Sorry to be a pain, but the whole point of the dual core Arduino is to be able to put extra processes on the other core.
Jeremy aka rocksetta on Twitter
The text was updated successfully, but these errors were encountered: