Example: tourism industry

Compact CAN-to-Ethernet Converter Using 32-Bit …

5 LEDsUSB50-Pin ConnectorDebug ConnectorMicrocontrollerTM4C129 XNCZADP ower V to VTPS62177 DQCCANSN65 HVD256 DRS485 ESDTPD4E1U06 EthernetConnector25-MHz CrystalMII/RMII/SPI/I2C/UART interfacesEMAC+PHYOsSpare 10-PinADC I/Ps and digital I/SN65 HVD72 DRTI DesignsCompactCAN-to-EthernetConverterUs ing32-BitARM Cortex -M4 FMCUTI DesignsDesignFeaturesTI Designsprovidethe foundationthat you need TM4C129 XNCZAD32-BitAdvancedRISC includingmethodology,testing,and designfiles toMachines(ARM)Cortex-M4 FMicrocontrollerquicklyevaluateand customizethe Designs(MCU)Basedhelpyouaccelerateyourti me to market. Integrated10/100 EthernetMediaAccessControl(MAC)and PhysicalInterfaceDevice(PHY)DesignResour ces 10/100 EthernetMACWithAdvancedIEEE1588 PrecisionTimeProtocol(PTP)Hardwareand BothToolFolderContainingDesignFilesTM4C1 29 XNCZADM ediaIndependentInterface(MII)and ReducedTPD4E1U06 ProductFolderMII (RMII)SupportSN65 HVD256 DProductFolder Provisionto Connectto ExternalBoardsforTPS62177 ProductFolderIsolatedCommunicationInterf aceand PowerOverSN65 HVD72 DRProductFolderEthernet(POE)INA196 AIDBVRP roductFolder On-BoardNon-IsolatedControllerAreaNetwor k(CAN)and RS-485 PHYASKOur E2E Experts 50-PinConnectorfor ExternalInterfaceWithMIIWEBENCH CalculatorToolsand RMIIE thernetPHY ExpansionConnectorsfor AccesstoCommunication,Analog-to-DigitalC onverter(ADC),FeaturedApplicationsand GeneralPurposeInputand Output(GPIO)Interfaces IndustrialMotorDrivesand IndustrialAutomation 10

System Description www.ti.com An IMPORTANT NOTICE at the end of this TI reference design addresses authorized use, intellectual property matters and other

Tags:

  Using, Converter, Compact, Ethernet, Compact can to ethernet converter using 32 bit

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Compact CAN-to-Ethernet Converter Using 32-Bit …

1 5 LEDsUSB50-Pin ConnectorDebug ConnectorMicrocontrollerTM4C129 XNCZADP ower V to VTPS62177 DQCCANSN65 HVD256 DRS485 ESDTPD4E1U06 EthernetConnector25-MHz CrystalMII/RMII/SPI/I2C/UART interfacesEMAC+PHYOsSpare 10-PinADC I/Ps and digital I/SN65 HVD72 DRTI DesignsCompactCAN-to-EthernetConverterUs ing32-BitARM Cortex -M4 FMCUTI DesignsDesignFeaturesTI Designsprovidethe foundationthat you need TM4C129 XNCZAD32-BitAdvancedRISC includingmethodology,testing,and designfiles toMachines(ARM)Cortex-M4 FMicrocontrollerquicklyevaluateand customizethe Designs(MCU)Basedhelpyouaccelerateyourti me to market. Integrated10/100 EthernetMediaAccessControl(MAC)and PhysicalInterfaceDevice(PHY)DesignResour ces 10/100 EthernetMACWithAdvancedIEEE1588 PrecisionTimeProtocol(PTP)Hardwareand BothToolFolderContainingDesignFilesTM4C1 29 XNCZADM ediaIndependentInterface(MII)and ReducedTPD4E1U06 ProductFolderMII (RMII)SupportSN65 HVD256 DProductFolder Provisionto Connectto ExternalBoardsforTPS62177 ProductFolderIsolatedCommunicationInterf aceand PowerOverSN65 HVD72 DRProductFolderEthernet(POE)INA196 AIDBVRP roductFolder On-BoardNon-IsolatedControllerAreaNetwor k(CAN)and RS-485 PHYASKOur E2E Experts 50-PinConnectorfor ExternalInterfaceWithMIIWEBENCH CalculatorToolsand RMIIE thernetPHY ExpansionConnectorsfor AccesstoCommunication,Analog-to-DigitalC onverter(ADC),FeaturedApplicationsand GeneralPurposeInputand Output(GPIO)

2 Interfaces IndustrialMotorDrivesand IndustrialAutomation 1024-KBFlashMemoryand 256-KBSingle-Cycle CircuitBreakers,ProtectionRelays,and PanelSystemSRAMM ountMulti-FunctionPowerand EnergyMeters SubstationAutomationProducts:RemoteTermi nalUnit (RTU),ProtectionRelay,IntelligentElectro nicDevices(IEDs),Converters,and Gateways IndustrialRemoteMonitoring:RemoteI/O and DataLoggersAll trademarksare the propertyof January2015 RevisedFebruary2015 CompactCAN-to-EthernetConverterUsing32-B itARM Cortex -M4 FMCUS ubmitDocumentationFeedbackCopyright 2015, IMPORTANTNOTICEat the end of this TI referencedesignaddressesauthorizeduse, intellectualpropertymattersand otherimportantdisclaimersand simpleand effectivedesignmakesEthernetthe mostpopularnetworkingsolutionat the physicalanddatalink levelsof the OpenSystemsInterconnection(OSI) speedoptionsand a varietyof mediatypesto choosefrom,Ethernetis efficientand addition,the low cost of EthernethardwaremakesEthernetan attractiveoptionfor opportunityto useopenprotocolssuchas TCP/IPoverEthernetnetworksoffersa high levelof resulthas beenan ongoingshift to the use of Ethernetfor CAN-EthernetConverteris usefulin the field of industrialdrivesmonitoringand controlas well assupervisorycontroland dataacquisition(SCADA)

3 Samehardwarecan be usedeitheras aCAN-Ethernetgatewayor as a CAN-Ethernetbridgewith the changesin the CAN-Ethernetgatewayis usefulfor monitoringremoteCANnetworksoverEtherneto r localareanetwork(LAN).TheCAN-Ethernetbri dgeis usefulfor the transparentcouplingof CANnetworksthroughthe internetor referencedesignplatformdemonstratescapab ilitiesof the designsupports10/100 Base-Tand is compliantwith the singlepowersupply( an on-boardregulatorof V).CANstandard:The CANbus was developedby BOSCHas a multi-master,messagebroadcastsystemthat specifiesamaximumsignalingrate of 1 traditionalnetwork,suchas USBor ethernet ,CANdoesnotsendlargeblocksof datapoint-to-pointbetweenthe nodesunderthe supervisionof a centralbus a CANnetwork,manyshortmessagesare broadcastto the entirenetwork,whichprovidesdataconsisten cyin everynodeof the originallydesignedfor the automotiveindustry,CANhas becomea popularbus in industrialapplicationsas cableand termination:The High-SpeedISO 11898standardspecificationsare givenfor a maximumsignalingrate of 1 Mbpswitha bus lengthof 40 metersand a maximumof 30 standardalso recommendsa maximumun-terminatedstub lengthof m.

4 The cableis specifiedto be a shieldedor unshieldedtwisted-pairwitha 120- characteristicimpedance(ZO). The standarddefinesa singleline of twisted-paircablewith thenetworktopologyas shownin Figure1. The cableis terminatedat bothendswith 120- resistors,whichmatchthe characteristicimpedanceof the line to ISO 11898,avoidplacingRLon a nodebecausethe bus lineslose terminationif the nodeis disconnectedfromthe Detailsof a TypicalCANNode2 CompactCAN-to-EthernetConverterUsing32-B itARM Cortex -M4 FTIDU706A January2015 RevisedFebruary2015 MCUS ubmitDocumentationFeedbackCopyright 2015, Built-in10/100 EthernetMACand PHYE thernet Optionfor interfacingexternal10/100 EthernetPHYE thernetLEDsActivity,link, and speedSN65 HVD256 Turbo-CANtransceiverfor high dataratesandCANlargernetworks(meetsISO 11898-2requirements)RS485 Half duplextransceiverup to 250 kbpsPowersupplySinglesupply- V, interfaceconnector:50-pinwith an optionfor powerinput3 TIDU706A January2015 RevisedFebruary2015 CompactCAN-to-EthernetConverterUsing32-B itARM Cortex -M4 FMCUS ubmitDocumentationFeedbackCopyright 2015,TexasInstrumentsIncorporated5 LEDsUSB50-Pin ConnectorDebug ConnectorMicrocontrollerTM4C129 XNCZADP ower V to VTPS62177 DQCCANSN65 HVD256 DRS485 ESDTPD4E1U06 EthernetConnector25-MHz CrystalMII/RMII/SPI/I2C/UART interfacesEMAC+PHYOsSpare 10-PinADC I/Ps and digital systemblockdiagramof the designis shownin Tiva TM4C129 XNCZADis an ARMC ortex-M4-basedmicrocontrollerwith a 1024-KBflashprogrammemory,256-KBSRAM,and 120-MHzoperation;USBhost,device,and on-the-go(OTG);Ethernetcontroller,integr atedEthernetPHY,and hibernationmodule.

5 And a widerangeof TM4C129 XNCZAD microcontrollerdatasheetfor deviceoffers140 GPIO sand the internalmultiplexerallowsdifferentperiph eralfunctionsto be assignedto Tiva PinMuxUtilitycan be usedto quicklydeveloppin assignmentsand the TM4C129 XNCZAD devicesupportsthe followingEthernetinterfaces:1. 10/100 Ethernetinterfacewith internalMACand PHY2. Optional10/100 Ethernetinterfacewith internalMACand externalPHY the externalPHYisinterfacedwith the boardis poweredfroman external, TPS62177(28-V, )is usedin this designto V fromthe Cortex -M4 FTIDU706A January2015 RevisedFebruary2015 MCUS ubmitDocumentationFeedbackCopyright 2015, designusesthe SN65 HVD72 DRdeviceas the of devicesare half-duplextransceiversdesignedfor RS-485databus a ,the transceiversare fully compliantwith the devicefeaturesa widecommon-modevoltagerangemakingthe devicesuitablefor multi-pointapplicationsoverlong optimizedfor signalingratesup to 250 SN65 HVD256 Turbo-CANtransceiveris usedfor high dataratesand largenetworks(the devicemeetsthe requirementsof ISO 11898-2).

6 Furtheruse as PCBP hysicalLayoutThis referencedesignhas beendesignedin a small-formfactor,four-layerPCBwith a dedicatedgroundand microcontrollerssupportthe JointTestActionGroup(JTAG)interfacefor designercan placeheaderson the boardand connectthemto the JTAG pins on thechip (seethe datasheetfor pin out information).The use of an externalJTAG programmeris requiredtoconnectthe PC to the Tiva LaunchPadcan also be usedas an Tiva C SeriesARMC ortex-M4microcontrollersprovidetop performanceand productfamilyis positionedfor cost-effectiveapplicationsrequiringsigni ficantcontrolprocessingandconnectivityca pabilitiessuchas: Networkappliances,gateways,and adapters Remoteconnectivityand monitoring Securityand accesssystems Human-machineinterface(HMI)controlpanels Factoryautomationcontrol Motioncontroland powerinversion Electronicpoint-of-sale(POS)displays Smartenergyand smartgrid solutions IntelligentlightingcontrolThe providedCANinterfacecan be usedfor the followingapplications.

7 Motorcontrol Powerinverters Industrialautomation Buildingautomationnetworks Automotiveapplications5 TIDU706A January2015 RevisedFebruary2015 CompactCAN-to-EthernetConverterUsing32-B itARM Cortex -M4 FMCUS ubmitDocumentationFeedbackCopyright 2015,TexasInstrumentsIncorporatedCircuit Designand ComponentSelectionThe CAN-Ethernetconverteris basedon the TM4C129 XNCZAD device,a programthat runson this microcontrolleruseslwIP (lightweightIP) a widelyused,open-sourceTCP/IPstackdesigne dfor originallydevelopedby AdamDunkelsat the SwedishInstituteof ComputerScienceand is now developedandmaintainedby a worldwidenetworkof C Seriesmicrocontrollersintegratea largevarietyof rich communicationfeaturesto enablea newclassof highlyconnecteddesignswith the abilityto allowcritical,real-timecontrolbetweenper formanceand microcontrollersfeatureintegratedcommuni cationperipheralsalongwith otherhigh-performanceanalogand digitalfunctionsto offera strongfoundationfor manydifferenttargetuses,spanningfromHMI to addition,Tiva C Seriesmicrocontrollersofferthe advantagesof ARM'swidelyavailabledevelopmenttools,Sys tem-on-Chip(SoC)infrastructure,and a ,thesemicrocontrollersuse ARM'sThumb -compatibleThumb-2instructionset to reducememoryrequirementsand ,the TM4C129 XNCZAD microcontrolleris code-compatibleto all membersof theextensiveTiva C Series,providingflexibilityto fit the MCUare as follows.

8 Performance ARMC ortex-M4 Fprocessorcore,120-MHzoperation;150-Dhry stonemillioninstructionspersecond(DMIPS) performance,1024-KBflashmemory 256-KBsingle-cyclesystemSRAM,6KB of electricallyerasableprogrammableread-onl ymemory(EEPROM) Communicationinterfaces Eightuniversalasynchronousreceiversand transmitters(UARTs);four quadsynchronousserialinterface(QSSI)modu leswith bi-, quad-,and advancedsynchronousserialinterface(SSI)s upport;ten Inter-IntegratedCircuit(I2C)moduleswith four transmissionspeeds,includinghigh-speedmo de; A maleto B male(A/B)controllers;10/100 EthernetMACand EthernetPHYwithIEEE1588 PTPhardwaresupport;and a with host,device,and OTGcompatibilitywith alow-pininterface(ULPI)optionand link powermanagement(LPM)support Analogsupport Two 12-bitADCmodules,eachwith a maximumsamplerate of one millionsamplesper second One JTAG modulewith an integratedARMserialwire debug(SWD) 212-Ballgrid array(BGA)package Operatingrange(ambient) Industrial( 40 C to 85 C) temperaturerange Extended( 40 C to 105 C) TM4C129 Xsupports10 boardis designedto connectdirectlytoan microcontrollercontainsa fully integratedEthernetMACand integrationcreatesa simple,elegant,and availablefor boththe unmanagedinternetprotocol(uIP)

9 And lwIP embeddedEtherneton this devicecan be programmedto act as an HTTP server,client, designand integrationof the circuitand microcontrolleralso enableusersto synchronizeeventsoverthe networkusingthe IEEE1588precisiontime Cortex -M4 FTIDU706A January2015 RevisedFebruary2015 MCUS ubmitDocumentationFeedbackCopyright 2015,TexasInstrumentsIncorporatedCurrent , Ohm, 1% +5 VGND+5 VGND12D812330R1212D1512330R56 GNDGND+ , : Pull up resistors and decoupling cap should be located near U1 NOTE: C40 and C66 must be located near pin 2 and 7 of pFC9121MR28V15V15V14V14W13W13V13V13W15W1 5P17P17N16N16R17R17P16P16TM4C129 XNCZADU2 CTX+1TX-2RX+3 TERM1A4 TERM1B5RX-6 TERM2A7 TERM2B8 CHASISSH2 CHASISSH1J1RJ45_NOMAG_NOLED1275R291275R3 41275R261275R27121000pFC8EN0TX-EN0RX-EN0 TX+EN0RX+TX+_RJ45TX-_RJ45RX+ +1D1-6NC5 GND2D2+3D2-4D3 TPD4E1U06 DCKTD+1 TCT2TD-3TX-14TX+16NC412NC313NC14NC25 CMT15RD+6 RCT7RD-8RX-9RX+ PHYcontrolsthreeLEDsas shownin PHY-LEDC ontrolPinFunctionPK4EN0 LED0 LinkPK6EN0 LED1 ActivityPF1EN0 LED2 IsolationTransformerMagneticsare usedin Figure3 with the chokeon the side of the Magneticsfor Figure4 shows,the TPS62177is programmedto a fixedoutputvoltageof V.

10 For the fixedoutputvoltageversion,the FB pin is pulledlow internallyby a 400-k recommendsconnectingthe FBpin to AGNDto PowerSupplySection7 TIDU706A January2015 RevisedFebruary2015 CompactCAN-to-EthernetConverterUsing32-B itARM Cortex -M4 FMCUS ubmitDocumentationFeedbackCopyright 2015, FC30 GND+ the PowerSupplyThe externalcomponentsmustfulfillthe needsof the application,but also the stabilitycriteriaof thecontrolloop of the TPS62175/7is optimizedto workwithina widerangeof inductanceand capacitanceof the LC outputfilter mustbe consideredtogether,creatinga doublepole that is responsiblefor the cornerfrequencyof the the PowerSupplyThe inputcapacitormustbe placedas closeas possibleto the IC pins (VINand PGND).The inductormustbe placedcloseto the SW pin and connectdirectlyto the outputcapacitor minimizingthe loop areabetweenthe SW pin, inductor,outputcapacitor,and PGNDpin. The sensitivenodeslike FB and VOSmustbe connectedwith shortwiresinsteadof nearbyhigh dv/dtsignals(for example,the SW pin).


Related search queries