I'm trying to implement a 4-pin SPI interface between an EEPROM and a TMS320DM648 DSP (in Code Composer Studio), but I'm getting no results: when I try to read EEPROM status register, I always 0xFF in the read buffer (that is a senseless value), as if the lines were in high impedance state. Does anybody have a working example? I think I'm not driving Chip Select correctly, but I can't find out the problem. Thanks in advance Giulio
spi interface on dm648
Started by ●October 29, 2008
Reply by ●October 30, 20082008-10-30
On Oct 30, 4:51 am, techG <giuliopul...@gmail.com> wrote:> I'm trying to implement a 4-pin SPI interface between an EEPROM and a > TMS320DM648 DSP (in Code Composer Studio), but I'm getting no results: > when I try to read EEPROM status register, I always 0xFF in the read > buffer (that is a senseless value), as if the lines were in high > impedance state. > Does anybody have a working example? I think I'm not driving Chip > Select correctly, but I can't find out the problem. > > Thanks in advance > GiulioHi Giulio, I tried SPI Peripheral of TMS320lf2407 to communicate with SPI RTC about 3 month ago and It didn't response me. At last I create a manual SPI subroutines that works. I think they an help you. Tell me If you want them. Good Luck! Siavash
Reply by ●October 30, 20082008-10-30
On Oct 30, 4:28�pm, Siavash <reza.sedi...@gmail.com> wrote:> On Oct 30, 4:51 am, techG <giuliopul...@gmail.com> wrote: > > > I'm trying to implement a 4-pin SPI interface between an EEPROM and a > > TMS320DM648 DSP (in Code Composer Studio), but I'm getting no results: > > when I try to read EEPROM status register, I always 0xFF in the read > > buffer (that is a senseless value), as if the lines were in high > > impedance state. > > Does anybody have a working example? I think I'm not driving Chip > > Select correctly, but I can't find out the problem. > > > Thanks in advance > > Giulio > > Hi Giulio, > > I tried SPI Peripheral of TMS320lf2407 to communicate with SPI RTC > about 3 month ago and It didn't response me. > At last I create a manual SPI subroutines that works. I think they an > help you. Tell me If you want them. > > Good Luck! > SiavashI'd be very thankful if you can send me the subroutines, perhaps I can find them useful! I'm sending you my e-mail address, thanks again! Giulio