You are on page 1of 7

Tutor Crash Course

Part 7: Microcontrollers

programming button and programming LED Chipset = the heart of the BIM (ASIC and microcontroller) sold separately PIM: Powerline Interface Module = same as BIM but for Powerline ASIC: Application Specific Integrated Circuit – realization of Physical Layer as chip solution UART: Universal Asynchronous Receiver Transmitter – realization of Physical and (part of) Link Layer as chip with defined UART interface BIM M13x TP-UART µC Discrete TP PhL BCU KNX Association International KNX: The worldwide STANDARD for Home & Building Control Page No. 2 August 12 . a standardized interface to the application module) BIM: Bus Interface Module = BCU stripped of housing. µC: commonly used KNX jargon BAU: Bus Access Unit = the KNX communication relevant part of a KNX product. typically the entire product except the application module BCU: Bus Coupling Unit = BAU with PEI (= Physical External Interface.

3 August 12 . Microcontroller no longer transformer) external available More recent UART module AT Mega Typically 0025. ASIC still available TP BIM M113 (without 68HC05BE12 (System 2) . Only used in BJE/ABB PIM products ASIC BIM M13x TP-UART µC Discrete TP PhL BCU KNX Association International KNX: The worldwide STANDARD for Home & Building Control Page No. Microcontroller no longer transformer) available TP BIM M13x TP-UART NEC 78K0/KE2 0025 Flash up to 48 Kbyte . Device emulates a certain device TP or discrete 32/64/128 0705 or 070B microcontroller system profile developments Physical Layer ST 7 ARM 7 MSP 430 … PL BCU1 BJE specific 68HC05B16 1013 (System 1) EEPROM 256 . Mask Size Memory in Remarks Layer controller version bytes (device Descriptor) TP BCU1 ASIC 1065 Motorola 0012 EEPROM 256 . Depends on used . Replacement for (System 2) BIM M 113 TP BIM M112 ASIC 1066 Motorola 0701 512 internal EEPROM . Still available even though TP BIM 111 (with 68HC05B6 (System1 ) dating back to 1992! transformer) TP BCU 2 ASIC 1066 Motorola 0021 EEPROM 1024 . µC: Frequently used chipsets for TP and PL Used in Physical Micro. ASIC still available (without 68HC11E9 (System 7) or up to 32 Kbytes .

µC: principles & types of memory • Loops continuously through a program . auxiliary programs.e.application program . constants. i. protocol software.series of instructions in a given order and restart with first after last instruction • memory stores: • the program • data needed for program execution • data generated during program execution • memory divided into bytes . vectors for reset and interrupt • Version of protocol software identified by Mask Version (or Device Descriptor) • RAM • stores temporary values from system and application software • Flash ROM • Used in more recent bus devices • Combines properties of RAM and EEPROM • (in theory) would also allows to correct/update operating system (not the case for KNX) KNX Association International KNX: The worldwide STANDARD for Home & Building Control Page No. by ETS) • stores physical/group addresses .10000) (e.g. 4 August 12 .each byte has its address • microprocessor + peripherals = micro-controller • EEPROM • can be written a number of times (+/.parameters • ROM • stores mask.

with ETS) or other microcontroller KNX Association International KNX: The worldwide STANDARD for Home & Building Control Page No.or outputs • Some are fixed digital inputs • some used for Physical External Interface (when available) in conjunction with the software PEI type in EEPROM • A/D converter • used to convert a voltage value into a 8-digit binary value • can be used by application software to measure analogue quantities (e.g. 5 August 12 . temperatures) • also used by system software to check the hardware PEI type and by ETS to measure the bus voltage (not supported by all system profiles/devices) • Serial interface • used for data exchange between microcontroller and PC (e.g. of which • Some can be set by software to digital in. µC: peripherals • Timer • used by the system and application software for time calculations (delays) • Parallel ports • a set of 8 signal pins of microcontroller.

6 August 12 . parameters.) • Can be read out by the ETS 4 Device Editor • PEI Program (only System 7 or System B) • Additional program next to normal application program • Determines the behaviour of the PEI • Not all System 7 or System B products have it KNX Association International KNX: The worldwide STANDARD for Home & Building Control Page No. addresses. µC: special features of system profiles other than System 1 • Access control • access to memory (not group communication!) only possible with 4 byte key • 16 keys can be attributed per bus device • 4 access levels defined • serial number • unique identifier per bus device • can be used to program the physical address without using the programming button (not supported by current ETS end user version) • KNX interface objects and properties • memory/platform independent structuring of data (e. ….g.

ON Semi • Discrete Physical Layer • Physical Layer is not realized as one single chip but consist of various discrete components • More assembly effort for manufacturer • Currently certified solutions available for OEM : GIRA KNX Association International KNX: The worldwide STANDARD for Home & Building Control Page No. µC: new trends . 7 August 12 .TP-UART – discrete Physical Layer • UART • Is transceiver with digital interface • Any microcontroller with a UART interface can be bus enabled when connected to a TP-UART • KNX system software must be re-implemented on own microcontroller next to KNX application program • By means of TP-UART + µC an existing system model as previously implemented in BCU1/BCU2./BIM M 112 is emulated • Currently certified solutions available for OEM : Siemens. Elmos.