cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

 Hey 

   

I am trying to interface AT25DF021A flash with PSOC 4 ble using SPI interface.

   

CS pin low then sending an opcode to flash and expecting 4 bytes from it.  Then connecting CS pin back to 1. 

   

Please can please send me some sample code snippet to read and write to SPI bus.

   

 

   

Thanks.

0 Likes
Reply
3 Replies
Esteemed Contributor II

I would suggest you to try: Creator -> Start Page -> Find example project and then select one of the SPI projects.

   

What went wrong, you already asked in this thread.

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

 Hey Bob,

   

I just followed step as you described and now flash is working.

   

Thank you very much for your help.

0 Likes
Reply
Anonymous
Not applicable

Fine that you got it working!

   

 

   

Bob

0 Likes
Reply