Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 6 Forum Discussions

JuIn_1625121
Level 5
Level 5
100 sign-ins First solution authored 100 replies posted

Can PSoC6 be connected to parallel SRAM in some way?

Customers need more than 3MB of SRAM for graphic.

Best Regards,

Inoue

0 Likes
1 Solution
Len_CONSULTRON
Level 9
Level 9
500 solutions authored 1000 replies posted 750 replies posted

Inoue,

Theoretically yes.  However that might consume more PSoC pins (8 for 8-bit data and 22 for 22-bit Addressing and at least 2 more for R/_W and control.  In total at least 32 PSoC port pins.

Consider this:   I'm assuming for now you are using graphic data from an SD card.

Therefore your data flow is:

SD card image data ---> Graphic display (probably an TFT LCD).

SD cards are usually SPI comm.  You can get very good TFT LCD displays that are SPI comm.

Careful SW coding can take the SD card image data and DMA it to a block of PSoC SRAM.  When the next frame on the TFT display needs to be updated, the PSoC DMA can move to the SPI comm for the TFT display.

Check out these links for Image/Video updates using a PSoC.  See if there may be a useful idea.

LCD_320.cywrk.zip  (http://mylab.wmsite.ru/moi-razrab/cypress-psoc/)

TFT240x320_ECG_Simulator.zip (http://mylab.wmsite.ru/moi-razrab/kardiograf)

Len

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
1 Reply
Len_CONSULTRON
Level 9
Level 9
500 solutions authored 1000 replies posted 750 replies posted

Inoue,

Theoretically yes.  However that might consume more PSoC pins (8 for 8-bit data and 22 for 22-bit Addressing and at least 2 more for R/_W and control.  In total at least 32 PSoC port pins.

Consider this:   I'm assuming for now you are using graphic data from an SD card.

Therefore your data flow is:

SD card image data ---> Graphic display (probably an TFT LCD).

SD cards are usually SPI comm.  You can get very good TFT LCD displays that are SPI comm.

Careful SW coding can take the SD card image data and DMA it to a block of PSoC SRAM.  When the next frame on the TFT display needs to be updated, the PSoC DMA can move to the SPI comm for the TFT display.

Check out these links for Image/Video updates using a PSoC.  See if there may be a useful idea.

LCD_320.cywrk.zip  (http://mylab.wmsite.ru/moi-razrab/cypress-psoc/)

TFT240x320_ECG_Simulator.zip (http://mylab.wmsite.ru/moi-razrab/kardiograf)

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes