AURIX™ Forum Discussions
I am using the TC399 evaluation board "KIT_A2G_TC399_5V_TRB".
If you verify the operation of the S/W with the Debugger and try to download it again with the Debugger, it will fail.
The RST LED on the evaluation board is lit.
Is it possible to reset the board to initial state?
Hello Community,
I've been trying for a while to do CAN communication with a cancase using Canalyzer.
I tested the loopback with an example from infineon and it works well, then i configured the tx and rx pins with this way
#define CAN01_TXD_PIN IfxCan_TXD01_P15_2_OUT
#define CAN01_RXD_PIN IfxCan_RXD01A_P15_3_IN
const IfxCan_Can_Pins can01Pins = {
.txPin = &CAN01_TXD_PIN,
.txPinMode = IfxPort_OutputMode_pushPull,
.rxPin = &CAN01_RXD_PIN,
.rxPinMode = IfxPort_InputMode_pullUp,
.padDriver = IfxPort_PadDriver_cmosAutomotiveSpeed1
};
I only see errors: screnn attached
for information, I changed the configuration for the measurement of time quanta because it seems weird the default config:
here is my config:
.baudrate=500000,
.samplePoint = 8000,
.syncJumpWidth = 1,
.prescaler=8,
.timeSegment1 = 15,
.timeSegment2 = 4
the clock frequency of my MCMCAN cell = 80 Mhz measured in debug mode, and I have correctly configured the baudrate at 500kbits/s on the Canalyzer side could you help me please because i'm stuck on this part and i can't find any information
My first question: could you explain to me the default configuration that exists in all the examples of the MCMCAN: .baudrate=500000,
.samplePoint = 8000,
.syncJumpWidth = 3,
.prescaler=0,
.timeSegment1 = 3,
.timeSegment2 = 10
How they will generate a baudrate of 500kb/s with this configuration and also I put the project in zip if you have any ideas
thanks a lot for your help
Show LessHello,
Is it Possible to control Traction Inverter And Compressor Motor with Single Controller with ASIL D Level(Both PMSM motors)?
Share any related documents for reference.
Show LessHello,
I am trying to come up with a method to perform wear leveling in the Dflash EEPROM (AURIX TC265).
After going through user manual, example code and couple of other posts in this forum, the correct way of writing to Dflash is: (Please correct this if it is wrong)
1. Erase entire sector(8KB)
2. Enter Page mode with page address
3. Load data to be written
4. Write page/ write burst.
Repeat step 3 and 4 until needed amount of data is written to DFlash.
The data that I want to write to Dflash is not more than 32 bytes in total. So, I was looking for a technique to spread out these 32 bytes write in the logical sector (8192 bytes) itself every time I need to store a new dataset. Is this possible? Or am I limited to spread out my writes across sectors and not on page level, as erase command works only on sector level and not on page level?
Thanks,
Chinmay
Show Less
Hello,
I have a doubt regarding EVADC Interrupt genration for different groups within same HW Unit. I am using TC364 controller and want to configure two groups inside ADC HW UNIT0 (Primary).
Example Configuration:
EVADC HWUNIT0 (Primary Group0)
Two Groups (Group0_0) and (Group0_1) which belongs to same Hardware unit (HWUNIT 0).
In each Group 3 channels configured.
Q1: At the end of conversion of each group do I get interrupt for both groups?
Q2: How many groups can be formed inside a single HW Unit and how the interrupts of those groups would be handled?
Best Regards.
Show LessPlease tell me about 20.0MHz (DIVA = 7) in Table259 of 32.9.4 Conversion Timing Configurations in User Manual.
Conversion Phase = Sampling + Conversion + Nose Reduction + Post-Calibration
From the above, the time for one channel in the Primary Group is
Total time = (Sample time = 100 ns) + (Conversion with 3 noise red. steps
(CMS = 10B) and postcalibration) = 100ns + 1656.25 ns = 1756.25ns?
Hi.
I can not find how to handle unused pins in document.
Please tell me how do I handle unused GPIO and A/D pins?
Unfortunately I can't find the size of the D-Flash1 on the TC322 chips. The product data sheet only lists the D-Flash0, which is marked as being 96kB. But what about the D-Flash1 for the HSM, is it 128 kB like for the bigger Aurix products or has it been gutted similarly to 96kB?
Show LessHi,
I am using TC387 kit testing the spi funciton, I set the autoCS = 1 and OEN = 0 to make the CS controled by software, the code is below:
My purpose is keep CS low when transporting data, but when I do this, the TX data will be incorrect compare with my source data, my source data is:
CS jump every byte could get the right TX data:
But when keep the CS low, the TX data will incorrect:
Have I missed some setup for the SPI?
Thank you!
Show Less