2014-11-12 02:55 AM
Hello
I'm wondering how to create a parallel interface on the STM32F4Discovery Board, if possible. As far as the application, I would like to connect the Discovery to BLACK FIN DSP (BF592) I was suggested to do by FSMC .. but I don't know how to do that. does any body can help me with basic code of understanding as well as with the link from which I can download the FSMC folder from the standard peripheral library.2014-12-15 09:41 AM
Hi All
Any idea?2014-12-15 10:16 AM
I am not aware of timing diagram of the signals the DSP expects.
Yes, and this is why I asked you to create one, ie make something that does not yet exist.So i need to follow this simple protocol....or I have to do it manually. Honestly if it were simple, and you did it manually, it would perhaps have taken an hour, a month ago to bit-bang the bus. If you had started there, and had a diagram of the signals, we would have a clearer insight it to what exactly was wired where (a schematic, not prose), and whether there was opportunity to use the FSMC and with what settings.2014-12-16 10:05 PM
I have attach the timing diagram of the signals the DSP expects, this will include pulse sequences and durations, and periodicity expected of those signals.
The gpio pin connection is given below +-------------------+--------------------+------------------+------------------+ + PPI pins assignment + +-------------------+--------------------+------------------+------------------+ | PD0 <-> FSMC_D2 - PPI2 | PD1 <-> FSMC_D3 - PPI3 | PD4 <-> FSMC_NOE (not connected so far floating ) PD3 <-> FSMC_clk- PPI_Clk | PD8 <-> FSMC_D13- PPI13 | PD9 <-> FSMC_D14- PPI14 | PD10 <-> FSMC_D15- PPI15 | PD6 <-> FSMC_NWAIT- ADSP_PPI_FS2_INTR | PD5 <-> FSMC_NWE - ADSP_PPI_FS1_INTR | PD14 <-> FSMC_D0 - PPI0 | PD15 <-> FSMC_D1 - PPI1 |PE7 <-> FSMC_D4 - PPI4 |PE8 <-> FSMC_D5 - PPI5 |PE9 <-> FSMC_D6 - PPI6 | PE11 <-> FSMC_D8 - PPI8 | PE10 <-> FSMC_D7 - PPI7 |PE12 <-> FSMC_D9 - PPI9 | PE13 <-> FSMC_D10- PPI10 | PE14 <-> FSMC_D11- PPI11 | PE15 <-> FSMC_D12- PPI12 ________________ Attachments : PPI_timing.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hzvw&d=%2Fa%2F0X0000000bRB%2FqiRP2.VqgRKYs2PaRktEfsYn15Y7nLYXX2fgZHTaYVg&asPdf=falsePPI_timing2.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hzc3&d=%2Fa%2F0X0000000bRA%2FYb_2nWQbz74HlKh5mIsoZHdl2UO5dfxQ7V5Q.MUCbOg&asPdf=false2014-12-17 07:21 AM
Hi clive
please assist2014-12-17 09:23 AM
Ok, so that seems to be a diagram directly out of the manual rather than one that expresses your understanding of the signalling required.
Doesn't look ideal for FSMC usage, would suggest you bit-bang the protocol using GPIO method.2014-12-18 04:49 AM
I tried with FSMC as jan suggest but coudn't get boot the DSP. As per my understanding with the timing diagram of DSP . You suggest to do with gpio but hw should I do that any idea. I have attached the code tries with FSMC ....
2014-12-18 04:50 AM
I tried with FSMC as jan suggest but coudn't get boot the DSP. As per my understanding with the timing diagram of DSP . You suggest to do with gpio but hw should I do that any idea. I have attached the code tries with FSMC ....
2014-12-19 09:31 PM
How to communicate without FSMC . I mean with gpio pins Please help