- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear sir,
In AURIXTC3XX_um_part2_v2.0.pdf, there is a description about : In multi queue/channel configurations, enable only Q0/CH0 on Tx and Rx for half-duplex operation. If you want to enable single queue/channel in full-duplex operation, any queue/channel can be enabled.
Could you please teach how to implement this?
Thanks.
BR,
SeanWu
Weikeng Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can refer to the Ethernet_1_KIT_TC397_TFT example in "Aurix Development Studio." You can also refer to the API IfxGeth_mac_setDuplexMode() in ILLD.
Best Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In this example, just enable Q0 and CH0. Is it not half duplex mode?
Thanks.
BR,
Sean Wu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sean,
No, the duplex mode is only set by below code for your reference.
void IfxGeth_Eth_initModuleConfig(IfxGeth_Eth_Config *config, Ifx_GETH *gethSFR)
{
IfxGeth_Index gethIndex;
gethIndex = IfxGeth_getIndex(gethSFR);
const IfxGeth_Eth_Config defaultConfig = {
.gethSFR = NULL_PTR,
.phyInterfaceMode = IfxGeth_PhyInterfaceMode_rmii,
.pins = {
.rmiiPins = NULL_PTR,
.rgmiiPins = NULL_PTR,
.miiPins = NULL_PTR,
},
.mac = {
.duplexMode = IfxGeth_DuplexMode_fullDuplex,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi dw,
So, the setting means the ethernet is now in full duplex mode?
.duplexMode = IfxGeth_DuplexMode_fullDuplex,
Could you please help to explain the meaning?
In multi queue/channel configurations, enable only Q0/CH0 on Tx and Rx for half-duplex operation. If you want to enable single queue/channel in full-duplex operation, any queue/channel can be enabled.
Thanks.
BR,
Sean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sean,
From my understanding,(1) if use half-dublex, enable Q0/CH0;(2) if use full-duplex, any queue/channel can be enabled.
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi dw,
If use half duplex mode, just can enable Q0/CH0, right?
If use full duplex mode, if I just only enable Q0/CH0, it is still full duplex mode, right ?
one DMA channel just can map to one Queue, right?
If I use one DMA channel(CH0), but use two Queues, and two Queues are mapping to DMA channel 0, is it right?
Thanks.
BR,
Sean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SeanWu,
From my known, please consider full-duplex in your protocol stack as this is commonly used in nowadays applicaitons. Half-duplex is a legacy of history and not enabled unless there is a special need.
dw