cancel
Showing results for 
Search instead for 
Did you mean: 

Peripherals interfacing

sabasit2006
Associate II
Posted on October 31, 2008 at 06:33

Peripherals interfacing

2 REPLIES 2
sabasit2006
Associate II
Posted on May 17, 2011 at 12:50

Dear,

I am using STM32F microcontroller. I have a query related peripherals interfacing with MCU.

Question:

How do I interface 8-bit peripheral chips like MT8980 (Digital Crosspoint Switch), M34116 (PCM Conference Chip), etc with the STM32F103ZET6 MCU?

In the memory mapping diagram, there are FSMC banks used for memory mapping. Kindly tell me what should I do for the I/O mapping at which address locations?

reply as soon as possible.

regards,

S.A.Basit

brianforde9
Associate II
Posted on May 17, 2011 at 12:50

The signal interfaceing should be straight forward. Address - Address, and Data - Data, nOE, nWE, etc.

As regards the address map, it is quite simple really. Depending on which chip select line you use for your peripheral (FSMC_NE1 / FSMC_NE2 / FSMC_NE3 / FSMC_NE4), it will be accessable at 0x60000000, 0x64000000, 0x68000000, or 0x6C000000. Your device will appear in Bank 1 (NOR/PSRAM).

You must set up the FSMC timings as appropriate to your peripheral.

Refer to

http://www.st.com/stonline/products/literature/rm/13902.pdf

, Section 18.4, for further detail.