They are both made from corn but they are processed differently so will give you different results. Cornmeal is more coarse and masa which is usually used for corn tortillas is finer. I do not recommend using them interchangeably.