Skip to content

Commit

Permalink
Enabled Hardware Flow Control on USB connection
Browse files Browse the repository at this point in the history
  • Loading branch information
manumonti committed Mar 19, 2019
1 parent d3d770c commit c7181b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions hex/AT_terminal_pca10056.hex
Original file line number Diff line number Diff line change
Expand Up @@ -1439,8 +1439,8 @@
:1059D800766572732F7372632F6E7266785F756166
:1059E8007274652E630000007D4C0000954C000029
:1059F8000600000008000000070000000500000085
:105A0800000000000000000000E0D70106000000D0
:105A1800220000002100000007000000050000002F
:105A0800000000000100000000E0D70106000000CF
:105A1800220000002100000000000000000000003B
:105A2800000000000000000000E0D70106000000B0
:105A3800885300009C530000B0530000C45300007A
:105A4800B80A0020BC0A002001010000C00A00209A
Expand Down
6 changes: 3 additions & 3 deletions main.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit c7181b4

Please sign in to comment.