Part Number: TMDSCNCD28388D
Other Parts Discussed in Thread: SYSBIOS
Hello All
now I develop some software for TMS320F28388
Now I started On the side CM SYS/BIOS(&.76.01.12) and TCP/IP stack
Example tcpEchoF2838X.
The CM contains 3 General purpose timers.
I know that
SYS/BIOS use 1 timer for Scheduling
TCP/IP use 1 timer for Scheduling as well.
So it is left 1 timer
And I going to use this timer to caculate some interval and generate hwi but I have met some problem.
In configuartion file
I wrote
//var Timer = xdc.useModule('ti.sysbios.family.arm.lm4.Timer');
/*****************************************************************/
//var Timer =xdc.useModule('ti.sysbios.hal.Timer');
var Timer = xdc.useModule('ti.sysbios.timers.gptimer.Timer');
var timerParams = new Timer.Params();
timerParams.periodType = Timer.PeriodType_MICROSECS;
timerParams.period = 1000; //2ms
timerParams.arg = 1;
timerParams.startMode = Timer.StartMode_USER;
Program.global.myTimer = Timer.create( (~0), "&myIsr", timerParams);
So I used consiquently
var Timer = xdc.useModule('ti.sysbios.family.arm.lm4.Timer');
or
var Timer =xdc.useModule('ti.sysbios.hal.Timer');
Compilation error - "There is not avalable timers" if I use
Timer.create( 1 , "&myIsr", timerParams);
with 1 or other number of timer
So other compilation error like "wrong timer index "
If I use
var Timer = xdc.useModule('ti.sysbios.timers.gptimer.Timer');
the compilation error "timers unsupported on device"
So the documentaion of SYS/BIOS does not contain the enumaration of timers for TMS320F28388
like for other processors
So
Question is
1 How to get know which timers are occuped ?
2) How to calculate time interval in case if all timers are occuped?
3)The SYS/BIOS window looks like on the picture
The question is why in Target Specific Support/Arm exists to Arms M3 (Ducati) and M4(Tiva) with its own periphery (for example M3 contains the cashe and AMMU )?
What is the LM4-specific Timer managment?
What do the pointed by arrows, red points mean?
Best regards
Andrii