I would like to use an inertial sensor to measure acceleration and send the results to an Android app using a serial communication with a bluetooth Mate Gold module. The sensor provides a data ready interrupt which notifies Arduino-Mega that a new value is stored in a register of the module. The output data rate can be modified during the configuration of the sensor. I want the information to be sent at a 10 Hz rate to the bluetooth module.
Is an interrupt at 400Hz capable of compromising the integrity of a 50 bytes long message sent at 10 Hz with a baudrate of 9600? If yes, which approach would you recommend to correctly send the data?
Edit: I'm using the following formula to compute the amount of time required to send N chars.
bytes x bits_per_character / bits_per_second N x (8+2) / 9600 = N/960 secs
For N = 52:
52/960 = 0.054 secs = 54 ms
So theoretically, I can send a 54 char-long message at 18Hz with a baudrate of 9600.
Edit2 I can use the hardware serial or the Software Serial interface.