PSoC™ 4 Forum Discussions
Hello, everybody,
I understand some electronics but I am not an expert and I am trying to incorporate a flash memory into my PSOC 4 (cyble 222014-01).
I need to store data acquired by the ADC built into the PSOC 4 and keep it for a long period of time. According to my estimation a memory of about 1 Gbyte would be enough. Although I am interested in the memory being as big as possible, within the limits of what is possible (max 2-3 Gbytes).
I don't need to connect this memory to any computer. I need to be able to write blocks of bytes and be able to read them. I say this because I have seen a repository of "Jesús Rodríguez" where he adapts a library of "ELM-Chan" called FatFs specially oriented to this kind of devices. Basically it implements a fat file system in memory, which adds a lot more complexity.
Since some people within the forum understand much more about electronics and have more experience I would like to know what ways are there to add a large memory to these SoC's.
My method of investigating the possibilities has been to go to Mouser to find out what types of memory exist. The most promising ones are NAND Flash with SPI interface that can have up to 8 GBits of capacity.Another important aspect is that the read/write speed is not critical, the idea is to write the data as it is produced.I have seen some 2 Gbits memory chips like the W25M02GV, TC58CVG1S3HRAIJ or MT29F2G01ABBGDWB.I have seen that cypress also sells memories, it would be best if it could be integrated in some simple way.
Something similar to what I might be interested in is this cypress AN89659 project, but it is not exactly what I am looking for.There are some libraries for other platforms for NOR FLASH memories like: SpiffsParticleRK , SPIMemory or for example SerialFlash. But it is clear that this type of memory is used as RAM because they are very fast and expensive.
Although it is not specified for the PSOC 4 I have found the FLogFS library that deals with NAND flash memories.I have thought about starting an arduous task of adaptation (is my field, I am a computer engineer), but I think that before going ahead it is worth asking the Forum for advice.
I am not sure which way to go for the task I have to perform, so I ask the committee of wise men of this Forum: is it possible to perform what I want to do?
On the other hand if FatFs are easier to implement I will go for it. Although I don't see impossible the adaptation of other libraries (if your licenses allow it) I think I'll choose the easiest way.
Regards and thanks
Show LessFor an evaluation project, I'm using a CYBLE022-001 strictly as micro-controller. I have no need for BLE at all at this point. I have not included the BLE component in my schematic. By default, is the BLE transmitter and receiver turned off? If not, is there a way to turn off or disable both TX and RX radio? Thank you in advance
Show LessHow to implement the soft power on/off with PSOC I/O or capsense button? Is it possible to make it without external IC component?
best regards
Ken
Show LessI am trying to use the port 10 as an input on the Pioneer Kit L. But for some reason I am not able to use them since something, or for some reason they are high every time. I believe the U10 (the level translator) has something to do. And I am wondering if removing this level translator would fix this? Why are these ports high (from 10.0 to 10.3) high when nothing is connected to the level translator?
Thank you!
Enrique
Show LessHello,
I would like to execute a repeated start of I2C master with PSoC4000S.
According to SCB component datasheet, it seems that it can be executed by setting the mode of the argument.
uint32 SCB_I2CMasterWriteBuf(uint32 slaveAddress, uint8 * wrData, uint32 cnt, uint32 mode)
In order to make a repeated start from the second I2C communication, I tried the following three mode settings
in the first I2C communication.
As a result, running this API will lock the SCL to "low".
The return value of this API is I2C_I2C_MSTR_NO_ERROR.
The return value of the I2C_I2CMasterStatus API is I2C_I2C_MSTAT_XFER_INP.
How can I execute a repeated start?
Best regards,
Yocchi
Show LessHello,
I want to extend the compliance voltage of the iDAC to 20V using a current mirror such that I can apply 0~100uA DC current over a wide range of loads.
Increasing Voltage Compliance with iDAC and Current Mirror
The above thread suggests a Wilson current mirror.
How would the iDAC and load be connected with respect to the schematic above. And which BJTs are recommended (small footprint desired over accuracy)? Would the BCV61 or BCV62 transistors work?
Show LessDear All,
In the test process, there is a certain probability of the following errors: when the host sends a read command to P4, SDA is pulled down, ezi2c replies to Nck, and the data read by subsequent hosts are all wrong.
Best Regards,
Ferris
Show LessI have developed the USB HID keyboard application.. But unable to receive the data send from computer to keyboard... i.e to turn on/off command for CAPSLOCK/NUMLOCK/SCROLLLOCK led...
Can i get any reference or specific file or routine where i can receive that data & turn on or off leds accordingly......
Show LessHi,
The CYBLE-416045-02 module has a QR code on it and I was wondering what the number represents. It seems to be unique per each module and if that is the case, can it also be accessed through one of the registers?
Taringana
Show LessHi,
I am using PSOC4 part.
Generally we place a non conducting material on capsense pcb as overlay...Will it work if very thin conducting material place on pcb ??
Or any suggestions, recommendation for such assembly...
Show Less