Dear tech support and forum readers,
The i.mx287 board at my behalf features two RS-232/RS485/RS422 ports X16(Port1 COM3) and X17(Port2 COM4) which are moded with means of registry keys: [HKEY_LOCAL_MACHINE\Drivers/BuiltIn\COM3] "Mode"=dword:0 . Thus 0 - Off, 1 -RS232, 2-RS485,3-RS422. At initial it is 0. Since the app I am on fails to establish serial communication with wired to COM3(X16) (pins 5 - A and 6 B) ICP DAS M7051D module, error code 129.
Since RS485 layer is handled by i.mx287 hardware, could anyone kindly direct me to craft, how to verify RS-485 line drivers are turned ON and OFF? How the i.mx287 board supports the use of RTS signal?
Faithfully,
N. Kv.
Solved! Go to Solution.
Dear gentlemen,
My concern is the i.mx287 serial hardware while transmitting the receiver must be gated off. How can I verify, does the serial and the driver interfacing to hardware turn the receiver OFF while transmitting?
The dll I am on, demands serial hardware to accomlish as follows(if not then it is incompatible):
"FieldTalk supports RS-485 hardware which uses RTS to switch between transmit and receive operation of the transceiver. It also support RS-485 which switches automatically between receive and transmit mode, but requires echo cancellation. Which means either transmit or receive. While transmitting, the receiver must be turned off by the hardware."
Among MCIMX28RM page 2112 nor Chapter 17 of the EVK imx28... you kindly directed me, I cannot obtain info on the above mentioned.
Could anyone kindly direct me to the reading or schematic diagram to shed some light onto the problem?
Faithfully,
N. Kv.
Dear Sanketh,
Your kind directives are precise.
On page 2118 of i.mx287 RM I found the table of bits for UART control register.
Since my objective is:
1. FIND OUT which bit of UART control register is responsible for gate off receiver while transmitting;
2. FIND OUT the 'tool' upon which the UART control register bits values could be viewed, and modified;
3. VERIFY with 'tool': While transmitting, the receiver must be turned off by the hardware.
2. If the receiver is not turned off while transmitting MODIFY the value of corresponding bit to ensure 3.
Can you kindly suppose which one of HW_UARTAPP_CTRL2 32 bit register is likely responsible for "the receiver is not turned off while transmitting"?
If so, how(what kind of tool software utility etc) could leverage view of bit value, and if needed modify the value of bit on the i.mx287 board?
N. Kv.
Hi @kvrivishvilin9 ,
yes, sure
Much appreciate of you dear Sanket!
I'll give it a good shot!
Faithfully,
N. Kv.