2006-05-29 10:35 PM
2006-05-24 11:53 PM
Hi
I have a problem in SPI to have communication work from slave->Master. Use str7 library. BSPI_BSPI0Conf(ENABLE); BSPI_Init ( BSPI0 ) ; BSPI_ClockDividerConfig ( BSPI0, 6); BSPI_Enable ( BSPI0 , ENABLE ); BSPI_MasterEnable ( BSPI0,ENABLE); BSPI_ClkActiveHigh(BSPI0,ENABLE); BSPI_ClkFEdge(BSPI0,DISABLE); BSPI_8bLEn(BSPI0,ENABLE); BSPI_TrFifoDepth(BSPI0,9); BSPI_RcFifoDepth(BSPI0,3); I do have same functions for slave except BSPI_MasterEnable ( BSPI0,DISABLE); When I send byte from slave-> master is not working. But Master->slave works. Also I have another issue in strxf I am not able to make spi1 function as master and spi0 slave. Thanks blji2006-05-29 10:35 PM
Hi, I think that you posted your question in the wrong forum, as it is related to ARM STR7 nad not ST7 you should have posted it in the ''ARM7 STR7'' forum:
http://mcu.st.com/mcu/modules.php?mop=modload&name=Splatt_Forums&file=viewforum&forum=17 Regards