Psoc 4 and flash external EN25F80 use SCB SPI

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

cross mob
lock attach
Attachments are accessible only for community members.
song_285461
Level 3
Level 3
First like received

 Hi every one!

   

I am doing a project about psoc 4 and flash external EN25F80 use SCB SPI

   

I have some proplem: firstly I write a data buffer into a address of EN25F80 then I read a data buffer again but data buffer not true. 

   

Please tell me,and help me. thank so much.

   

this is my project: 

0 Likes
5 Replies
song_285461
Level 3
Level 3
First like received

 nobody help me?

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Take a look at this thread, see if there is any help here -

   

 

   

    

   

          http://www.cypress.com/?app=forum&id=2232&rID=48361&start=21

   

 

   

Regards, Dana.

0 Likes
song_285461
Level 3
Level 3
First like received

Hi danaaknight!

   

Thank for your help.

   

I have tried to make each step like the link:http://www.cypress.com/?docID=47177

   

But I wirte data in flash external , and then read data again : I have a buffer data = {0xff,0xff .......0xff}.

   

could you see my project and say me,I wrong where?

   

Thanh youso much!

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Keep in mind the way spi works is that when Txing it is also Rxing, so Rx buffer can get filled

   

with data you do not want. Make sure to clear it prior to an Rx operation.

   

 

   

    

   

          

   

http://maxembedded.com/2013/11/serial-peripheral-interface-spi-basics/

   

http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus

   

   

 

   

Regards, Dana.

0 Likes
chsi_1572801
Level 3
Level 3
First like received

I am wondering did you ever get  your memory interface working?

   

-Chris

0 Likes