XMC4800: How to use both Ethercat + EBU

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello,

we are evaluating XMC4800 for an ETHERCAT solution.
Beside ETHERCAT we need external bus Interface (EBU) for accessing FPGA.
16 Bit Adress/Data multiplexed

According to the Port I/O function table ( Datasheet 2.2.2.1)we have not found a valid solution for the pin assignment.

We have conflicts with PINs P0.4, P0.5 and P0.6
They are used for both EBU and ECAT and do not have any alternative mapping.

Any solution or is it impossible at all to use XMC4800 with ECAT and EBU ?

Many Thanks
0 Likes
3 Replies
Not applicable
I think I have found the Problem.
I misunderstood the documentation.

e.g at P0.4 is mapped EBU.AD2 and ECAT0.P1RXD3A, which would be a conflict

So I assumed, I need to find an alternative pin for ECAT0.P1RXD3A; but I found none.
But because of any reason the ECAT Pins are named xxxxxxA, xxxxxxB, ......xxxxxD
So a valid alternative PIN is P14.4 with ECAT0.RXD3B

Hopefully I am right! 😉
0 Likes
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

Do you know DAVE? With DAVE is easy to layout your pins.
Add a PORT_IO APP to simulate the EBU A/D bus, assign the pins in the Pin Assignemnt dialog.
Then add the ECAT_SSC APP.

DAVE will find a solution for you if any
2408.attach

You can also visually check the pin assignment in the Pin Mapping perspective.
2409.attach

Regards,
Jesus
0 Likes
Not applicable
Hello Jesus,

many Thanks for the hints regarding DAVE. I am a newbie with DAVE, so your hints are very helpful for me!

A further question...the PORT_IO APP is only for simulating the EBU pins?
Is there a config tool/ an API to set all valid EBU parameters according to the hardware requirements?
What is the fastest way to bring up the EBU?
0 Likes