Benchtop Measurement and Test
Distributed Measurement and Control
Systems Engineering Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
I am using one of the Max32 UARTs for RS485 but the control over the UART-RS4845 IC is too slow to be used.
This is the sequence:
Switch the TXEN and RXEN appropriately (none provided on the Max32 so I'm using digital outputs)
Send the data via the UART Write VI
Switch the TXEN and RXEN so the Max32 will receive
The time between the transmit and the TXEN and RXEN changing is averaging 25 ms, and needs to be under 1 ms.
There are no delays in this code which are causing the issue.
If I can get the code into MPLAB X I think I can solve it. I've not found any instructions for how to do that.
Sad that Digilent was able to put four UARTs onto the board but no control for RS485.
The tidiest alternative is to use the Max32 with no Linx/Makerhub VIs and program it directly and using the USB-UART as the interface.
Any help on this? I will remember you in my will...
Is this on a Raspberry Pi ?..........I've used a standard RS485 hat which does the RX/TX turnaround automatically and it works fine.
The device is a Digilent Chipkit Max32, not a Raspberry Pi.
What do you need our team of experts to assist you with?
We'll be in touch soon!