- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i capture audio data through i2s interface,and store audio data to psoc internal flash。but writing flash will impact i2s communication,how can i avoid this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to the system reference guide, this should happen only on the 4000, 4100 BLE and 4200 BLE devices. Which one are you using?
And how to you write to flash? Do you use the CySysFlashWriteRow system call?
(And since the amount of flash memory is limited in the PSoC4 devices - what is your use case? Could it be an option to use external memory, e.g. a Cypress FRAM device?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i use psoc 4200 ble ;
yes,i use the api of CySysFlashWriteRow to store audio data;do you know other apis to call?
we want low cost product,so will not consider fram device now。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the 4200BLE the doc says the HFCLK will be switched over to 48MHz. So I think that a normal HFCLK of 48MHz might work for you.
The comment in the generated code reads:
* The FM-Lite IP uses the IMO at 48MHz for the pump clock and SPC timer * clock. The PUMP_SEL and HF clock must be set to IMO before calling Flash * write or erase operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AFAIK there is no other API. Also note that the flash write operation disables all interrupts during write, that might affect your operation. (Though it might be asynchronous, I did not read into the code too deeply)