AURIX™ Forum Discussions
Hello,
I am working with KIT_A2G_TC387_MOTORCTR board and motor manager by demo FOC control. I started from demo code but I have configured position control.
when I set target-speed through PmsmFoc_Interface_setMotorTargetSpeed() in debug model(the position control isn't work), the measSpeed will equal to negative speed in speed control(detail as the attachment), the transfer process is right in code and the motor will run in speed = 6000. Since FOC software is based on demo code (I have made no changes in FOC, adc or pwm code) and it is implemented to control the motor with speeds from 0 to 6000 rpm, I would like to know what happen and whether this demo it's allow to execute the position control .
Thanks,
Show LessI am trying to run "GethBasicDemo" of "iLLD_1_0_1_16_0__TC3xx_Demos" on TriBoard (TC399XP).
Although it is a story in advance, there is no need for unsolicited advice such as trying with other code.
I want to verify the operation using only GETH.
"g_GethBasic.drivers.geth.gethSFR->DMA_CH[0].STATUS.B.TI" for Channel0 is 0 before IfxGeth_Eth_sendFrame starts.
After executing IfxGeth_Eth_sendFrame, "g_GethBasic.drivers.geth.gethSFR->DMA_CH[0].STATUS.B.TI" will be 1.
However, "IFX_INTERRUPT(gethDmaTx0, IFX_INTTOS_GETH_DMA_TXRX, IFX_INTPRIO_GETH_DMA_TX0)" is not executed (transmit interrupt is not generated).
At this time, I checked "chn0TxInterrupt 0 to 3" with the hint of the answer that other people asked the same question, but none of them were 0, so the interrupt itself did not occur.
What is the reason why the interrupt is not generated?
------ GethBasicDemo.c excerpt -------------------------
/* send frame */
IfxGeth_Eth_sendFrame(&g_GethBasic.drivers.geth, &frameConfig);
switch (channelIndex) {
case 0:
while (chn0TxInterrupt != (packet + 1)) ; <--- stop
while (chn0RxInterrupt != (packet + 1)) ;
break;
case 1:
while (chn1TxInterrupt != (packet + 1)) ;
---- omitted source code ---
Show LessHEY ,my friends. Could you please tell me how to change the level of gpio By changing the register, can I get a little routine or where to look for it.
Show LessHi All,
I am working Aurix TC33x microcontroller, I need to create a specific RAM location for variables.
Eg:
i have created a section as below
#pragma section farbss "Ram_sharedmessage"
#pragma protect on
am using the above statement before the variable.
In linker file i have configured the memory section as below
memory dspr0_ram // Data Scratch Pad Ram CPU0
{
mau = 8;
size = 16;
type = ram;
map cached (dest=bus:tc0:fpi_bus, dest_offset=0x7002BCC0, size=16, priority=3, exec_priority=0);
map not_cached (dest=bus:tc0:fpi_bus, dest_offset=0xd002BCC0, size=16, priority=3, exec_priority=0);
}
and created a section as below
section_layout :tc0:linear
{
group (ordered, contiguous,align = 32,run_addr=mem:spe:dspr0_ram)
{
section "Ram_sharedmessage" (size = 0x10, attributes = rw, fill = 0x00)
{
select "*.Ram_sharedmessage";
}
}
}
after successful complication memory map does not located as per my section defined memory.
Kindly can someone share your thoughts on it , please. Kindly do not hesitate to ask me for more information.
Many thanks,
Hi
When i enable the Memory Protection on Auris TC27x, Core 1 is running slow.
With the Debugger all the 3 cores tick count variable Placed in 1 ms are running at the same speed.
Please let me know, any steps i can try out.
Thanks and Regards
Thiru
Show Less
hi, all:
I'm writing a boot loader for TC397 chip.
Everything is fine while operating with PFlash0. I call the API FlsLoader_Erase() and FlsLoader_Write().
But when erasing the PFlash bank other than PFlash0, e.g PFlash1, I got a trap(Trap Class4, TIN3, which is DAE - Data Access Asynchronous Error).
Why it is different between PFlash0 and other banks?
How to fix this issue?
Thanks~
Show LessHello,friends.Now i'm using TC277 chip with BGA292, and now there are some unused pins on the hardware schematic.
Now I need to configure these pins using EB tresos.But I couldn't find a recommended configuration status for these unused pins in the chip manual.
Could you tell me where I should go to look for it? The unconnected ports are mainly port pins and adc pins.
Show LessI am working on a project with a TC3x7 TH V1.0 board and I can't make the debugger work. I tried creating a new project with different types of boards but none working. Flashing works, but the debugger won't start, and I am always getting the following error:
Did anyone ran into this problem before?
ps. I also want to mention the fact that when creating a new project I have only these options for TC3xx:
and I am not sure which one to choose.
Show LessHello all
we faced stuffing issue when we connect two node on the same channel on CANeo we confirmed that all messages have different IDs
So what are the reasons to induced stuffing issues ?
and we suspecting on sample rate is different between two node but I don't know how can I calculating it
I used vector configurator , it has parameters baud rate , Propagation seg ,controller seg 1 ,controller seg 2 and sync jump width . so how can I set these parameters ?
Show Less