aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Main.c
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2020-07-27 15:26:02 +0300
committerAvi Levkovich <avi@twine-s.com>2020-07-27 15:26:02 +0300
commitf51a7d656e9ec9795a1ca80ad643b9d3c5c23638 (patch)
tree5d7a2dd970e2a20721f3008ec82cb05f29823b2a /Software/Embedded_SW/Embedded/Main.c
parent004d88fd5af64ab5329d7eb3bca3069d737aca0a (diff)
downloadTango-f51a7d656e9ec9795a1ca80ad643b9d3c5c23638.tar.gz
Tango-f51a7d656e9ec9795a1ca80ad643b9d3c5c23638.zip
Add the function Init_IFS : Hw+SW reset + initialization of the RFID reader.
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
-rw-r--r--Software/Embedded_SW/Embedded/Main.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c
index 88ba521a4..45059e9c4 100644
--- a/Software/Embedded_SW/Embedded/Main.c
+++ b/Software/Embedded_SW/Embedded/Main.c
@@ -88,6 +88,12 @@
#include <Drivers/I2C_Communication/I2C_Task.h>
#include <Drivers/I2C_Communication/WHS_Card/EEPROM/WHS_EEPROM.h>
#include <Drivers/I2C_Communication/RFID_NFC/I2C_IFS_Mux.h>
+
+#include <Drivers/I2C_Communication/RFID_NFC/NFC_MainBaord.h>
+#include <Drivers/I2C_Communication/RFID_NFC/logi-tag/LT_RFID.h>
+#include <Drivers/I2C_Communication/RFID_NFC/NFC.h>
+
+#include <Drivers/I2C_Communication/RFID_NFC/NFC_MainBaord.h>
//*****************************************************************************
//
// The system tick rate expressed both as ticks per second and a millisecond
@@ -283,14 +289,14 @@ int main(void)
Trigger_Head_io_Init();//Head_IO_Init();//moved to set 24 to pressure sensor in arc earlier
}
- Check_IFS_Availability();
-
#ifndef EVALUATION_BOARD
STATUS_RED_LED_ON;
STATUS_GREEN_LED_ON;
FPGA_Init();
#endif
+ Init_IFS();//must be done after FPGA_Init
+
MAP_FPULazyStackingEnable();
SysCtlUSBPLLEnable();