Hi Hui_Ma,
Thanks for your help. I still see problem when I am sending multiple packers.
Can you please send the below array data
uint8 cmd_to_micro_debug[18][6] = {
{0x00, 0x01, 0x00, 0x01, 0x00, 0x01},
{0x00, 0x02, 0x00, 0x02, 0x00, 0x02},
{0x01, 0x00, 0x01, 0x00, 0x01, 0x00},
{0x02, 0x00, 0x02, 0x00, 0x02, 0x00},
{0x01, 0x04, 0x01, 0x00, 0x01, 0x00},
{0x01, 0x04, 0x00, 0x01, 0x00, 0x01},
{0x01, 0x04, 0x01, 0x02, 0x03, 0x04},
{0x01, 0x04, 0x01, 0x02, 0x00, 0x00},
{0x01, 0x04, 0x00, 0x00, 0x02, 0x01},
{0x01, 0x04, 0x00, 0x00, 0x00, 0x01},
{0x01, 0x04, 0x02, 0x00, 0x00, 0x00},
{0x01, 0x04, 0x00, 0x02, 0x00, 0x00},
{0x01, 0x04, 0x00, 0x00, 0x02, 0x00},
{0x01, 0x04, 0x00, 0x00, 0x00, 0x02},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
{0x00, 0x00, 0x00, 0x00, 0x02, 0x00},
{0x00, 0x00, 0x00, 0x03, 0x00, 0x00},
{0x00, 0x04, 0x00, 0x00, 0x00, 0x00}
};
I was sending the above 18 packets of each 6 bytes on different events (button press), the baud I am using us 4809 which is slower than yours.
The below bold packers are the wrong ones i received.
Can you please send the above data in your set up periodically say every 1 Sec.
Thanks you so much for your help