The study consists of two parts. Part A will study healthy participants in up to 3 dosing periods over approximately 6 weeks. Part B will study participants with diabetes in up to 3 dosing periods over approximately 6 weeks.