- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello. i'm exercising with example code included in Development studio.
I'm analyzing below example code, and try to understand ILLD usage method.
* \name MCMCAN_FD_1_KIT_TC375_LK
* \version V1.0.0
* \board AURIX TC375 lite Kit, KIT_A2G_TC375_LITE, TC37xTP_A-Step
* \keywords CAN, MCMCAN, AURIX, INTERRUPT, LOOP-BACK, CAN FD
But, i can't find the TXD, RXD port pin setting part. i think there are port setting part somewhere in 'MCMCAN_FD.c'.
please help me to find port setting part.
thank you.
Solved! Go to Solution.
- Labels:
-
ispn:29121:1:0
-
l1:314:1:0
- Tags:
- mcmcan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your replying.
The Loop-Back Mode was enabled, and there was comment about that. this example don't need external port pin, so don't need setting.
thank you again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi leekings,
RXD/TXD are in the IfxMultican_Can_Node_initConfig()
config->rxPin = NULL_PTR;
config->rxPinMode = IfxPort_InputMode_pullUp;
config->txPin = NULL_PTR;
config->txPinMode = IfxPort_OutputMode_pushPull;
config->pinDriver = IfxPort_PadDriver_cmosAutomotiveSpeed2; //previously hardcoded as this value for Tx pins.Now pad driver option is being given in IfxMultican_Node_initRxPin() and IfxMultican_Node_initTxPin()
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dear dw, thank for replying.
I have still question. In sample code, i know IfxMultican_Can_Node_initConfig() initialize rxPin, txPin.
But they are set as NULL_PTR; ( = not assgined)
and this example code don't seems Loop-Back-Mode.
So i think there should be Tx,Rx pin setting in the code. but i can't find it.
is my logic correct?
sorry for basical question.
thank you.
does sample code working without physical wiring?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi leekings,
The code posted before is just from my project.
Please refer to your demo project, I think the define is different with mine.
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your replying.
The Loop-Back Mode was enabled, and there was comment about that. this example don't need external port pin, so don't need setting.
thank you again!