TTL HMI to NRF52840

Working with a Pinnacle 100 using an NRF52840.  I have a HMI with a TTL serial interface.  I have verified I/O on the HMI itself via a TTL/USB converter to Tera term, but having trouble with TTL comm to the NRF.  Is there sample code available to reference for setting up the port for this.

Parents Reply
  • Hey Jonathan,

     I have this setup for the two wire TX/RX on my display to connect to the nrf52840.
     
            uart0_default_alt: uart0_default_alt {
                phandle = < 0x2 >;
                group1 {
                    psels = < 0x6 >, < 0x10008 >;
                };
            };
            uart0_sleep_alt: uart0_sleep_alt {
                phandle = < 0x3 >;
                group1 {
                    psels = < 0x6 >, < 0x10008 >;
                    low-power-enable;
                };
            };
    I do know what the signal looks like with the o'scope now.  What is the best way to receive this in?  I'm thinking of bringing it in as a string, but I need to send and receive in the same format.  Below is the signal I receive for a single touchscreen press.  Each button is it's own unique number always ending in FF FF FF.
    Stephen
Children
Related