SmartCard_T0

所属分类:单片机开发
开发工具:WINDOWS
文件大小:49KB
下载次数:7
上传日期:2017-11-07 17:19:29
上 传 者kamlesh
说明:  STM32F5108 Smart card interface with smart card reader ic

文件列表:
SmartCard_T0\EWARM\Project.ewd (31715, 2013-05-31)
SmartCard_T0\EWARM\Project.ewp (29264, 2013-05-31)
SmartCard_T0\EWARM\Project.eww (161, 2013-05-31)
SmartCard_T0\EWARM\stm32f0xx_flash.icf (1427, 2013-05-31)
SmartCard_T0\EWARM\stm32f0xx_ram.icf (1355, 2013-05-31)
SmartCard_T0\inc\platform_config.h (3893, 2013-05-31)
SmartCard_T0\inc\smartcard.h (9605, 2013-05-31)
SmartCard_T0\inc\stm32f0xx_conf.h (3312, 2013-05-31)
SmartCard_T0\inc\stm32f0xx_it.h (2139, 2013-05-31)
SmartCard_T0\MDK-ARM\Project.uvopt (22807, 2013-05-31)
SmartCard_T0\MDK-ARM\Project.uvproj (22520, 2013-05-31)
SmartCard_T0\src\main.c (11823, 2013-05-31)
SmartCard_T0\src\smartcard.c (27994, 2013-05-31)
SmartCard_T0\src\stm32f0xx_it.c (5968, 2013-05-31)
SmartCard_T0\src\system_stm32f0xx.c (12088, 2013-05-31)
SmartCard_T0\TASKING\STM320518-EVAL\.cproject (12162, 2013-05-31)
SmartCard_T0\TASKING\STM320518-EVAL\.project (6320, 2013-05-31)
SmartCard_T0\TASKING\STM320518-EVAL\STM320518-EVAL.launch (4129, 2013-05-31)
SmartCard_T0\TASKING\STM320518-EVAL\TASKING\stm32f0xx.lsl (8086, 2013-05-31)
SmartCard_T0\TrueSTUDIO\STM320518-EVAL\.cproject (14983, 2013-05-31)
SmartCard_T0\TrueSTUDIO\STM320518-EVAL\.project (8291, 2013-05-31)
SmartCard_T0\TrueSTUDIO\STM320518-EVAL\.settings\com.atollic.truestudio.debug.hardware_device.prefs (266, 2013-05-31)
SmartCard_T0\TrueSTUDIO\STM320518-EVAL\STM320518_EVAL.elf.launch (4768, 2013-05-31)
SmartCard_T0\TrueSTUDIO\STM320518-EVAL\STM32F051R8_FLASH.ld (4970, 2013-05-31)
SmartCard_T0\TASKING\.metadata\Link (0, 2013-05-31)
SmartCard_T0\TASKING\STM320518-EVAL\TASKING (0, 2017-11-07)
SmartCard_T0\TrueSTUDIO\.metadata\Link (0, 2013-05-31)
SmartCard_T0\TrueSTUDIO\STM320518-EVAL\.settings (0, 2017-11-07)
SmartCard_T0\TASKING\.metadata (0, 2017-11-07)
SmartCard_T0\TASKING\STM320518-EVAL (0, 2017-11-07)
SmartCard_T0\TrueSTUDIO\.metadata (0, 2017-11-07)
SmartCard_T0\TrueSTUDIO\STM320518-EVAL (0, 2017-11-07)
SmartCard_T0\EWARM (0, 2017-11-07)
SmartCard_T0\inc (0, 2017-11-07)
SmartCard_T0\MDK-ARM (0, 2017-11-07)
SmartCard_T0\src (0, 2017-11-07)
SmartCard_T0\TASKING (0, 2017-11-07)
SmartCard_T0\TrueSTUDIO (0, 2017-11-07)
SmartCard_T0 (0, 2017-11-07)
... ...

/** @page Smartcard (T=0) AN4100 Smartcard Readme file @verbatim ******************* (C) COPYRIGHT 2013 STMicroelectronics ******************** * @file SmartCard_T0/readme.txt * @author MCD Application Team * @version V1.0.0 * @date 13-May-2013 * @brief Description of the AN4100 "SmartCard_T0 interface with the STM32F0xx * microcontrollers". ****************************************************************************** * * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.st.com/software_license_agreement_liberty_v2 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ****************************************************************************** @endverbatim @par Example Description This AN describes a firmware Smartcard Interface based on the STM32F0xx USART peripheral. The main purpose of this firmware package is to provide resources facilitating the development of an application using the USART peripheral in smartcard T=0 mode. The firmware interface is composed of library source files developed in order to support ISO7816-3/4 specification, an application example is also provided. - Software Description Received data correctness is signaled by LED lightening and though as follow: - Card not inserted or not detected ==> LD3 ON and LD1,LD2,LD4 OFF - Card detected but not supported ==> LD2 ON and LD1,LD3,LD4 OFF - Card detected and supported ==> LD1 ON and LD2,LD3,LD4 OFF - Read/Write operations executed ==> LD1, LD2, LD3 and LD4 are ON @note Please insert card only after reset. @par Directory contents + inc - Smartcard_T0/inc/platform_config.h Evaluation board specific configuration file - SmartCard_T0/inc/stm32f0xx_conf.h Library Configuration file - SmartCard_T0/inc/stm32f0xx_it.h Interrupt handlers header file - SmartCard_T0/inc/smartcard.h Smart card Header file + src - SmartCard_T0/src/stm32f0xx_it.c Interrupt handlers - SmartCard_T0/src/smartcard.c Smart Card firmware functions - SmartCard_T0/src/main.c Main program - SmartCard_T0/src/system_stm32f0xx.c STM32F0xx system source file @note The "system_stm32f0xx.c" is generated by an automatic clock configuration system and can be easily customized to your own configuration. To select different clock setup, use the "STM32F0xx_Clock_Configuration_VX.Y.Z.xls" provided with the AN4055 package available on ST Microcontrollers @par Hardware and Software environment - This example runs on STM32F0xx Devices. - This example has been tested with STMicroelectronics STM320518-EVAL evaluation board with an external SmartCard reader (can be for example an STM32 EVAL board having SmartCard connector, ex. STM3210E-EVAL board) - STM320518-EVAL Set-up - Connect (with a wire) external SmartCard CLK pin to PA.08 pin. - Connect (with a wire) external SmartCard IO pin to PA.09 pin. - Connect (with a wire) external SmartCard RST pin to PB.15 pin. - Connect (with a wire) external SmartCard Vcc pin to PC.13 pin. - Connect (with a wire) external SmartCard OFF pin to PA.11 pin. - Connect (with a wire) external SmartCard 3/5V pin to PA.12 pin. - use a common ground @note For more details, please refer to chapter 2 in AN4100. @par How to use it ? - EWARM - Open the Project.eww workspace - Rebuild all files: Project->Rebuild all - Load project image: Project->Debug - Run program: Debug->Go(F5) - MDK-ARM - Open the Project.uvproj project - Rebuild all files: Project->Rebuild all target files - Load project image: Debug->Start/Stop Debug Session - Run program: Debug->Run (F5) - TASKING - Open TASKING toolchain. - Click on File->Import, select General->'Existing Projects into Workspace' and then click "Next". - Browse to the TASKING workspace directory and select the project: STM320518-EVAL - Rebuild all project files: Select the project in the "Project explorer" window then click on Project->build project menu. - Run program: Select the project in the "Project explorer" window then click Run->Debug (F11) - TrueSTUDIO - Open the TrueSTUDIO toolchain. - Click on File->Switch Workspace->Other and browse to TrueSTUDIO workspace directory. - Click on File->Import, select General->'Existing Projects into Workspace' and then click "Next". - Browse to the TrueSTUDIO workspace directory and select the project: STM320518-EVAL - Rebuild all project files: Select the project in the "Project explorer" window then click on Project->build project menu. - Run program: Select the project in the "Project explorer" window then click Run->Debug (F11) *

© COPYRIGHT STMicroelectronics

*/

近期下载者

相关文件


收藏者