Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

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

cross mob
User20393
Level 2
Level 2
Distributor
10 replies posted 10 questions asked 25 sign-ins

Hi

My IMC101 is working well with UART Control Interface.

However after using script of

UART_DriverInit(1 /*channel*/, 0 /*rxInvert*/, 0 /*txInvert*/, 2400 /*baudrate*/, 8 /*dataBits*/, 0/*parity*/, 1 /*stopBits*/);

UART_FifoInit(8 /*rxFifoSize*/, 8 /*txFifoSize*/);

The UART Control Interface is no longer working.

For instance. Motor Coltrol: Command 0x03 is not working and no reply

 

PS

I'm using this script to  set the global variable  thru UART.

0 Likes
1 Solution
RupakC
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 25 likes received

Hi @User20393 

It seems that you have configured UART1 as a control interface.
But inside the script we could see that you have again initialized UART1 in script.
This is not allowed. You can use UART1 either as a control interface or use in script as a peripheral.

I hope the above information helps you to resolve your issue.

Thanks and Regards

RupakC

View solution in original post

0 Likes
1 Reply
RupakC
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 25 likes received

Hi @User20393 

It seems that you have configured UART1 as a control interface.
But inside the script we could see that you have again initialized UART1 in script.
This is not allowed. You can use UART1 either as a control interface or use in script as a peripheral.

I hope the above information helps you to resolve your issue.

Thanks and Regards

RupakC
0 Likes