56F8346/CodeWarrior8/ProcessorExpert/ - Problem in SPI and I/O pin using GPIO_E

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

56F8346/CodeWarrior8/ProcessorExpert/ - Problem in SPI and I/O pin using GPIO_E

1,355 Views
howdeterminepwm
Contributor I
Hi all,
I have great problem with SPI0 in processor 56F8346. In my hardware, i used  the SPI0 (I/O's: GPIOE6_MISO0; GPIOE5_MOSI0; GPIOE4_SCLK0 ) it's default configuration of Processor Expert to SPI0.
The Data pin and Clock Pin are ok! Starter and finished in same time (osciloscope). the problem is that I use pin 116 as a CS (chip Select), I can easily monitor this as a pin I / O, one moment as 3v3 (PutVal(true) function or SetRegBit(GPIO_E_DR, D10)) other moment as 0v0, with the same functions or macros.
Now when using the following example code:
Code:
CS_ETH_PutVal(FALSE);  //CS as LOWSPI__SendChar(0x03);   //Function fo Processor Expert for write dataCS_ETH_PutVal(TRUE);   //End of Write, pin 116 GPIO_E_D10 as High

The pin 116 is never 0v0, never LOW. The SPI clock impossible that the I/O is Low and ever High.
And thus form can not enable my Ethernet chip in my hardware. What's problem? Help-me please.


Labels (1)
Tags (1)
0 Kudos
1 Reply

222 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
The better way will be to log it directly in the Technical support system.
Please use Freescale on line support web page.
  - Go to following URL: http://www.freescale.com/TechSupport
  - Click on Submit a Service Request. You will come to a login page.
  - You can submit your request through the web from there.
 
Please provide us more details about the Tool version used.
To do that you must:
* CW:
Start the IDE and click on Help | About Metrowerks CodeWarrior.
Click on Installed Products 
Provide us all info displayed.
Or you can save them in a txt file.
 
Pascal
0 Kudos