Hello again NXP community,
I am using 2 Link-2 boards with one being debug and the other being the target.
The next phase of my project involves storing data from my target board at a rate of ~8kB/s for around an hour resulting in ~30MB of data. These numbers are not final and can be changed but the point is that I will need some external storage that is larger than the flash storage that comes on the Link-2. I am also not able to use a computer, it has to be some sort of small chip storage unit like a USB stick or a larger flash chip.
Could someone recommend the easiest way of proceeding with using the USB0 port on the target Link-2 to store data every second?
I am working with an embedded artists project which includes the attached USB files plus many more. I am hoping to work with them to get a solution.
Thanks in advance,
Quinn
Hello Quinn,
How about have a look at the demo"usb_rom_msc_ram" under lpcopen。
BR
Alice
Hi Alice,
Apologies for the delay in my response. Thanks for your reply.
I had a look at that USB project, but it turns out that USB is more power hungry than we want for our design.
Because of this I have bought an SD card to SPI interface board for use with the SSP1 pins on J3 of the Link2.
Any hints getting this system working?
Regards,
Quinn
Hi Alice,
I am using the SSP in SPI mode to work with an SD card. I am still writing the initialisation code for the SD card.
I am having a problem now with receiving a byte from the SD card. I only have a receiving function which reads from the data register, however when I do this my clock stops working. I think I need the clock to be on the whole time, for sending and receiving. What can I do to keep the clock on the whole time?
Regards,
Quinn
Hello ,
" my clock stops working"
->> Which clock? CPU clock?
This should working, you can refer to demo code check configuration, and use Logic analysis measure clock signal.