Other Parts Discussed in Thread: SYSBIOS, OMAPL138
Hi
SYS/BIOS puts the code for power management under folder
C:\ti\bios_6_33_04_39\packages\ti\sysbios\family\c674
I read the code and found that it is not CPU-neutral: in some places of the code it specifically makes uses of C6748 resources, for example:
C:\ti\bios_6_33_04_39\packages\ti\sysbios\family\c674\pmi\ pmi_relock1.c
Line 17: extern cregister volatile unsigned int TSCL;
TSCL is a register of the C674x core and existence in the code means that the library cannot be used on the ARM side.
Functions like
void PMI_waitCpuCycles(unsigned cycles)
uses TSCL, and PMI_waitCpuCycles () is called by pmi_slp.c’s
PMI_Status PMI_sleepCPU(PMI_Sleep state, unsigned scaleVoltage, unsigned sleepArg)
which for the same reason cannot be used by the ARM core either.
So I guess SYS/BOIS as a project evolved from the previous DSP/BIOS, is not intended to be used on the ARM side even it supports chips with ARM core like OMAP L138? On such cores the use of SYS/BIOS can only be on the DSP side?
Paul