There were most certainly brass cannonballs. They were used by the Mexican armies against the Texans. They have been found at San Jacinto, Goliad, The Alamo and other places the Mexicans had conflicts with the Texans. I wouldn't be surprised if the Spanish used them on their ships but I don't know.