Fwd: Re: BLE602 and NuttX

2020-11-30 Thread Matias N.
Sorry, forgot to "reply all"

- Original message -
From: "Matias N." 
To: dev@nuttx.apache.org
Subject: Re: BLE602 and NuttX
Date: Monday, November 30, 2020 11:02

Hi TL Lim,

I already have a Pinecone on the way, thank you.
Maybe some other NuttX developer would like to request one?

Regarding NuttX support, it would be good if Bouffalo/PINE64 could remain
in communication with NuttX maintainers to ensure any internal effort to support
BL602 can be indeed be integrated in mainline. I'm particularly interested in 
how
you plan to expose BLE/WiFi considering the low-level parts are closed-source.

For WiFi I imagine a similar path to how ESP32 is being supported could be 
followed
(I'm not familiar with that anyway). For BLE, the ideal interface is by means 
of HCI
commands. Is that the interface exposed by closed drivers?

Best,
Matias

PS: thanks for letting me know about SMA-Q3 switching MCU. That is too bad.

On Sun, Nov 29, 2020, at 14:47, TL Lim wrote:
> Hi Alan,
> 
> Sorry about occupying the "nutcracker" name :-)
> 
> For sure PINE64 interest to collaborate with Nuttx.
> 
> Please provide the Nuttx developers name, address, email address, and 
> phone number (for shipping purpose), I will inform shipping team send 
> out the BL602 EVB.
> 
> P/S: PINE64 and Bouffalo (not Buffalo) has good and deep relationship, 
> and for sure will support Nuttx mainline effort.
> 
> Hi Matias,
> 
> I just aware about the your DK08 smartwatch project. Please note that 
> SMA Q3 manufacturer already switch this model using non-Nordic SoC and 
> you can check with Aaron. I am happy to ship the PineTime dev kit for 
> your development.
> 
> If BL602 (the 4MB Flash version) deem suitable for smartwatch project 
> (main factor is the power consumption),  PINE64 may consider as PineTime 
> CPU candidate. Using GPIO8 for push button and has UART signal on the 4 
> pogo contact pin (5V, TxD, RxD, and Gnd).
> 
> P/S: The white label smartwatch vendor always keep switch CPU even in 
> same model and just pending on what component factory can get, this 
> situation also happens to the P8 watch.
> 
> Cheers,
> TL Lim, PINE64 Community Founder
> 
> On 11/29/2020 6:59 AM, Alan Carvalho de Assis wrote:
> > Hi Matias,
> >
> > Well, I hope that Buffalo Labs follows the Espressif path and submit
> > support to our mainline.
> >
> > I'm CC Pine64 people here, maybe they could be interested to work with us.
> >
> > It is funny because they selected the name Nutcracker for their
> > challenge, that was the name of a NuttX Distro that I planning to
> > develop, but people here didn't like to separate the apps/ from nuttx/
> > to let NuttX be only the kernel and let to create distros like for
> > Linux.
> >
> > Also I don't know if they are aware of your project:
> >
> > https://hackaday.io/project/175609-opensource-firmware-for-kospet-dk08-smart-watch
> >
> > BR,
> >
> > Alan
> >
> > On 11/29/20, Matias N.  wrote:
> >> It seems Buffalo Labs will add support for NuttX on their own:
> >>
> >> <https://github.com/bouffalolab/bl_iot_sdk/issues/1#issuecomment-734225337>https://github.com/bouffalolab/bl_iot_sdk/issues/1#issuecomment-734225337
> >>
> >> BTW, I'm expecting a BL602 from Pine64 (Pinecone) so at least I'll have a
> >> module
> >> to try it.
> >>
> >> On Tue, Oct 27, 2020, at 13:37, Brennan Ashton wrote:
> >>> For sure, I kind of recall a similar situation with the ESP modules, but
> >>> then it looked better in practice.   I kind of miss working on the Dialog
> >>> parts for this, they are so low power.
> >>>
> >>> --Brennan
> >>>
> >>> On Tue, Oct 27, 2020, 9:14 AM Matias N.  wrote:
> >>>
> >>>> If you can measure current consumption on sleep and idle, it would be
> >>>> great.
> >>>> The datasheet lists very high values.
> >>>>
> >>>> On Tue, Oct 27, 2020, at 12:37, Brennan Ashton wrote:
> >>>>> They are sending me some hardware in a couple weeks, so we shall see
> >>>>> what
> >>>>> comes of it.
> >>>>>
> >>>>> --Brennan
> >>>>>
> >>>>> On Tue, Oct 27, 2020, 8:04 AM Matias N.  wrote:
> >>>>>
> >>>>>> In case you missed it, there's a new RISC-V chip with BLE+WIFI
> >>>>>> support,
> >>>>>> clearly competing with ESP8266/ESP32.
> >>>>>> The documentation and code is just starting to appear and the
> >>>>>> company
> >>>> has
> >>>>>> given a good first step by asking
> >>>>>> users about comments. You can find the issue here:
> >>>>>> https://github.com/bouffalolab/bl_iot_sdk/issues/1
> >>>>>> Note NuttX being mentioned (most likely due to Brennan's offer to
> >>>>>> add
> >>>>>> support if Sipeeed can donate boards).
> >>>>>>
> >>>>>> Best,
> >>>>>> Matias
> 
> 



Re: BLE602 and NuttX

2020-11-30 Thread Matias N.
Hi TL Lim,

I already have a Pinecone on the way, thank you.
Maybe some other NuttX developer would like to request one?

Regarding NuttX support, it would be good if Bouffalo/PINE64 could remain
in communication with NuttX maintainers to ensure any internal effort to support
BL602 can be indeed be integrated in mainline. I'm particularly interested in 
how
you plan to expose BLE/WiFi considering the low-level parts are closed-source.

For WiFi I imagine a similar path to how ESP32 is being supported could be 
followed
(I'm not familiar with that anyway). For BLE, the ideal interface is by means 
of HCI
commands. Is that the interface exposed by closed drivers?

Best,
Matias

PS: thanks for letting me know about SMA-Q3 switching MCU. That is too bad.

On Sun, Nov 29, 2020, at 14:47, TL Lim wrote:
> Hi Alan,
> 
> Sorry about occupying the "nutcracker" name :-)
> 
> For sure PINE64 interest to collaborate with Nuttx.
> 
> Please provide the Nuttx developers name, address, email address, and 
> phone number (for shipping purpose), I will inform shipping team send 
> out the BL602 EVB.
> 
> P/S: PINE64 and Bouffalo (not Buffalo) has good and deep relationship, 
> and for sure will support Nuttx mainline effort.
> 
> Hi Matias,
> 
> I just aware about the your DK08 smartwatch project. Please note that 
> SMA Q3 manufacturer already switch this model using non-Nordic SoC and 
> you can check with Aaron. I am happy to ship the PineTime dev kit for 
> your development.
> 
> If BL602 (the 4MB Flash version) deem suitable for smartwatch project 
> (main factor is the power consumption),  PINE64 may consider as PineTime 
> CPU candidate. Using GPIO8 for push button and has UART signal on the 4 
> pogo contact pin (5V, TxD, RxD, and Gnd).
> 
> P/S: The white label smartwatch vendor always keep switch CPU even in 
> same model and just pending on what component factory can get, this 
> situation also happens to the P8 watch.
> 
> Cheers,
> TL Lim, PINE64 Community Founder
> 
> On 11/29/2020 6:59 AM, Alan Carvalho de Assis wrote:
> > Hi Matias,
> >
> > Well, I hope that Buffalo Labs follows the Espressif path and submit
> > support to our mainline.
> >
> > I'm CC Pine64 people here, maybe they could be interested to work with us.
> >
> > It is funny because they selected the name Nutcracker for their
> > challenge, that was the name of a NuttX Distro that I planning to
> > develop, but people here didn't like to separate the apps/ from nuttx/
> > to let NuttX be only the kernel and let to create distros like for
> > Linux.
> >
> > Also I don't know if they are aware of your project:
> >
> > https://hackaday.io/project/175609-opensource-firmware-for-kospet-dk08-smart-watch
> >
> > BR,
> >
> > Alan
> >
> > On 11/29/20, Matias N.  wrote:
> >> It seems Buffalo Labs will add support for NuttX on their own:
> >>
> >> https://github.com/bouffalolab/bl_iot_sdk/issues/1#issuecomment-734225337
> >>
> >> BTW, I'm expecting a BL602 from Pine64 (Pinecone) so at least I'll have a
> >> module
> >> to try it.
> >>
> >> On Tue, Oct 27, 2020, at 13:37, Brennan Ashton wrote:
> >>> For sure, I kind of recall a similar situation with the ESP modules, but
> >>> then it looked better in practice.   I kind of miss working on the Dialog
> >>> parts for this, they are so low power.
> >>>
> >>> --Brennan
> >>>
> >>> On Tue, Oct 27, 2020, 9:14 AM Matias N.  wrote:
> >>>
>  If you can measure current consumption on sleep and idle, it would be
>  great.
>  The datasheet lists very high values.
> 
>  On Tue, Oct 27, 2020, at 12:37, Brennan Ashton wrote:
> > They are sending me some hardware in a couple weeks, so we shall see
> > what
> > comes of it.
> >
> > --Brennan
> >
> > On Tue, Oct 27, 2020, 8:04 AM Matias N.  wrote:
> >
> >> In case you missed it, there's a new RISC-V chip with BLE+WIFI
> >> support,
> >> clearly competing with ESP8266/ESP32.
> >> The documentation and code is just starting to appear and the
> >> company
>  has
> >> given a good first step by asking
> >> users about comments. You can find the issue here:
> >> https://github.com/bouffalolab/bl_iot_sdk/issues/1
> >> Note NuttX being mentioned (most likely due to Brennan's offer to
> >> add
> >> support if Sipeeed can donate boards).
> >>
> >> Best,
> >> Matias
> 
> 


Re: BLE602 and NuttX

2020-11-29 Thread TL Lim

Hi Alan,

Sorry about occupying the "nutcracker" name :-)

For sure PINE64 interest to collaborate with Nuttx.

Please provide the Nuttx developers name, address, email address, and 
phone number (for shipping purpose), I will inform shipping team send 
out the BL602 EVB.


P/S: PINE64 and Bouffalo (not Buffalo) has good and deep relationship, 
and for sure will support Nuttx mainline effort.


Hi Matias,

I just aware about the your DK08 smartwatch project. Please note that 
SMA Q3 manufacturer already switch this model using non-Nordic SoC and 
you can check with Aaron. I am happy to ship the PineTime dev kit for 
your development.


If BL602 (the 4MB Flash version) deem suitable for smartwatch project 
(main factor is the power consumption),  PINE64 may consider as PineTime 
CPU candidate. Using GPIO8 for push button and has UART signal on the 4 
pogo contact pin (5V, TxD, RxD, and Gnd).


P/S: The white label smartwatch vendor always keep switch CPU even in 
same model and just pending on what component factory can get, this 
situation also happens to the P8 watch.


Cheers,
TL Lim, PINE64 Community Founder

On 11/29/2020 6:59 AM, Alan Carvalho de Assis wrote:

Hi Matias,

Well, I hope that Buffalo Labs follows the Espressif path and submit
support to our mainline.

I'm CC Pine64 people here, maybe they could be interested to work with us.

It is funny because they selected the name Nutcracker for their
challenge, that was the name of a NuttX Distro that I planning to
develop, but people here didn't like to separate the apps/ from nuttx/
to let NuttX be only the kernel and let to create distros like for
Linux.

Also I don't know if they are aware of your project:

https://hackaday.io/project/175609-opensource-firmware-for-kospet-dk08-smart-watch

BR,

Alan

On 11/29/20, Matias N.  wrote:

It seems Buffalo Labs will add support for NuttX on their own:

https://github.com/bouffalolab/bl_iot_sdk/issues/1#issuecomment-734225337

BTW, I'm expecting a BL602 from Pine64 (Pinecone) so at least I'll have a
module
to try it.

On Tue, Oct 27, 2020, at 13:37, Brennan Ashton wrote:

For sure, I kind of recall a similar situation with the ESP modules, but
then it looked better in practice.   I kind of miss working on the Dialog
parts for this, they are so low power.

--Brennan

On Tue, Oct 27, 2020, 9:14 AM Matias N.  wrote:


If you can measure current consumption on sleep and idle, it would be
great.
The datasheet lists very high values.

On Tue, Oct 27, 2020, at 12:37, Brennan Ashton wrote:

They are sending me some hardware in a couple weeks, so we shall see
what
comes of it.

--Brennan

On Tue, Oct 27, 2020, 8:04 AM Matias N.  wrote:


In case you missed it, there's a new RISC-V chip with BLE+WIFI
support,
clearly competing with ESP8266/ESP32.
The documentation and code is just starting to appear and the
company

has

given a good first step by asking
users about comments. You can find the issue here:
https://github.com/bouffalolab/bl_iot_sdk/issues/1
Note NuttX being mentioned (most likely due to Brennan's offer to
add
support if Sipeeed can donate boards).

Best,
Matias




Re: BLE602 and NuttX

2020-11-29 Thread Brennan Ashton
Yeah usually when that happens in a fork it does not go well.

Sipeed sent me a module via slow mail to support NuttX so hopefully that
will arrive in the next week or so and I can start. Perhaps having work
happening upstream will pressure them to do the right thing.

--Brennan

On Sun, Nov 29, 2020, 6:10 AM Matias N.  wrote:

> It seems Buffalo Labs will add support for NuttX on their own:
>
>  <
> https://github.com/bouffalolab/bl_iot_sdk/issues/1#issuecomment-734225337>
> https://github.com/bouffalolab/bl_iot_sdk/issues/1#issuecomment-734225337
>
> BTW, I'm expecting a BL602 from Pine64 (Pinecone) so at least I'll have a
> module
> to try it.
>
> On Tue, Oct 27, 2020, at 13:37, Brennan Ashton wrote:
> > For sure, I kind of recall a similar situation with the ESP modules, but
> > then it looked better in practice.   I kind of miss working on the Dialog
> > parts for this, they are so low power.
> >
> > --Brennan
> >
> > On Tue, Oct 27, 2020, 9:14 AM Matias N.  wrote:
> >
> > > If you can measure current consumption on sleep and idle, it would be
> > > great.
> > > The datasheet lists very high values.
> > >
> > > On Tue, Oct 27, 2020, at 12:37, Brennan Ashton wrote:
> > > > They are sending me some hardware in a couple weeks, so we shall see
> what
> > > > comes of it.
> > > >
> > > > --Brennan
> > > >
> > > > On Tue, Oct 27, 2020, 8:04 AM Matias N.  wrote:
> > > >
> > > > > In case you missed it, there's a new RISC-V chip with BLE+WIFI
> support,
> > > > > clearly competing with ESP8266/ESP32.
> > > > > The documentation and code is just starting to appear and the
> company
> > > has
> > > > > given a good first step by asking
> > > > > users about comments. You can find the issue here:
> > > > > https://github.com/bouffalolab/bl_iot_sdk/issues/1
> > > > > Note NuttX being mentioned (most likely due to Brennan's offer to
> add
> > > > > support if Sipeeed can donate boards).
> > > > >
> > > > > Best,
> > > > > Matias
> > > >
> > >
> >
>


Re: BLE602 and NuttX

2020-11-29 Thread Alan Carvalho de Assis
Hi Matias,

Well, I hope that Buffalo Labs follows the Espressif path and submit
support to our mainline.

I'm CC Pine64 people here, maybe they could be interested to work with us.

It is funny because they selected the name Nutcracker for their
challenge, that was the name of a NuttX Distro that I planning to
develop, but people here didn't like to separate the apps/ from nuttx/
to let NuttX be only the kernel and let to create distros like for
Linux.

Also I don't know if they are aware of your project:

https://hackaday.io/project/175609-opensource-firmware-for-kospet-dk08-smart-watch

BR,

Alan

On 11/29/20, Matias N.  wrote:
> It seems Buffalo Labs will add support for NuttX on their own:
>
> https://github.com/bouffalolab/bl_iot_sdk/issues/1#issuecomment-734225337
>
> BTW, I'm expecting a BL602 from Pine64 (Pinecone) so at least I'll have a
> module
> to try it.
>
> On Tue, Oct 27, 2020, at 13:37, Brennan Ashton wrote:
>> For sure, I kind of recall a similar situation with the ESP modules, but
>> then it looked better in practice.   I kind of miss working on the Dialog
>> parts for this, they are so low power.
>>
>> --Brennan
>>
>> On Tue, Oct 27, 2020, 9:14 AM Matias N.  wrote:
>>
>> > If you can measure current consumption on sleep and idle, it would be
>> > great.
>> > The datasheet lists very high values.
>> >
>> > On Tue, Oct 27, 2020, at 12:37, Brennan Ashton wrote:
>> > > They are sending me some hardware in a couple weeks, so we shall see
>> > > what
>> > > comes of it.
>> > >
>> > > --Brennan
>> > >
>> > > On Tue, Oct 27, 2020, 8:04 AM Matias N.  wrote:
>> > >
>> > > > In case you missed it, there's a new RISC-V chip with BLE+WIFI
>> > > > support,
>> > > > clearly competing with ESP8266/ESP32.
>> > > > The documentation and code is just starting to appear and the
>> > > > company
>> > has
>> > > > given a good first step by asking
>> > > > users about comments. You can find the issue here:
>> > > > https://github.com/bouffalolab/bl_iot_sdk/issues/1
>> > > > Note NuttX being mentioned (most likely due to Brennan's offer to
>> > > > add
>> > > > support if Sipeeed can donate boards).
>> > > >
>> > > > Best,
>> > > > Matias
>> > >
>> >
>>
>


Re: BLE602 and NuttX

2020-11-29 Thread Matias N.
It seems Buffalo Labs will add support for NuttX on their own:

 
https://github.com/bouffalolab/bl_iot_sdk/issues/1#issuecomment-734225337

BTW, I'm expecting a BL602 from Pine64 (Pinecone) so at least I'll have a module
to try it.

On Tue, Oct 27, 2020, at 13:37, Brennan Ashton wrote:
> For sure, I kind of recall a similar situation with the ESP modules, but
> then it looked better in practice.   I kind of miss working on the Dialog
> parts for this, they are so low power.
> 
> --Brennan
> 
> On Tue, Oct 27, 2020, 9:14 AM Matias N.  wrote:
> 
> > If you can measure current consumption on sleep and idle, it would be
> > great.
> > The datasheet lists very high values.
> >
> > On Tue, Oct 27, 2020, at 12:37, Brennan Ashton wrote:
> > > They are sending me some hardware in a couple weeks, so we shall see what
> > > comes of it.
> > >
> > > --Brennan
> > >
> > > On Tue, Oct 27, 2020, 8:04 AM Matias N.  wrote:
> > >
> > > > In case you missed it, there's a new RISC-V chip with BLE+WIFI support,
> > > > clearly competing with ESP8266/ESP32.
> > > > The documentation and code is just starting to appear and the company
> > has
> > > > given a good first step by asking
> > > > users about comments. You can find the issue here:
> > > > https://github.com/bouffalolab/bl_iot_sdk/issues/1
> > > > Note NuttX being mentioned (most likely due to Brennan's offer to add
> > > > support if Sipeeed can donate boards).
> > > >
> > > > Best,
> > > > Matias
> > >
> >
> 


Re: BLE602 and NuttX

2020-10-27 Thread Brennan Ashton
For sure, I kind of recall a similar situation with the ESP modules, but
then it looked better in practice.   I kind of miss working on the Dialog
parts for this, they are so low power.

--Brennan

On Tue, Oct 27, 2020, 9:14 AM Matias N.  wrote:

> If you can measure current consumption on sleep and idle, it would be
> great.
> The datasheet lists very high values.
>
> On Tue, Oct 27, 2020, at 12:37, Brennan Ashton wrote:
> > They are sending me some hardware in a couple weeks, so we shall see what
> > comes of it.
> >
> > --Brennan
> >
> > On Tue, Oct 27, 2020, 8:04 AM Matias N.  wrote:
> >
> > > In case you missed it, there's a new RISC-V chip with BLE+WIFI support,
> > > clearly competing with ESP8266/ESP32.
> > > The documentation and code is just starting to appear and the company
> has
> > > given a good first step by asking
> > > users about comments. You can find the issue here:
> > > https://github.com/bouffalolab/bl_iot_sdk/issues/1
> > > Note NuttX being mentioned (most likely due to Brennan's offer to add
> > > support if Sipeeed can donate boards).
> > >
> > > Best,
> > > Matias
> >
>


Re: BLE602 and NuttX

2020-10-27 Thread Matias N.
If you can measure current consumption on sleep and idle, it would be great. 
The datasheet lists very high values.

On Tue, Oct 27, 2020, at 12:37, Brennan Ashton wrote:
> They are sending me some hardware in a couple weeks, so we shall see what
> comes of it.
> 
> --Brennan
> 
> On Tue, Oct 27, 2020, 8:04 AM Matias N.  wrote:
> 
> > In case you missed it, there's a new RISC-V chip with BLE+WIFI support,
> > clearly competing with ESP8266/ESP32.
> > The documentation and code is just starting to appear and the company has
> > given a good first step by asking
> > users about comments. You can find the issue here:
> > https://github.com/bouffalolab/bl_iot_sdk/issues/1
> > Note NuttX being mentioned (most likely due to Brennan's offer to add
> > support if Sipeeed can donate boards).
> >
> > Best,
> > Matias
> 


Re: BLE602 and NuttX

2020-10-27 Thread Brennan Ashton
They are sending me some hardware in a couple weeks, so we shall see what
comes of it.

--Brennan

On Tue, Oct 27, 2020, 8:04 AM Matias N.  wrote:

> In case you missed it, there's a new RISC-V chip with BLE+WIFI support,
> clearly competing with ESP8266/ESP32.
> The documentation and code is just starting to appear and the company has
> given a good first step by asking
> users about comments. You can find the issue here:
> https://github.com/bouffalolab/bl_iot_sdk/issues/1
> Note NuttX being mentioned (most likely due to Brennan's offer to add
> support if Sipeeed can donate boards).
>
> Best,
> Matias


Re: BLE602 and NuttX

2020-10-27 Thread Alan Carvalho de Assis
Hi Matias,

Bouffalo Lab is following Espressif path, this is a good news!!!

Let's see if they will really open-source everything!

BR,

Alan

On 10/27/20, Matias N.  wrote:
> In case you missed it, there's a new RISC-V chip with BLE+WIFI support,
> clearly competing with ESP8266/ESP32.
> The documentation and code is just starting to appear and the company has
> given a good first step by asking
> users about comments. You can find the issue here:
> https://github.com/bouffalolab/bl_iot_sdk/issues/1
> Note NuttX being mentioned (most likely due to Brennan's offer to add
> support if Sipeeed can donate boards).
>
> Best,
> Matias