完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好!我是PSoC和惊人电子学世界的新手。我使用PSoC做了一个相当复杂的项目,但是我注意到一个简单的应用,比如闪烁LED,消耗了相当大的内存百分比。谁能帮助我如何连接一个外部EEPROM,哪些EEPROM是兼容PSoC,以便我可以买到正确的组件。
我的项目有一个复杂的算法,所以一个大的C代码,我也需要存储大量的数据。请帮助! 以上来自于百度翻译 以下为原文 Hi! I'm a newbie to the world of PSoC and amazing electronics. Im doing a fairly complicated project using PSoC, however I notice that a simple application like blinking an LED consumes a fairly large percentage of the memory. Can anyone please help me on how to interface an external EEPROM and which EEPROM is compatible with PSoC so that I can buy the right components. My project has a complex algorithm, so a large C code and I'll also need to store a vast amount of data. Please help! |
|
相关推荐
10个回答
|
|
|
|
|
|
1。PSOC4只有最大的32 K闪存和4K RAM,没有很多。你保证你的项目够了吗?
2。什么样的EEPROM你想要接口,有正常的字节宽和串行版本。 三。你可以将你的需求在这里,所以我们可以看到如果芯片是为你的项目足够好。 以上来自于百度翻译 以下为原文 1. PSoC4 only has max. 32k flash and 4k RAM, not a lot. Are you sure you it is enough for your project? 2. What kinds of EEPROM you want to interface, there are normal byte wide and serial versions as well. 3. You can post your requirment here so we can help you to see if the chip is good enough for your project. |
|
|
|
基本上,您可以连接任何EEPROM,使用串行接口(SPI或I2C)。选择哪一个取决于这些接口中是否有一个已经占用了您的解决方案。除此之外,选择任何适合你的需要。
什么是“大量数据”?可能是PSoC4不是你的问题的合适工具,也许PSoC5会更适合? 您应该考虑将算法的部分移入PSoC硬件(UDB)-这使得它更快,消耗更少的CPU资源。 以上来自于百度翻译 以下为原文 Basically you can connect any EEPROM which uses a serial interface (SPI or I2C). Which one to choose depends whether one of these interfaces is already occupied in your solution. Apart from that, choose whatever fits your needs. What is 'a vast amount of data'? Could it be that a PSoC4 is not the right tool for your problem, and maybe a PSoC5 would be more suited? You should think about moving parts of your algorithm into the PSoC hardware (UDBs) - this makes it faster and consumes less CPU resources. |
|
|
|
如果你描述了基本的应用,论坛可以潜在地指导你。
正确的家庭。 你眨眼的LED项目,是闪光灯还是SRAM消耗你觉得过度? 创建者3的发布改变了SRAM的报告方式。 以上来自于百度翻译 以下为原文 If you describe the basic application the forum can potentialy guide you to the right family. Your blink LED project, was it FLASH or SRAM consumed you feel was excessive ? The release of Creator 3.0 changed the way SRAM is reported - |
|
|
|
我试图使检测和存储不同的遥控器红外消息包的装置。使其与众多的数据格式兼容,我想检测上升和下降沿的一个包,这意味着存储定时器60-80 32位的价值观,我想这样的店至少15-20包我的设备。
我想我需要一个串行EEPROM,因为我想快速存储上升/下降沿使我不想念网络边缘。另外,我可能需要接口键盘和屏幕在后期如果项目,所以我需要EEPROM存储数据和程序存储器。 感谢所有的及时回复!! 以上来自于百度翻译 以下为原文 I am trying to make device to detect and store IR message packets from different remote controls. To make it compatible with the numerous data formats, I want to detect the rising and falling edges in a packet, which translates to storing 60-80 32 bit values from a timer, and I want to store atleast 15-20 such packets in my device. I assume that I'll need a serial EEPROM, because I want to quickly store the rising/falling edge so that I dont miss the net edge. Also, I may need to interface a keypad and screen at a later stage if project, so I may need EEPROM to store data as well as code memory. Thanks to all for the prompt reply!! |
|
|
|
关于设计的几点思考
具有32位@ 48 MHz的定时器分辨率将给出最大分辨率为90秒的时间,分辨率约为0.02秒。我认为16位分辨率将是足够的。 在两个边之间写入EEPROM将不起作用,因为所需的时间可以很容易地在一些MS的范围内。 解决方案可以是:将一个完整的序列缓冲到SRAM,并在验证时存储到EEPROM中。 当必须播放序列时,将其反转:从EEPROM到SRAM,然后播放。 试着估计你的显示器+ EEPROM +键盘所需的引脚数,这样你就不会超过PSoC4的PUNCUT。 鲍勃 以上来自于百度翻译 以下为原文 Some thoughts about your design: Having a timer resolution of 32 bits @ 48MHz would give a time of max 90 seconds with a resolution of about 0.02µs. I think that 16 bit resolution would be sufficent. Writing to eeprom between two edges will not work since the required time can easily be in the range of some ms. Solution can be: Buffer a single complete sequence to sram and when verified store to eeprom. Reverse this when a sequence has to be played: from eeprom to sram and then play. Try to estimate the number of pins needed for your display + eeprom + keypad so that you will not exceed PSoC4's pincount. Bob |
|
|
|
你可能看串行NOR闪存,写入时间,256字节,5毫秒的页。
然而,100K擦除周期的限制是典型的。 或FLAS/RAM组合部件。 问候,Dana。 以上来自于百度翻译 以下为原文 You might look at serial NOR FLASH, write times, 256 bytes, 5 mS for the page. 100K erase cycles limitation typical however. Or FLASH/RAM combo parts. Regards, Dana. |
|
|
|
1。由于大多数IR使用飞利浦或NEC协议,是否更容易解码IR代码并存储代码而不是脉冲序列?
2。如果你想远程学习并用一个简单的字符LCD显示,PSoC4应该是可以的,你可以使用EEPROM仿真器来存储IR代码。 三。关于PSoC系列的好处是如果你需要一个更大的芯片或更多的资源,你可以切换到psoc5和港口项目很少或没有变化,在你的项目。 以上来自于百度翻译 以下为原文 1. As most IR using the Philips or the NEC protocol, would it be easier to decode the IR code and store the code rather then the pulse train? 2. If you want to make a learning remote and with a simple character LCD display , PSoC4 should be OK and you can use the EEPROM emulator to store the IR code. 3. The good thing about PSoC series is if you need a bigger chip or more resources, you can switch to PSoC5 and port your project across with little or no change to your project. |
|
|
|
是的,我想解码NEC或飞利浦格式,然后把数据存储在内存中。由于大量的可用格式,我想知道这是否是一个更好的解决方案。
以上来自于百度翻译 以下为原文 Yes, I thought of decoding the NEC or philips format and then storing the data in the memory. Because of the vast number of formats available i was wondering if this could be a better solution. |
|
|
|
嗯,这两种格式是最常用的。存储TH原始时间可能是每种格式的100%的唯一解决方案。
再次,你应该能够使用的psoc4 EEPROM仿真数据存储。 以上来自于百度翻译 以下为原文 Well, the two format would be the most commonly used. Storing th raw timing may be the only solution for 100% of every format. Again, you should be able to use the EEPROM emulator on the PSoC4 to store the data. |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2105 浏览 1 评论
1851 浏览 1 评论
3669 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1786 浏览 6 评论
1536 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
568浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
422浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
437浏览 2评论
383浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
915浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 06:46 , Processed in 0.999560 second(s), Total 95, Slave 79 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号