AN 999: Drive-on-Chip with Functional Safety Design Example: Agilex™ 7 Devices
                    
                        ID
                        823627
                    
                
                
                    Date
                    7/04/2024
                
                
                    Public
                
            
                
                    
                        1. About the Drive-on-Chip with Functional Safety Design Example for Agilex™ 7 Devices
                    
                    
                
                    
                        2. Getting Started
                    
                    
                
                    
                        3. Rebuilding the Drive-on-Chip Design
                    
                    
                
                    
                        4. Functional Description of the Drive-On-Chip with Functional Safety Design Example for Agilex 7 Devices
                    
                    
                
                    
                        5. HPS Channel Safety Software
                    
                    
                
                    
                    
                        6. Drive-on-Chip Design Recommendations and Disclaimers
                    
                
                    
                    
                        7. Document Revision History for AN 999: Drive-on-Chip with Functional Safety Design Example for Agilex 7 Devices
                    
                
            
        
                        
                        
                            
                            
                                2.1. Software Requirements for the Drive-On-Chip with Functional Safety Design Example for Agilex 7 Devices
                            
                        
                            
                            
                                2.2. Hardware Requirements for the Safe Drive-On-Chip with Functional Safety Design Example for Agilex 7 Devices
                            
                        
                            
                                2.3. Downloading and Installing the Design
                            
                            
                        
                            
                            
                                2.4. Installing Python
                            
                        
                            
                            
                                2.5. Creating an SD Card Image
                            
                        
                            
                            
                                2.6. Setting Up your Development Board for the Drive-On-Chip with Functional Safety Design Example for Agilex 7 Devices
                            
                        
                            
                                2.7. Debugging and Monitoring the Drive-On-Chip with Functional Safety Design Example for Agilex 7 Devices with Python GUI
                            
                            
                        
                            
                            
                                2.8. Looking into the Drive-On-Chip Output
                            
                        
                    
                
                        
                        
                            
                            
                                3.1. Generating the Platform Designer System
                            
                        
                            
                            
                                3.2. Generating and Building the NiosV/g BSP for the Drive-On-Chip Design Example
                            
                        
                            
                            
                                3.3. Compiling the Hardware in the Intel Quartus Prime Software
                            
                        
                            
                            
                                3.4. Modifying the Motor Control Software Application
                            
                        
                            
                            
                                3.5. Generating .jic and .rbf files After Hardware Modifications
                            
                        
                            
                            
                                3.6. Recreate an SD Card Image
                            
                        
                            
                            
                                3.7. Modifying the HPS Safety Function Application
                            
                        
                    
                4.7. Voltage Thresholds
 The design tests the voltage measurements received from the secure device manager (SDM) against the thresholds (hex digital value) 
  
 
  | Channel | Voltage Rail | Recommended operating range (V) | ADC Input Divider | ADC Measurement (with ± 3.5 % error) | Hex Digital Value | ||||
|---|---|---|---|---|---|---|---|---|---|
| Name | Function | Min | Max | Min | Max | Min | Max | ||
| 0 | External | 1 | |||||||
| 1 | External | 1 | |||||||
| 2 | VCC | Core | 0.679 | 0.927 | 1 | 0.655 | 0.959 | 0x0A767 | 0x0F4DB | 
| 3 | VCCIO_SDM | SDM config | 1.71 | 1.89 | 2 | 0.825 | 0.978 | 0x1A3C2 | 0x1F3B6 | 
| 4 | VCCPT | IOPLL and I/O Pre-drive | 1.71 | 1.89 | 2 | 0.825 | 0.978 | 0x1A3C2 | 0x1F3B6 | 
| 5 | VCCRCORE | CRAM | 1.14 | 1.26 | 2 | 0.550 | 0.652 | 0x117D6 | 0x149CF | 
| 6 | VCCH_SDM | SDM Block transceiver digital power sense | 0.87 | 0.93 | 1 | 0.840 | 0.963 | 0x0D6E0 | 0x0F4DB | 
| 7 | VCCL_SDM | SDM Block Core | 0.776 | 0.824 | 1 | 0.749 | 0.853 | 0x0BDE3 | 0x0D95F | 
| 8 | Reserved | ||||||||
| 9 | VCCADC | ADC | 1.71 | 1.89 | 2 | 0.825 | 0.978 | 0x1A3C2 | 0x1F3B6 |