diff --git a/hex/AT_terminal_pca10056.hex b/hex/AT_terminal_pca10056.hex index 7681e33..d265b5d 100644 --- a/hex/AT_terminal_pca10056.hex +++ b/hex/AT_terminal_pca10056.hex @@ -1439,8 +1439,8 @@ :1059D800766572732F7372632F6E7266785F756166 :1059E8007274652E630000007D4C0000954C000029 :1059F8000600000008000000070000000500000085 -:105A0800000000000000000000E0D70106000000D0 -:105A1800220000002100000007000000050000002F +:105A0800000000000100000000E0D70106000000CF +:105A1800220000002100000000000000000000003B :105A2800000000000000000000E0D70106000000B0 :105A3800885300009C530000B0530000C45300007A :105A4800B80A0020BC0A002001010000C00A00209A diff --git a/main.c b/main.c index 3807902..f3e4361 100755 --- a/main.c +++ b/main.c @@ -1,7 +1,7 @@ /***************************************************************************************/ /* * nRF52840-AT_terminal - * Created by Manuel Montenegro, Mar 14, 2019. + * Created by Manuel Montenegro, Mar 19, 2019. * Developed for MOTAM project. * * This application stablish a bypass connection between USB UART and Arduino serial @@ -56,13 +56,13 @@ static void sleep_handler(void) NRF_SERIAL_DRV_UART_CONFIG_DEF(m_uarte0_drv_config, RX_PIN_NUMBER, TX_PIN_NUMBER, RTS_PIN_NUMBER, CTS_PIN_NUMBER, - NRF_UART_HWFC_DISABLED, NRF_UART_PARITY_EXCLUDED, + NRF_UART_HWFC_ENABLED, NRF_UART_PARITY_EXCLUDED, NRF_UART_BAUDRATE_115200, UART_DEFAULT_CONFIG_IRQ_PRIORITY); NRF_SERIAL_DRV_UART_CONFIG_DEF(m_uarte1_drv_config, ARDUINO_RX_PIN, ARDUINO_TX_PIN, - RTS_PIN_NUMBER, CTS_PIN_NUMBER, + NULL, NULL, NRF_UART_HWFC_DISABLED, NRF_UART_PARITY_EXCLUDED, NRF_UART_BAUDRATE_115200, UART_DEFAULT_CONFIG_IRQ_PRIORITY);