You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "paolovolpi (via GitHub)" <gi...@apache.org> on 2023/05/25 15:36:45 UTC

[GitHub] [nuttx] paolovolpi opened a new issue, #9392: RP2040 Raspberry Pico W SPI not working

paolovolpi opened a new issue, #9392:
URL: https://github.com/apache/nuttx/issues/9392

   I'm facing some issue with the Raspberry Pico W spi (both). Compiling for example the  raspberrypi-pico-w:st7735  project  using  raspberry SDK v1.4.0 and attaching an oscilloscope to the spi1 pins I can't  see any transaction executing the fb application. Same example but for the pico let me see the spi transaction. I already tested a bunch of pico-w without success.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] paolovolpi commented on issue #9392: RP2040 Raspberry Pico W SPI not working

Posted by "paolovolpi (via GitHub)" <gi...@apache.org>.
paolovolpi commented on issue #9392:
URL: https://github.com/apache/nuttx/issues/9392#issuecomment-1563910142

   After some more investigation I found that compiling nuttx with raspberry pico sdk 1.5.0 fix the issue BUT the wifi doesn't work with the newer sdk because the firmware blob files are changed between sdk 1.4 and 1.5.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RP2040 Raspberry Pico W SPI not working [nuttx]

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #9392:
URL: https://github.com/apache/nuttx/issues/9392#issuecomment-1959702009

   @paolovolpi my friend @JorgeGzm is facing similar issue. So you need to mix the wifi firmware from sdk 1.4.2 with sdk 1.5.0 to get WiFi working? Could you please share more details (the steps to get it working).
   
   I think we need to document this process or even better: update the NuttX files to working with recent SDK


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RP2040 Raspberry Pico W SPI not working [nuttx]

Posted by "paolovolpi (via GitHub)" <gi...@apache.org>.
paolovolpi commented on issue #9392:
URL: https://github.com/apache/nuttx/issues/9392#issuecomment-1960848068

   The problem with the spi was related to my custom pcb. The issue related to the SDK still remain. If you want to use sdk 1.5 you need to replace the sdk direcotry lib/cyw43-driver with the one from version 1.4


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RP2040 Raspberry Pico W SPI not working [nuttx]

Posted by "paolovolpi (via GitHub)" <gi...@apache.org>.
paolovolpi closed issue #9392: RP2040 Raspberry Pico W  SPI not working
URL: https://github.com/apache/nuttx/issues/9392


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RP2040 Raspberry Pico W SPI not working [nuttx]

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #9392:
URL: https://github.com/apache/nuttx/issues/9392#issuecomment-1959720406

   @paolovolpi it worked here! I clone 1.4.0 updated the firmware submodule lib/, then cp -a lib /tmp, clone 1.5.0 removed lib and cp -a /tmp/lib .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] acassis commented on issue #9392: RP2040 Raspberry Pico W SPI not working

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #9392:
URL: https://github.com/apache/nuttx/issues/9392#issuecomment-1563549507

   @paolovolpi can you please try with some old version? Maybe test some version just after st7735 support was added to confirm it was working.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] paolovolpi commented on issue #9392: RP2040 Raspberry Pico W SPI not working

Posted by "paolovolpi (via GitHub)" <gi...@apache.org>.
paolovolpi commented on issue #9392:
URL: https://github.com/apache/nuttx/issues/9392#issuecomment-1563883156

   Same test done with  commit 74f1bfbfd7d578ba74f1885548a8be0901df0c34 confirm the problem. Be careful is not an issue related to the specific application, I'm facing same problem with my personal projects, spi working fine on raspberry pico and fails on raspberry pico-w 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] acassis commented on issue #9392: RP2040 Raspberry Pico W SPI not working

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #9392:
URL: https://github.com/apache/nuttx/issues/9392#issuecomment-1564539516

   Hi @paolovolpi thank you for this investigation! We need to find some way to do hardware debug.
   Some CI test on real hardware is definitely required!
   
   Few days ago I tested ESP32-Devkit  with GT911 touchscreen and discovered that I2C is not sending all the data correctly. It sends the I2C Address, two bytes of GT911 internal register (ie. 0x8040) but doesn't send the value to that register. Same gt9xx.c driver tested on STM32F4Discovered board worked fine.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] paolovolpi commented on issue #9392: RP2040 Raspberry Pico W SPI not working

Posted by "paolovolpi (via GitHub)" <gi...@apache.org>.
paolovolpi commented on issue #9392:
URL: https://github.com/apache/nuttx/issues/9392#issuecomment-1635608251

   Hi after a lot of more investigation I was able to fix the issue using the  raspberry pico sdk 1.5.0. Still not working with the 1.4.0 but with the 1.5.0 the spi is working as expected (we had some hardware issue with our dev board). I had to replace the sdk 1.5.0 wifi driver (/lib/cyw43-driver) with the 1.4.2 one, because the file structures is changed and is not compatible with the nuttx sources.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org