UART2, UART alternativ et I2C in the same time
Posted: Tue May 17, 2011 8:33 am
Dear Mister Kerhuel,
For 4 months, I am working with mister Bateman in the Military Air School of Salon de Provence. I would like create an embedded system to control an UAV.
To do this, I made a program to decode a serial frame from a receiver, one to decode a serial frame from a inertial measure unit and one to control 6 engines with the I2C. One by one, each program is working. When I tried to bring the program together, it was working but the sending frequency of the number 102 in the alternativ UART wasn't the one that I wanted. In fact, to obtain the IMU's informations I have to send to its the letter f (102 in ascii code).
I am working with a dsPIC 30f4013.
I would like to know if you have already seen this problem using the UART 2, the UART alternativ and the I2C in the same time and if you could help me please.
I send you my simulink program.
Yours sincerely.
Amandine Randuineau
For 4 months, I am working with mister Bateman in the Military Air School of Salon de Provence. I would like create an embedded system to control an UAV.
To do this, I made a program to decode a serial frame from a receiver, one to decode a serial frame from a inertial measure unit and one to control 6 engines with the I2C. One by one, each program is working. When I tried to bring the program together, it was working but the sending frequency of the number 102 in the alternativ UART wasn't the one that I wanted. In fact, to obtain the IMU's informations I have to send to its the letter f (102 in ascii code).
I am working with a dsPIC 30f4013.
I would like to know if you have already seen this problem using the UART 2, the UART alternativ and the I2C in the same time and if you could help me please.
I send you my simulink program.
Yours sincerely.
Amandine Randuineau