Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

SPI with arm omapl137

$
0
0

Hi,

I have been trying to get the spi examples from starter ware to run on the ARM. I'm able to run the dsp examples for both: with edma and without edma. Since I'm using the EVMOMAPL137 I did the necessary changes to run the example with SPI0. SPI0 has a flash that is compatible with the OMAPL138 example. Well, the fact that the DSP can succesfully read and write could be consider as a good indicator.

I changed 2 things, everywhere where I had SPI1 I replaced it with SPI0 and the edma event for SPI RX and TX are 15 and 14 instead of 19 and 18. Oh,.... I also had to change where the code is located in memory from     DSPL2RAM     o = 0x00800000  l = 0x00040000  /* 256kB L2 DSP local RAM */ to     SHDSPL2RAM   o = 0x11800000  l = 0x00040000  /* 256kB L2 Shared Internal RAM */

What I have bee trying to do now is run the same example but in the ARM.

I can't run the spi example without edma or with it. The example is able to talk through the UART and I have also configure the PIN MUX accordingly.

The code gets stuck in:

Any suggestions on what to try or loo for will help.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>