AURIX™ Forum Discussions
Hi, I can't add any printf or can't use UART from sample Ethernet application
if I add anything there it is crashing
I need to process data after receiving from Ethernet but if I try to do anything application just crash. So how and where to process Ethernet data.
Show LessNewbe here ( i have asked questions about other items i'm working on , CAN mainly ) i'm running through the examples with regards PWM generation and reading Analogue voltages.
I'm involved in a project where i will need to run a number of vales at 20khz but read the current coming back from the current sense circuit connected to them , in the end P.I. control over the current in the valve. I'm unsure which way to go .
I've tried looking at examples for CCU60 and then adapting the ADC examples in to it but nothing comes back off the ADC or i receive a trap error in debug - can i run ccu60 and get it to trigger ADC .
i've added
// Activate the line ServiceRequest_3 to route the CC60 Rising Edge to trigger EVADC module ....... ADDITION BY JOHN 🙂
IfxCcu6_enableInterrupt(&MODULE_CCU60, IfxCcu6_InterruptSource_cc60RisingEdge);
IfxCcu6_routeInterruptNode(&MODULE_CCU60, IfxCcu6_InterruptSource_cc60RisingEdge, IfxCcu6_ServiceRequest_3);
in the ccu6 init routine
plus i've ported in the ADC example code
/* Configure the EVADC module to trigger a conversion based on trigger from ccu6 ??? */
/* Trigger 0 is connected to CCU6 ServiceRequest_3 line */
adcGroupConfig.queueRequest[0].triggerConfig.triggerSource = IfxEvadc_TriggerSource_0;
/* Select the trigger event type */
adcGroupConfig.queueRequest[0].triggerConfig.triggerMode = IfxEvadc_TriggerMode_uponRisingEdge;
if i set breakpoint in the ADC ISR to check result nothing is read.
Am i wasting my time here as ccu6 can not produce PWM and give off trigger to ADC
thoughts any one ?
thanks
Hello,
I am working on TC397 processor. I am investigating the Safety Protection System for my application and in this regard I came across DAM being a Bus Master with Tag IDs.
Can I know what's the use of DAM being a Bus Master? I am confused as to a memory being a Bus master..
PS: I am new to the Aurix series of processors and consider me a beginner.
Thanks.
Background Info:
This answer seems to have some content, but couldn't understand much from that
Show Less
I found all the sample projects are using hard coded pin configuration.
As an example for "Ethernet_1_KIT_TC397_TFT" project all the pins are hardcoded in files Configuration.h and implementation is in IfxGeth_PinMap.c
And from IDE seems it is not even shows as configured.
After manual configuration it became like below
But all codes are generated in Library directory in mentioned file
Now question is how to use those PIN from program to configure Ethernet for RMII0? Should I need to do it manually reading datasheet?
Is there anyway that those PINs will be automatically configured and I can use the auto generated code directly?
Show Less
according to Infineon-AURIX_TC3xx_Part1-UserManual-v02_00-EN.pdf 10.9.1 To enable TC3XX Clock Monitoring, do I need to configure some registers ?I notice that in "Figure 89 Clock Monitor ", it seems the monitoring function is controlled by some config regs, and some signal line like "pll0momen/tst ". If I need to config some reg, then what is those reg? to config some reg, then what is those reg? If it's not needed, then, does it means that the Clock Monitoring is enabled by default ?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/TC3XX-Clock-Monitoring/td-p/722644
Show LessHello,
is there any specification for the maximum negative input voltage on the AINx (D / HighZ, VDDM) pins of the AURIX TC333 controller? Is there any safety mechanism implemented in the controller to protect the input against reverse polarity or do we have it externally?
Best Regards
Show LessHIGHTEC 4.9.3 free version, using iLLD_1_0_1_17_0 to create the project, compiling prompted that the function _init() could not be found. Where is this function located? BSW/BaseSw/Infra/Ssw/TC38A/Tricore/Ifx_Ssw_Infra.c:207: error: undefined reference to `_init'
Attached are the works created.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/iLLD-1-0-1-17-0-TC3xx-%E4%BD%BF%E7%94%A8%E9%97%AE%E9%A2%98/td-p/740700
Show LessHi members,
I have a problem with SCR debugging.
it is exactly the same as SCR Debugging problem - Infineon Developer Community
I wrote my own SCR code for development and flashed it to AURIX with SCRCFG 0x0.
and changed SCRCFG 0x0 to 0x1 and then everything was good.
SCR worked what I wanted.
But when I changed SCRCFG 0xA and then started SCR, suddenly SCR start address was placed at "_Exit".
So if I want to run the SCR, I should change the address to 0x0.
How can I run the SCR with SCRCFG to 0xA and the start address at 0x0 without any modification about the start address?
Please Let me know.
Show Less