Table of Contents
Introduction......................................................................................................................1
Features.......................................................................................................................... 2
1. PL360 Host Controller Architecture........................................................................... 5
1.1. PL360 Host Controller File Structure............................................................................................5
1.2. PLC Application Interface (API)....................................................................................................6
1.3. PLC Stack Wrapper......................................................................................................................6
1.4. Add-ons........................................................................................................................................7
1.5. Bootloader....................................................................................................................................7
1.6. Hardware Abstraction Layer (HAL).............................................................................................. 7
2. PL360 System Architecture....................................................................................... 8
2.1. Block Diagram.............................................................................................................................. 8
2.2. Bootloader....................................................................................................................................8
2.3. PL360 Memory............................................................................................................................. 9
2.4. PL360 Drivers...............................................................................................................................9
2.5. PHY PLC Service......................................................................................................................... 9
2.6. PHY Host Application................................................................................................................. 10
3. Brief about ASF........................................................................................................11
4. Initialization Example...............................................................................................12
4.1. Init Controller Descriptor.............................................................................................................12
4.2. Set Controller Callbacks.............................................................................................................12
4.3. Enable Controller........................................................................................................................13
4.4. PLC Event Handling................................................................................................................... 13
4.5. Code Example............................................................................................................................14
5. Configuration........................................................................................................... 15
5.1. Configure Application................................................................................................................. 15
5.2. Configure Coupling Parameters................................................................................................. 15
5.3. Configure Secure Mode............................................................................................................. 16
6. Host Interface Management.................................................................................... 17
6.1. Message Transmission...............................................................................................................17
6.2. Message Reception....................................................................................................................17
7. SPI Protocol.............................................................................................................18
7.1. Boot Command Format.............................................................................................................. 18
7.2. Boot Response Format.............................................................................................................. 18
7.3. Firmware Command Format...................................................................................................... 19
7.4. Firmware Response Format.......................................................................................................20
7.5. Firmware Data Memory Regions................................................................................................20
7.6. Message Flow for Basic Transactions........................................................................................22
© 2018 Microchip Technology Inc.
User Guide
50002738B-page 3