Go Down

Topic: WiFiNINA and Portenta (Read 504 times) previous topic - next topic

jerteach

Has anyone got the Portenta working with the WiFiNINA library yet? The examples don't compile for me, possibly it is clashing with the WiFi.h library, not really sure. Anyone having any luck, just trying to make a stable interactive webpage.

jwestmoreland

#1
Jul 24, 2020, 06:27 am Last Edit: Jul 25, 2020, 12:46 am by jwestmoreland
jerteach,

The Portenta uses a new WiFi module from Murata (using a Cypress SoC):

https://wireless.murata.com/type-1dx.html

The NINA is ESP32 based and comes from uBlox.

So, unfortunately, these aren't compatible (from a firmware perspective).

If you want to use UDP/Multicast with the Portenta - you need to grab the latest from:

https://github.com/arduino/ArduinoCore-mbed.git

There have been some enhancements in the last week or so.

Basic functionality is there - but UDP/Multicast have been added/fixed latelty.

I like the WiFiNINA too - the ESP32 stuff is nice especially if you want to add some custom features.

Regards,
John

jerteach

John. You are a wealth of knowledge. Thank you, I will be messing around with that.

jwestmoreland

jerteach,

Ha!  You are too kind.

I've been doing this for a while...

But, this field is so vast, no one can know everything.

Just glad I can help!

I'm looking for ways to possibly write custom firmware for the new WiFi on Portenta.

Regards,
John

jerteach

Got a web server working without the new version, (which looked tricky to activate), the issue was that analogRead() was somehow killing it, so that will be a new thread.

All my examples are at https://github.com/hpssjellis/my-examples-for-the-arduino-portentaH7

The webserver is the 5th example

jwestmoreland

jerteach,

Those look nice and it's a good idea - can be used as a debug tool when new releases are done to see if anything has broke.

The analogRead() issue may have been fixed here - worth a look:

https://github.com/arduino/ArduinoCore-mbed/issues/9
https://github.com/arduino/ArduinoCore-mbed/issues/9

Regards,
John

jerteach

John. Brings up the question, where is the releases page for the MBED github?  Wondering when the latest library was released

I don't see it in the normal place https://github.com/arduino/ArduinoCore-mbed

I just had the problem with analogRead today, so there might still be some issues. I will mess around with it a bit, was going to be my next example program anyway.

jerteach


The analogRead() issue may have been fixed here - worth a look:

https://github.com/arduino/ArduinoCore-mbed/issues/9
https://github.com/arduino/ArduinoCore-mbed/issues/9

Regards,
John

Hey John can you read this post and try out the code for analogread. I just alternate connecting 3V3 or ground to A0 and see what the serial output says.


https://forum.arduino.cc/index.php?topic=693481.msg4686648#msg4686648

jwestmoreland

jerteach,

I would be glad to but I sortof have my Portenta disabled at the moment - it's not bricked but U10 the MC34PF1550A4EP is evidently not coming up all of the way and that controls all of the power rails on the board.

I was experimenting with the bootloader and got a little carried away.  Interesting though the M7 core appears to be alive as I'm getting messages out of Serial still.

As soon as the Portenta is back I'll give it a try. 

Regards,
John



jwestmoreland

#9
Aug 01, 2020, 06:56 am Last Edit: Aug 01, 2020, 06:57 am by jwestmoreland
John. Brings up the question, where is the releases page for the MBED github?  Wondering when the latest library was released

I don't see it in the normal place https://github.com/arduino/ArduinoCore-mbed

I just had the problem with analogRead today, so there might still be some issues. I will mess around with it a bit, was going to be my next example program anyway.
jerteach,

Ideally the latest would be in the 'master' or 'head' of the git repository - but when work is being done the latest can be in a branch that's off of the master or head.

Arduino mbed location

But, there's no explicit 1.2.2 or 1.2.1 in that directory structure.

Also, for the mbed-os itself - there's a fork here:

Arduino Fork Of mbed-os branch list

and you can take a look at the branches that currently exist.

HTH,
John


jwestmoreland

Hey John can you read this post and try out the code for analogread. I just alternate connecting 3V3 or ground to A0 and see what the serial output says.


https://forum.arduino.cc/index.php?topic=693481.msg4686648#msg4686648
jerteach,

I posted an example in the 'analogRead()' thread - I haven't tried to add Vref yet - i'll try that and see if it makes any difference in the readings.  The float values look interesting but that could just be anomalous. 

Regards,
John

Go Up