
Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
|
Hello,
I am having trouble with SPI EEPROM writing.
IO4 is used for CS# of SPI EEPROM which is a GPIO pin. While
wrtigin to SPI EEPROM, it is recommended to set CS to HIGH after D0 clocked. But, IO4 is GPIO
and I can not set it to HIGH immediatley after sending 16-bit data to McBSP(for SPI EEPROM).
Note that I am using C5510 DSP and McBSP0. Also, I try to use
BYTE writing to SPI EEPROM.
Am I missing something with the usage of SPI writing and IO4?
How can I solve this problem.
Thanks,
ismail uzun
|
|
|
|
Hello, I am successfully writing to SPI memory on mcbsp0. I setup mcbsp0 to use the pins as gpio pins (not serial pins) and just drive the pins as required. This is not fast, howerver. If you know of a faster way to do it I'd love to hear it. Good luck - Paul --- In , "ismail uzun" <ismail@u...> wrote: > Hello, > > I am having trouble with SPI EEPROM writing. > IO4 is used for CS# of SPI EEPROM which is a GPIO pin. While wrtigin to SPI EEPROM, it is recommended to set CS to HIGH after D0 clocked. But, IO4 is GPIO and I can not set it to HIGH immediatley after sending 16-bit data to McBSP(for SPI EEPROM). > > Note that I am using C5510 DSP and McBSP0. Also, I try to use BYTE writing to SPI EEPROM. > > Am I missing something with the usage of SPI writing and IO4? > How can I solve this problem. > > Thanks, > ismail uzun |