完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我们使用的是WAMC1510和SAMD21。我们使用的是ASF 3.33.0。下面描述的问题存在于我们尝试过的所有ASF版本中(大约5个以前版本)。在大约一个小时的TCP通信之后,我得到:(APP)[SPRIDEATAYRADI] [779 ] [NMI SPI]:失败的数据响应读…(00)(APP)[SPRI[ReQuiReG] [1060 ] [NMI SPI]:失败的数据读取(APP)(Err)[SPRYR ]。(1084)重置并重试10 20100调用函数iSIFIFISR(),它永远循环。这是很难调试和测试,因为它需要这么长的时间来发生错误。它似乎与堆栈指针无关。任何帮助都会被赏识的。谢谢,罗伯特。
以上来自于百度翻译 以下为原文 We are using the Winc1510 with a SAMD21. We are using ASF 3.38.0. The problem described below exists on all ASF versions that we have tried (about 5 previous versions). After about an hour of TCP communication, I get: (APP)(ERR)[spi_data_read][779][nmi spi]: Failed data response read...(00) (APP)(ERR)[spi_read_reg][1060][nmi spi]: Failed data read... (APP)(ERR)[spi_read_reg][1084]Reset and retry 10 20100 The calling function is hif_isr() which loops forever. This is difficult to debug and test as it takes so long for the error to happen. It does not appear to be related to the stack pointer. Any help would be appreciated. Thanks, Robert |
|
相关推荐
4个回答
|
|
|
嗨,你应该输入一张票到Microchip技术支持,得到一些助手。
以上来自于百度翻译 以下为原文 Hi, You should enter a ticket to Microchip technical support to get some help Regards |
|
|
|
|
|
我解决了这个问题。我使用WiC1510的I/OS来控制LED。函数M2MyPurixGPIOSSETIVAL()使用SPI端口。在调用SPI写的过程中,函数HIFIFHANDLYISR()也使用这个SPI端口。解决方案是在退出ISR之前调用2MyTurnGiPooStIyVar()。
以上来自于百度翻译 以下为原文 I solved this problem. I am using the Winc1510's I/Os to control LEDs. The function, m2m_periph_gpio_set_val() uses the SPI port. In the middle of a call to the SPI write, the function hif_handle_isr() was also using this SPI port. The solution was to call m2m_periph_gpio_set_val() just before exiting the ISR. Regards, -Robert |
|
|
|
|
|
HIFIHANDLYSISR()应该由M2MyWiFixHealLeEngEs()在主()中调用,那么它如何中断SPI写呢?
以上来自于百度翻译 以下为原文 hif_handle_isr() should be called by m2m_wifi_handle_events() in the main(), so how can it interrupt a SPI write? |
|
|
|
|
|
是的,你是正确的,它是N'thIFHANDLYISR(),我一定是从回调中调用M2MyPurixGPIOSSETIVAL()。
以上来自于百度翻译 以下为原文 Yes, you're correct, it wasn't hif_handle_isr(), I must have been calling m2m_periph_gpio_set_val() from a callback. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475 浏览 0 评论
5794 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1124浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1098浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
873浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 12:15 , Processed in 0.699255 second(s), Total 80, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1275