发 帖  
原厂入驻New
发烧友10周年庆典,全网超值优惠来袭!千元现金券,下单抽奖赶紧参与》》
[问答] PIC32MZ EF系列的外部存储器如何使用
326 PIC32 存储器 RAM
分享
我将使用APIC32 MZ2048 EFG100作为我的一个项目,但是它的RAM太少。我已经阅读了数据表(不是全部,而是关于处理器家族的基本部分和关于EBI和SQI接口的部分),但是不太清楚,甚至没有发现我能把多少内存放在它们上面,以及如何存储内存(SQI接口有多少个通道,但不是)。所以,真正的问题是:我怎样才能在PIC32 MZ EF家庭中放置更多的记忆,多少钱。对不起,如果我错过了一些重要的部分,我几乎睡在这里,因为我在这里的夜晚,但我真的需要知道这个快。

以上来自于百度翻译


      以下为原文

    Heya.
I will use a PIC32MZ2048EFG100 for one of my projects, but it has too little RAM. I have read the datasheet (not it entirely, but the parts about the basics of the processor family and about the EBI and SQI inteRFaces yes), but not understand very well, and even not found how many memory I can put on them, and how to put the memory (just how many lanes SQI interface has, but not how to use these lanes).
So, the real question is: How do I can put more memory on the PIC32MZ EF family, and how much.
Sorry IF I miss some important part, I am almost sleeping here because where I am it's night, but I really need to know this fast.
0
2018-10-26 16:10:30   评论 分享淘帖 邀请回答
11个回答
这个内存是用于数据存储还是执行代码?

以上来自于百度翻译


      以下为原文

    Is this memory for data storage, or to execute code from?
 
2018-10-26 16:25:32 评论

举报

用于数据存储。

以上来自于百度翻译


      以下为原文

    For data storage.
2018-10-26 16:41:59 评论

举报

您可能会考虑一个简单的SPI SRAM设备,因为它更容易设置。然而,EBI和SQI接口将存储器映射到MIPS核心的内部存储器。这样,它就可以像存储器中的任何其他对象一样访问。SQI的四个数据信号双向操作,因此命令(读或写)和数据以每时钟四位的方式输出。通常,从属部件默认为像经典SPI接口那样操作,然后命令它去四通道模式。EBI涉及数据和地址总线,以及控制信号。它是16位宽的数据总线,因此32位读需要多个操作。

以上来自于百度翻译


      以下为原文

    You might consider a simple SPI SRAM device, as it would be easier to set up. The EBI and SQI interfaces, though, map the memory to the internal memory of the MIPS core. That way, it can be accessed like any other object in memory.
 
The four data signals for the SQI operate bidirectionally, so the command (read or write) and data go out/in four bits with each clock. Usually the slave part defaults to operating like a classic SPI interface, and then you command it to go to quad-lane mode.
 
EBI involves data and address buses, along with control signals. It is 16-bits wide with the data bus, so 32-bit reads require multiple operations.
2018-10-26 16:52:33 评论

举报

但是,如何设置SPI SRAM存储器呢?而且,在我的项目中,我更喜欢具有最高速度的任何东西,根据你所说的,SQI看起来更快。我在哪里可以找到如何安装它呢?

以上来自于百度翻译


      以下为原文

    But, how do I setup SPI SRAM memory? And, in my project, I will prefer anything that has the maximum speed, and by what you say, SQI appears to be faster. Where do I find how to setup it, too?
2018-10-26 17:00:18 评论

举报

此外,有任何RAM芯片(设备,什么)比这里列出的1MB大?1MB将非常低,并且自从查看关于PIC32 MZ DA家族的页面时,它说它可以使用128MB DDR2外部存储器,我认为应该存在一些32 /64兆字节的芯片,对吧?

以上来自于百度翻译


      以下为原文

    Also, there is any RAM chip (device, whatever) larger than the 1Mb listed here? 1Mb will be very low, and since when viewing the pages about PIC32MZ DA family it says that it can use a 128Mb DDR2 external memory, I think that should exist some 32/64Mb chip, right?
2018-10-26 17:08:48 评论

举报

DRAM不是SRAM。DRAM使用每比特1个晶体管,SRAM 6或8个晶体管,最大的串行SRAM器件在1MB范围内。你会发现更大的并行SRAM设备,但价格要高得多,而DA不是EF。DA有一个DDR2 DRAM接口,它与SPI/SQI完全不同,甚至是EBI并行SRAM,需要比前一个引脚更多的引脚。最小的DA具有32兆字节的DDR2封装,这可能非常适合您的需要。

以上来自于百度翻译


      以下为原文

   


DRAM is not SRAM. DRAM uses 1 transistor per bit, SRAM 6 or 8 transistors.
 
The largest serial SRAM devices are in the 1MB range. You will find much larger parallel SRAM devices, but the price is much higher.
 
And the DA is not an EF. The DA has a DDR2 DRAM interface, which is completely different from an SPI/SQI, or even EBI parallel SRAM requiring a lot more pins than the former.
 
The smallest DA's have 32MB of DDR2 on package, which may well suit your needs.
2018-10-26 17:18:08 评论

举报

是的,我知道DRAM和SRAM的区别,也知道DA和EF的区别。编辑时我省略了一些文本。知道我问了关于32 / 64 MB芯片。我将使用DA芯片的另一个目的(他们的主要一个)在同一个项目,但你谈到了并行SRAM和…哦,那个价格伤害了我的口袋…但我认为这是唯一的方法。我仍然不知道如何设置芯片,我只需要把它们连接到微控制器的端口,我们就完成了吗?

以上来自于百度翻译


      以下为原文

    Yeah, I know about the difference of about the DRAM and the SRAM, and also about the DA and EF difference. I omitted some text while editing. Knowing that I asked about the 32/64Mb chips.
I will be using the DA chips for another purpose (their main one) in the same project, but you spoke about the parallel SRAM and... oh, that price hurts my pockets... but I think will be the only way.
And I remain not knowing exactly how to setup the chips, I need just to connect them to the ports at the microcontroller and we are done?
2018-10-26 17:35:08 评论

举报

不完全是这样。您需要设置SQI/EBI接口和TLB来映射地址。您还可能需要一些链接器脚本工作来定义部分。最简单的方法是使用和声。(至少让它起作用。)然后,如果你不想使用和声,那么你可以复制init代码。

以上来自于百度翻译


      以下为原文

   
Not quite. You need to set up the SQI/EBI interface, and the TLB to map the addresses. You may also need some linker script work to define some sections.
The easiest way is to use Harmony. (At least to get it working. Then if you don't want to use Harmony, you can then just copy the init code.)
2018-10-26 17:46:12 评论

举报

嗨,有一些PIC32 EF DA设备,内部有32 MB SDRAM,它避免路由外部存储器,内部SDRAM被映射到处理器空间中。

以上来自于百度翻译


      以下为原文

    Hi,
There are some PIC32EF DA devices with INTERNAL 32MB SDRAM.
It avoids to route external memory and the internal SDRAM is mapped in the processor space
Regards
 
2018-10-26 17:53:43 评论

举报

THACK,你解决了这个系列MCU的一个问题。当我看到关于他们的页面时,我读课文并思考着:“它内部有32 MB,或者内部有640KB,我需要使用外部RAM吗?”因为它说“640KB的SRAM,可用的片上32 MB或128MB外部可寻址DDR2 DRAM”,这个文本对我来说不是很清楚。

以上来自于百度翻译


      以下为原文

   


Thaks, you solved one question about this series of MCUs. When I saw the page about them, I read the text and stay thinking like "it have 32Mb internally, or 640KB internally and I need to use external RAM?" because it says "640KB of SRAM, available on-chip 32MB or 128MB externally addressable DDR2 DRAM", this text is not that clear to me.
2018-10-26 18:08:27 评论

举报

嗨,这个“说明”的原因是,实际上有2个在封装内死亡:PIC32 MZ DA和SDRAM存储器,它们相互连接。

以上来自于百度翻译


      以下为原文

    Hi,
The reason for this "description" is that there are in reality 2 dies inside the package : the PIC32MZ DA and a SDRAM memory which are connected to each other.
Regards
2018-10-26 18:15:36 评论

举报

只有小组成员才能发言,加入小组>>

47个成员聚集在这个小组

加入小组

创建小组步骤

关闭

站长推荐 上一条 /10 下一条

快速回复 返回顶部 返回列表