Using I2C and UART Together

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
adpac_1560036
Level 4
Level 4
First like received First like given

Hi,

   

My I2C is not working as desired when including UART start function,

   

UART_Start();

   

But if I remove the UART, I2C is working properly.

   

Please help

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Some corrections...

   

 

   

Bob

View solution in original post

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Can you please post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.

Here it is

0 Likes
lock attach
Attachments are accessible only for community members.
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Some corrections...

   

 

   

Bob

0 Likes

Thank you very much Bob, It is working.

   

I will learn form these mistakes I've made.Buffer[2] and Buffer[3] contain the data bytes form NEC Decoder.Remaining all are constants like CR and LF.