目前pynq z2使用spi的slave模式,但在跟dsp溝通的時候會有問題。我們原先猜測是會多一個0在最前面,像是我原先要傳 1111111111111111 結果會變成 0111111111111111, 多的1會被推到下一列,試著手動全部往前推一位後仍然會一些有錯誤,不知道這個問題是甚麼導致的。

chipdebug
超级版主0 你找个示波器或者链辑分析仪抓一下管脚 的波形,看看实际发送的有没有多出一个0来,另外SPI有四种模式,你要注意模式匹配。4年前

石斑跳跳
作者0 有以一樣spi模式設定測試,訊號確認沒有多0,但在fpga這邊收到的值還是有錯誤。4年前@chipdebug

chipdebug
超级版主0 那就是FPGA解错了,用FPGA内部的逻辑分析仪抓一下,看看错在哪了?你那个SPI SLAVE的问题后来解决了?4年前@石斑跳跳

石斑跳跳
作者0 謝謝您,我們會再嘗試看看。4年前@chipdebug

石斑跳跳
作者0 可以跟您請教一下FPGA內部的邏輯分析儀的使用方法嗎?目前我們都是以Jupyter直接使用的。4年前@chipdebug

chipdebug
超级版主0 搜索vivado ILA , https://docs.xilinx.com/r/en-US/ug908-vivado-programming-debugging/ILA4年前@石斑跳跳

石斑跳跳
作者0 抱歉回復得比較遲,Slave的問題解決了,目前還在處理多0的問題。4年前@chipdebug
回答7
只看作者最新最热
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/shop/widgets/widgets-product.php:652 Stack trace: #0 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/csf-framework/classes/widget-options.class.php(676): zib_shop_widget_ui_oneline_product_lists() #1 /www/wwwroot/chipdebug.com/wp-includes/class-wp-widget.php(394): CSF_Widget->widget() #2 /www/wwwroot/chipdebug.com/wp-includes/widgets.php(847): WP_Widget->display_callback() #3 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/inc/template.php(42): dynamic_sidebar() #4 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/page/posts.php(36): zib_bbs_page_template() #5 /www/wwwroot/chipdebug.com/wp-includes/template.php(880): require_once('...') #6 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/inc/class.init.php(426): load_template() #7 /www/wwwroot/chipdebug.com/wp-includes/class-wp-hook.php(353): zib_bbs->template_redirect() #8 /www/wwwroot/chipdebug.com/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters() #9 /www/wwwroot/chipdebug.com/wp-includes/plugin.php(523): WP_Hook->do_action() #10 /www/wwwroot/chipdebug.com/wp-includes/template-loader.php(23): do_action() #11 /www/wwwroot/chipdebug.com/wp-blog-header.php(19): require_once('...') #12 /www/wwwroot/chipdebug.com/index.php(17): require('...') #13 {main} thrown in /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/shop/widgets/widgets-product.php on line 652


超级版主