AURIX™ Forum Discussions
Hi,
We're designing a custom carrier board using the TC397XX MCU. Through which programming protocol shown in the image are initial firmware flashing and debugging possible?
In our custom carrier board, what are all the required programming connectors from the KITMINIWIGGLER3USBTOBO1 kit for flashing and Debugging the AURIX MCU TC397XX initially?
Please share the schematics and design documents for KITMINIWIGGLER3USBTOBO1.
Thanks,
Sandy
Show Less
Hi team,
We are using the TC333LP32F300FAAKXUMA1 controller. We have the requirement of monitor the PWM input. For that we are planning the use the Hall capture pin. We have to monitor the 5KHz, 1KHz and differnt duty cycles.
Is it possible to monitor the PWM pulses below hall capture pins.
CCU61_CCPOS2D
CCU61_CCPOS1D
CCU61_CCPOS0D
CCU60_CCPOS2D
Show LessI am looking for some example code implementing the RGMII interface on TC367DP.
Hi,
I am currently programming a TC375 for CAN communication. I have gotten messages to send and receive externally but have hit a road block. The 3rd party controller I'm communicating with sends a burst of CAN messages for every single CAN message I send to it from the Aurix. This can range from 10 to 80 messages received from a single request message. The I need to read each message and post process the information. I need to use a buffer to store all this information but unsure how to implement this. Im also unsure on the differences between using the rxbuffer interrupt vs the rxFIFO interrupt. Support on this would be much appreciated.
Show LessIs there any example code for HSPDM? Especially using shift register to generate bit stream.
I am using KIT_A2G_TC357TA_3V3_TRB and ADS-limited for development.
Thank you.
Show LessHi I need to set two PWMs and so two counters for up down mode and with different CNO initial value.
Firstly I prove for aligned signals (so CN0 initial value 0 for both) but they are not aligned and I don't know why. It seems it depends on which line of code I set the new PWMs, as they can't be created equal to each others.
I set in the right way CN0 e up down counting mode??? Maybe there is a smarter way to do it??
IfxGtm_enable(&MODULE_GTM); /* Enable GTM */
gtm_ptr->CTRL.B.RF_PROT=0;
gtm_ptr->CLS_CLK_CFG.B.CLS0_CLK_DIV=01;
IfxGtm_Cmu_setClkFrequency(&MODULE_GTM, clkIdx, CLK_F); /* Set the CMU clock 0 frequency */
IfxGtm_Cmu_enableClocks(&MODULE_GTM, IFXGTM_CMU_CLKEN_CLK0); /* Enable the CMU clock 0 */
//Configuration of the first PWM signal
IfxGtm_Atom_Pwm_initConfig(&g_atomConfig[i], &MODULE_GTM); /* Initialize default parameters */
g_atomConfig[i].atom = OUT.atom; /* Select the ATOM cluster */
g_atomConfig[i].atomChannel = OUT.channel; /* Select the channel */
g_atomConfig[i].period = PWM_PER; /* Set timer period */
g_atomConfig[i].dutyCycle = dutyC; /* Set duty cycle */
g_atomConfig[i].signalLevel = Ifx_ActiveState_low;
g_atomConfig[i].mode = IfxGtm_Atom_Mode_outputPwm;
g_atomConfig[i].synchronousUpdateEnabled = TRUE; /* Enable synchronous update */
g_atomConfig[i].pin.outputPin = &OUT; /* Set a PIN as output */
g_atomConfig[i].pin.outputMode = IfxPort_OutputMode_pushPull;
g_atomConfig[i].immediateStartEnabled=FALSE;
IfxGtm_Atom_Pwm_init(&g_atomDriver[i], &g_atomConfig[i]); /* Initialize the PWM */
atomSFR = &g_atomConfig[i].gtm->ATOM[g_atomConfig[i].atom]; /* variable for Atom-Channel-Functions */
Ifx_GTM_ATOM_CH *atomCh = IfxGtm_Atom_Ch_getChannelPointer(atomSFR, g_atomConfig[i].atomChannel); /* Pointer to Channel address & Control-Register */
atomCh->CN0.B.CN0=0;
atomCh->CTRL.B.UDMODE=0x3;//FOR UP DOWN COUNTING
IfxGtm_Atom_Pwm_start(&g_atomDriver[i], TRUE); /* Start the PWM */
//Initialization of a second channel with the PWM output inverse
IfxGtm_Atom_Pwm_initConfig(&g_atomConfig_inverse[i], &MODULE_GTM); // Initialize default parameters
g_atomConfig_inverse[i].atom = OUT_INVERSE.atom; // Select the ATOM cluster
g_atomConfig_inverse[i].atomChannel = OUT_INVERSE.channel; // Select the channel
g_atomConfig_inverse[i].period = PWM_PER; // Set timer period
g_atomConfig_inverse[i].dutyCycle =dutyC; //prova con 40 % di duty cycle 40*1000/100;
// Set duty cycle
g_atomConfig_inverse[i].signalLevel = Ifx_ActiveState_low; // Set the SL bit= 0 so to have an inverse signal
g_atomConfig_inverse[i].mode = IfxGtm_Atom_Mode_outputPwm;
g_atomConfig_inverse[i].synchronousUpdateEnabled = TRUE; // Enable synchronous update
g_atomConfig_inverse[i].pin.outputPin = &OUT_INVERSE; // Set a PIN as output
g_atomConfig_inverse[i].pin.outputMode = IfxPort_OutputMode_pushPull;
g_atomConfig_inverse[i].immediateStartEnabled=FALSE;
IfxGtm_Atom_Pwm_init(&g_atomDriver_inverse[i], &g_atomConfig_inverse[i]); // Initialize the PWM
atomSFR_inv = &g_atomConfig_inverse[i].gtm->ATOM[g_atomConfig_inverse[i].atom]; /* variable for Atom-Channel-Functions */
Ifx_GTM_ATOM_CH *atomCh_inv = IfxGtm_Atom_Ch_getChannelPointer(atomSFR_inv, g_atomConfig_inverse[i].atomChannel); /* Pointer to Channel address & Control-Register */
atomCh_inv->CN0.B.CN0=0;
atomCh_inv->CTRL.B.UDMODE=0x3;
IfxGtm_Atom_Pwm_start(&g_atomDriver_inverse[i], TRUE); // Start the PWM
Show Less
Hi team,
We are working with AURIX TC397x in our project. In windows we can able to flash/update the firmware using Memtool but how can we flash/update in Linux machine. What is the substitute for Memtool in Linux machine?
How can we interface AURIX TC397x with Jetson AGX Orin? How to update the firmware of AURIX after interfacing it with Jetson AGX Orin?
Help is most appreciated.
Regards,
Shafi.
Show Less我想取消PFLASH的ECC检查,在初始化时执行如下语句:
{
ifx_CPU_FLASHCON1 A;
ifx_CPU_FLASHCON1 B;
ifx_CPU_FLASHCON1 C;
CPU0_FLASHCON1.B.MASKUECC = 1;
CPU1_FLASHCON1.B.MASKUECC = 1;
CPU2_FLASHCON1.B.MASKUECC = 1;
A = CPU0_FLASHCON1;
B = CPU1_FLASHCON1;
C = CPU2_FLASHCON1;
}
然后我用调试器观察C.B.MASKUECC的值仍然为02b,CPU0&1的MASKUECC的值为01b,修改成功。
CPU2的FLASHCON1寄存器的值不能修改吗?
Show LessHi,
Can someone share the Aurix HSM data sheet?
I would like to answer these general questions:
1) How much time needed for HSM to symmetrical (AES) encrypt a 64KB block?
2) What is the API to connect to HSM for such operations? and more.
3) Can I embed specific symmetrical keys inside? and how?
Thank you, Shaul
Show Less