It's OK now, thanks a lot !

On 2021/09/29 17:20:27, murat tologlu <mtolo...@hotmail.com> wrote: 
> Hi Gustavo,
> 
> Very good info, thanks. I'll try adding SPI initialization for 
> esp32-wrover-kit.
> 
> BR,
> Murat 
> 
> On 2021/09/29 16:50:33, Gustavo Henrique Nihei <ghni...@gmail.com> wrote: 
> > Hi Murat,
> > 
> > The bringup procedure for esp32-wrover-kit does not initialize the
> > character device driver for any SPI channel.
> > Please, take a look at the code for the esp32-devkitc board:
> > https://github.com/apache/incubator-nuttx/blob/master/boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c#L398-L407
> > 
> > Best regards,
> > Gustavo.
> > 
> > 
> > On Wed, Sep 29, 2021 at 12:23 PM Murat Tologlu <mtolo...@hotmail.com> wrote:
> > 
> > > Hi Alan,
> > >
> > > Thanks for your help.
> > >
> > > It is already very similar ( please see the attached screen capture ).
> > >
> > > BR,
> > > Murat
> > >
> > > -----Original Message-----
> > > From: Alan Carvalho de Assis <acas...@gmail.com>
> > > Sent: Wednesday, September 29, 2021 3:02 PM
> > > To: dev@nuttx.apache.org
> > > Subject: Re: How to use apps/system/spi "SPI Tool"
> > >
> > > Try to do it:
> > >
> > > Device Drivers  --->
> > > [*] SPI Driver Support  --->
> > > [*]   SPI character driver
> > >
> > > BR,
> > >
> > > Alan
> > >
> > > On 9/29/21, murat tologlu <mtolo...@hotmail.com> wrote:
> > > > Hi,
> > > >
> > > > I have esp32-wrover-kit working, SPI2 and SPI3 are already configured
> > > > for lvgl and mmcsd, working properly.
> > > >
> > > > I also enabled SYSTEM_SPITOOL in  Application Configuration --> System
> > > > Libraries and NSH Add-Ons, it works.
> > > >
> > > > However, when I run
> > > >
> > > > nsh> spi bus, I get
> > > >
> > > > BUS   EXISTS?
> > > > Bus 0: NO
> > > > Bus 1: NO
> > > > Bus 2: NO
> > > > Bus 3: NO
> > > >
> > > > and therefore I can't use any SPI bus.
> > > >
> > > > What should I do more?
> > > >
> > >
> > 
> > 
> > -- 
> > Gustavo Henrique Nihei
> > 
> 

Reply via email to