Skip to content

Commit fa4542e

Browse files
author
Adrian Negreanu
committed
lpc4322: set IO_PORT_WRITE_CYCLES to 1
From DAP_config.h: This value is used to calculate the SWD/JTAG clock speed that is generated with I/O Port write operations in the Debug Unit by a Cortex-M MCU. If the Debug Unit uses a Cortex-M0+ processor with high-speed peripheral I/O then only 1 processor cycle might be required. Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
1 parent e891299 commit fa4542e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/hic_hal/nxp/lpc4322/DAP_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ typedef unsigned int BOOL;
5757
/// requrie 2 processor cycles for a I/O Port Write operation. If the Debug Unit uses
5858
/// a Cortex-M0+ processor with high-speed peripheral I/O only 1 processor cycle might be
5959
/// required.
60-
#define IO_PORT_WRITE_CYCLES 2 ///< I/O Cycles: 2=default, 1=Cortex-M0+ fast I/0
60+
#define IO_PORT_WRITE_CYCLES 1 ///< I/O Cycles: 2=default, 1=Cortex-M0+ fast I/0
6161

6262
/// Indicate that Serial Wire Debug (SWD) communication mode is available at the Debug Access Port.
6363
/// This information is returned by the command \ref DAP_Info as part of <b>Capabilities</b>.

0 commit comments

Comments
 (0)