Cahill is scheduled to start the second of the Diamondbacks' two-game season-opening series against the Los Angeles Dodgers in Australia on March 23.
He was hurt as he landed on the bag covering first, falling to the ground, where trainers attended to him.
"I didn't hear a pop so I knew it probably wasn't too bad," Cahill said. "It felt like a really bad cramp. I was just kind of scared at first. And it settled down and started releasing. I felt like, OK, it shouldn't be anything serious. It just went away pretty quick, so I was fortunate."
Also Tuesday, manager Kirk Gibson said the team will ease up the rehab work of right-hander Bronson Arroyo, who has been sidelined with an inflamed disk in his back.
Arroyo, 37, originally was expected to miss seven to 10 days after receiving an epidural injection for the slightly bulging disk Wednesday.
However, Gibson said Tuesday he doesn't know whether Arroyo will be ready when the season begins.
Arroyo has never been on the disabled list during a major league career in which he has surpassed 200 innings in eight of the past nine seasons.
Cahill had a shaky outing Tuesday, allowing five runs on nine hits in 4 2/3 innings, including Lonnie Chisenhall's two-run homer in the fourth. However, he said he thought this outing was better than his appearance Thursday against Oakland, until he got hurt.
"Still kind of catching too much of the plate," Cahill said. "I feel like I'm able to do what I want as far as throwing it. Last year I felt like my fastball command wasn't really there. I feel like it's really close right now. I'm missing more on the plate than off the plate. I guess I'd rather have it like that than walking guys."
Cahill is scheduled to make one more spring training start Sunday, just before the team leaves for Australia.
The Associated Press contributed to this report.