hi,
I need some information on how to connect with LAN8710 to AM1808 by RMII interface and how to build the driver(just define CONFIG_DA850_UI_RMII in board_da850_evm.c?), thanks .
regards,
pan
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Power,
I'm not familiar with the SDK code, however did you follow the steps in the SDK user's Guide for cross platform compilation utilizing the code generation tools form CodeSourcery? You might have to look around at the #defines around the EMAC code and also in the CCS pre-define symbols to determine what needs to be defined to recompile the RMII code.
Power,
I'm not sure what you mean by:
Power Pan said:I don't have any reference design in schematic
Where the the reference design that you posted come from?
Unfortunately, I will be unable to provide any sight into the code since I didn't write it nor am I familiar with it. I would be guessing as well.
Pan,
Ok - so you've designed a custom board with the AM1808 with a ethernet phy chip(of which the schematic you've posted) and you want to know how to enable the driver (based on a reference design) to work on your custom board?
Power,
Since you are working with a custom board, but only shared part of your schematic, you will have to edit the driver to make sure the corresponding PHY signals are connected to your PHY chip. I cannot tell you exactly how to do this, because I don't know how the rest of your schematic is configured.
You will probably need to go into the driver and determine how the signals are mapped to the corresponding pins, and then reconfigure the driver to work with your custom board. If the custom board isn't configured in the exact same way as the reference board of which the driver was written for, this might require heavy modification / recompilation of the driver code.
Drew:
thanks for the reply. the define is not missing any include file and the compiler reported error but still could generate .out file, please explain.
I could use :
extern U_int32 something to disable the error but that's original PSP I downloaded, how come the errors pop up?
Power
Pan,
If the compiler reported an error, I don't believe it will generator a .out file. Are you sure it wasn't a warning?
Also - if you can list the errors so we can have some insight on your issue that would be helpful and might give us some insight on your issue.