This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR1642BOOST: Using RS232 TX and RX pins for data transfer

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: UNIFLASH, , IWR1443, TIDEP-0091, IWR1642

In another thread, I read:

Hello,
The AR_RS232TX, and AR_RS232RX are 3.3v signals. 5v IO to the Radar Sensor is not recommended.

The default serial port connections are from the Radar Sensor, to the XDS110. You need to check that you have
changed the resistors. You could enable the J6-5 first, and send data from the Test PC using the Visualizer, you should get data
back to the Test PC and to the Arduino.

The serial port data is defined at the Radar Sensor end.
sheet 3, RS232TX U2-N5 -> AR_RS232TX
sheet 11, AR_RS232TX -> R169 (DNI) -> J6-5
sheet 12, AR_RS232TX -> R21 (DNI) -> J1-57
sheet 14, AR_RS232TX -> R128 U6-33 (XDS110)

You need to change the resistors, for AR_RX232TX, remove R128, 0 ohm, install a 0 ohm resistor in R169

sheet 14, U6-34(XDS110) -> R129 -> AR_RS232RX
sheet 12, J1-55 -> R33 (DNI) -> AR_RS232RX
sheet 11, J6-7 -> R166(DNI) -> AR_RS232RX
sheet 3, AR_RS232RX -> U2-N4 RS232_RX

You need to change the resistors, for AR_RS232RX, remove R129, 0 ohm, install a 0 ohm resistor at R166

-----------------

My question is:

I am using a IWR1642BOOST.  Once you break the connection to the XDS110, can you still program the flash using Uniflash?

Also, you need to remove the PINMUX code, and add a serial port to the board config?  Is there a good example of how to do this?

Greg

  • Hello,
    Uniflash expects a USB to Control UART using the TIVA processor / XDS110.

    If you implement the same as the EVM, Uniflash should work.

    If you are not using the XDS110 on board, you would need the XDS110 Debug Probe connectivity, " www.ti.com/.../tmdsemu110-u ". If you do not have XDS connectivity, you would have to use the mmwave Studio ICD document, to build the control UART flashing code into your Host processor, or to build a JTAG CCS Flash update method.

    The TIDEP-0091 software has the pinmux example in the C software for the IWR1443.

    Regards,
    Joe Quintal
  • Just to confirm, if I do the above modification to an IWR1642BOOST, which disconnectects the uart TX and UART RX pins, Uniflash will no longer work.

    As for the software, I need an example that does NOT use a pinmux on the iwr1642Boost. Not an example of pinmux. Every sample program, has the pinmux code currently.
  • 1st question - Yes, if you connect the UART over the BP/LP instead of the onboard XDS110, Uniflash no longer works.

    2nd question - In the IWr1642 datasheet there is a default pinmux value for each device ball, serviced by pinmuxed IO.
    If you don't write to the pinmux registers, you will get the MSS-BOOT ROM default values, and power up values.

    If you don't execute the writes to the pinmux registers you already have the code for that (you just don't write to the pinmux control registers
    Table 4-1 list of pinmux values to select ball pin function, Table 4-2 summary of pinmux control registers / ball number, Table 4-3 bit definition of the Pin Mux control registers - in the IWR1642 datasheet )

    If you don't use the SOP0,SOP2 flashing mode, an alternative is a CCS program loaded over JTAG ( there is no current complete example, the TIDEP-91 software has the QSPI flash writer to write a file, the mmwave Studio documents, ICD document has the format )

    If you connect over the BP/LP connector to the XDS110 debug probe,

    the XDS110 Debug Probe, to connect to the RS232Tx, RS232Rx, AR_NRST_MCU, and set SOP0=1, SOP2 = 1. I don't have experience with the debug probe. Under Uniflash you can manually detect a debug probe. You can also try this:
    AR_RS232TX, R169, J6-5
    AR_RS232RX, R166, J6-7
    MCU_SOP0, J5-19 to '1' or set jumper on EVM
    MCU_SOP2, J5-15 to '1' or set jumper on EVM
    GND, J6-4
    AR_NRST_MCU, J5-10, set to '0' and then set to '1' to release nRESET

    Regards,
    Joe Quintal