完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
嗨,我使用的是和谐V2.01,XC32 V.1.42,MPLABX 3.40。我已经创建了简单的状态机来在SRAM芯片2K640上写入大小为8的缓冲器。Similary,读回在写状态机中写入的相同地址。时钟图看起来很好,但是每次SPI读取最后一个数据时,我都写在写状态机上。我不能在这里攻击我的代码文件。
以上来自于百度翻译 以下为原文 Hi, I am using HARMony V2.01, XC32 V.1.42, MPLABx 3.40. I have created simple state machine to Write the Buffer of size 8 on SRAM chip 23K640. Similary, reading back same address which are written in write state machine. Clock diagram seems fine but every time my SPI is reading last data I written in write state machine. I am not able to attch my code file here. Attached Image(s) |
|
相关推荐
2个回答
|
|
|
我不认为SPI驱动程序或PIC有任何问题,否则您将不会在总线中看到任何东西。这可能是SRAM RK3K640在使用字节操作模式时的正常行为,这是默认操作模式。
以上来自于百度翻译 以下为原文 I don't think there is any problem with the SPI driver or the PIC, otherwise you wouldn't see anything in the bus. It is probably the normal behaviour of the SRAM 23K640 when you are using the Byte Operation mode, which is the default one. |
|
|
|
|
|
你是正确的,它是在字节模式,这就是为什么它反复发送相同的字节,我手动改变模式,现在顺序。它发送正确的数据,谢谢!!
以上来自于百度翻译 以下为原文 You are correct, It was in byte mode and that's why its repeatedly sending same byte, I manually changed the mode to sequential now. Its sending proper data. Thanks!! |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1124浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1097浏览 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 07:58 , Processed in 0.777546 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2009