Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 124966

Forum Post: RE: 66AK2H12 K2H EVM SPI Communications

$
0
0

Was playing with the U-boot sspi command some more and noticed a couple of things. Besides the fact that davinci_spi.c is hardcoded to only work with bus 0 and cs 0, which seems weird, it also is hardcoded to always use CONFIG_SYS_SPI_BASE (which is TCI6638_SPI0_BASE). In other words, if a call is placed to spi_setup_slave with bus = 1, it will use bus 0's registers. This might have happened from reusing this code for keystone. Might want to have someone look at that.


Viewing all articles
Browse latest Browse all 124966

Trending Articles



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