7 years, 5 months ago.

Do the Dot examples actually work?

I don't see any output on the seril port. I've tried both the USB serial and the UART on the xDot dev board.

Question relating to:

The xDot® is a low cost, low power LoRa Module.

Andrew,

Can you let me know what versions of the libxDot-mbed5/libxDot-dev-mbed5 and mbed-os you're using?

Cheers,

Mike

posted by Mike Fiore 25 Oct 2016

Latest version imported into example

libxDot-mbed5 - 7:aff2c05 mbed-os - 2549:e435a07

thanks Andrew

posted by Andrew Lindsay 26 Oct 2016

They work OK for me but I2c is totally broken... Certainly on the mdot anyway. See https://developer.mbed.org/questions/75713/mDot-mbed-os-515/

If you use mbed-os 5.2 it sits in a mutex handler very early on so this might be the cause of your issue. You need to use 5.1.5

posted by Chris Snow 26 Oct 2016

Thanks, its not the first time Multitech libraries need specific versions just to get it to work. It's a constant battle. I was led to believe that xDot support was in mbed-os 5.2 when being used via the online environment.

I'll give 5.1.5 a try.

thanks

Andrew

posted by Andrew Lindsay 26 Oct 2016

Now if you say the I2C is borked in 5.1.5 then that's no good either as the ISL29011 lux sensor used in the examples might not work.

posted by Andrew Lindsay 26 Oct 2016

Its not just me that is frustrated with specific library versions then!, having looked a bit further the i2c issues relate to the STM32F4 series, so you are probably not affected. 5.1.5 will most likely fix your issues.

posted by Chris Snow 26 Oct 2016

1 Answer

7 years, 5 months ago.

Andrew,

In the on line compiler, I imported the Dot-Examples along with the stable version of the xDot library (versus the dev version) then built the ota-example and ran it on an xDot. It is working fine for me. It reads the light sensor and reports expected values as I change the light level. The mbed-os version I used was 5.1.5.

As for the mDot, I know I had a problem with 5.1.5 when building our dot box application on it. I had to roll back to 5.1.4. The dot box application uses the I2C interface to read sensors.

Leon

Accepted Answer

I will give 5.1.4 a try then, I also have a ticket open #5075194 with Multitech, though i'm waiting on a reply...

posted by Chris Snow 26 Oct 2016

Thanks. I've found I have to change the serial to use Serial pc(UART1_TX, UART1_RX);

instead of

Serial pc(USBTX, USBRX);

So not sure if there is some definitions that are not correct. I can only see output that is created using

pc.printf("Hello");

rather than the logInfo or other log commands.

Now got the xDot reading light sensor and joining network!

thanks

Andrew

posted by Andrew Lindsay 26 Oct 2016