aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2021-01-05 12:53:40 +0200
committerAvi Levkovich <avi@twine-s.com>2021-01-05 12:53:40 +0200
commit1cdf74039fbcef8ab34fe73da09d2ded4762e756 (patch)
tree66f23867bee323b6bed54cf781afe4011f22ba68 /Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config
parent3e8135f99839a8ef6350ce3412cd752d3f3a48af (diff)
downloadTango-1cdf74039fbcef8ab34fe73da09d2ded4762e756.tar.gz
Tango-1cdf74039fbcef8ab34fe73da09d2ded4762e756.zip
BTSR pinout logic
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config')
-rw-r--r--Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.c b/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.c
index 921d5f07f..843e7eeb3 100644
--- a/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.c
+++ b/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.c
@@ -862,11 +862,11 @@ PinoutSet(void)
//MAP_GPIOPinConfigure(GPIO_PR0_I2C1SCL);
//MAP_GPIOPinTypeI2CSCL(GPIO_PORTR_BASE, GPIO_PIN_0);
- #ifdef USE_UART4_FOR_BTSR
- // Configure the GPIO Pin PR0 for BTSR RS485 UART - Set as output to change to uart4 RS485 Direction:
- ROM_GPIOPinTypeGPIOOutput(GPIO_PORTR_BASE, GPIO_PIN_0);
- ROM_GPIOPinWrite(GPIO_PORTR_BASE, GPIO_PIN_0, 1);//RX 1 (remove the error CAB ERR on the BTSR screen?)
- #endif
+// #ifdef USE_UART4_FOR_BTSR - move to main use only when recognize the HS Assy ID
+// // Configure the GPIO Pin PR0 for BTSR RS485 UART - Set as output to change to uart4 RS485 Direction:
+// ROM_GPIOPinTypeGPIOOutput(GPIO_PORTR_BASE, GPIO_PIN_0);
+// ROM_GPIOPinWrite(GPIO_PORTR_BASE, GPIO_PIN_0, 1);//RX 1 (remove the error CAB ERR on the BTSR screen?)
+// #endif
//
// Configure the GPIO Pin Mux for PR1
// for I2C1SDA