Bus access optimization for distributed embedded systems based on schedulability analysis