. . "Further, if the semiconductor chip is a light emitting element or a light receiving element, the upper surface of the resin package may be provided with a convex lens portion at a location corresponding to the semiconductor chip." . . .