stm32f107vc using external flash

General discussion on mikroC PRO for ARM.
Post Reply
Author
Message
design4
Posts: 93
Joined: 29 Aug 2019 10:43

stm32f107vc using external flash

#1 Post by design4 » 22 May 2020 08:12

Hello,

I wanna ask about easypromxv7 pin for SPI interfaces. There is no written pin on the board for SPI3. Only written SCK,MISO,MOSI. Then I refer to the example code Serial_Flash provided & saw that pin used is PC10,PC11,PC12. So I assume those are the pin. Currently I have a problem in accessing external memory from winbound using flash 128m.

I connected pin PC10, PC11,PC12 & PD7 to the flash pin & directly connecting ground & vcc with easypromxv7 board. PD7 is their CS
Then I turn off switch that issue onboard memory which are sw13.1, sw13.2, sw13.3, sw13.8.

My question is:-
Why my flash did not detected? I read the flash ID but it show 255. Did I miss something? I have other project that use this memory & mikroC IDE with my PCB board and it works. Did i miss something with easymxprov7? any toggle switch needed?

Thanks in advanced.

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: stm32f107vc using external flash

#2 Post by filip.grujcic » 22 May 2020 09:13

Hello,

Could you send some photos of your connections?
On your PCB board, do you also have STM32F107VC?
If not, could you please zip and attach your project as well?

Kind regards,
Filip Grujcic

design4
Posts: 93
Joined: 29 Aug 2019 10:43

Re: stm32f107vc using external flash

#3 Post by design4 » 27 May 2020 07:03

filip.grujcic wrote:
22 May 2020 09:13
Hello,

Could you send some photos of your connections?
On your PCB board, do you also have STM32F107VC?
If not, could you please zip and attach your project as well?

Kind regards,
Hello, I have tested connecting my external flash with nucleo-L073rz and its work. Why when connecting with easymxprov7 its not working? This is my connection on easymx:-
PC10,11,12 - SCK,MISO,MOSI (already test swaping PC11 & 12)
PD7 - cs

Thanks in advanced
Attachments
flash128m problem.jpeg
flash128m problem.jpeg (947.07 KiB) Viewed 803 times

Post Reply

Return to “mikroC PRO for ARM General”