Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5


Discussion Groups

Discussion Groups | TMS320C55x | SPI EEPROM and IO4

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

SPI EEPROM and IO4 - ismail uzun - May 25 11:08:00 2004



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
 
 
 
 





(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: SPI EEPROM and IO4 - Paul Shepherd - May 26 12:19:00 2004

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




(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )