Datasheet map¶
The driver follows the TLE92466ED datasheet. This page says which revision, where to get it, and where each part of the driver is described in it, so you can check any behaviour against the source. Section names and page numbers are the datasheet's own (the printed page numbers).
- Datasheet: TLE92466ED, Infineon IFX-ntz1491827137291, revision 1.2 (2022-02-01). Get it from the vendor
page or as a
PDF.
SHA-256 of the file used:
ba74787f32e3c92452b68f28f980ac6877ea36c476c9b2e7bd187e9ddeeb027f.
| Topic | Datasheet section | Page | In the driver | Explained on |
|---|---|---|---|---|
| Pins, RESN, EN, DRV0/DRV1 and FAULTN | 2 Pin configuration; 4.2.3 TDS_I/O Pins | p. 7 | CtrlPin, GpioSignal, SetDrivePin(), ReadFaultPin() |
Hardware, Porting, Quickstart |
| Functional range of VDD, VBAT, VIO, f_SYS and f_PWM | 3.2.1 Functional range, Table 6 | p. 11 | kMinSystemClockHz, kMaxSystemClockHz, kMinPwmHz, kMaxPwmHz, Validate() |
Hardware, Configuration |
| Supplies, VIO_SEL and the power-on reset | 4.1.1 TDS_Power Supply | p. 14 | Config::vio, GetStartupFaults() |
Hardware, Configuration, Troubleshooting |
| Voltage monitoring and the VBAT thresholds | 4.1.2 TDS_Voltage monitoring; Equation 1 | p. 14 | Config::vbat_uv_code, vbat_ov_code, VbatThresholdCode(), ReadSupply() |
Configuration, Troubleshooting |
| Reset times t_RESN and t_POR | 4.1.3 Electrical characteristics power supply, Table 9 | p. 15 | EnsureInitialized(), kResetReleaseUs, kPowerOnResetUs, kResetPulseUs |
Hardware, Status and limitations |
| Clock source, PLL dividers and INIT_DONE | 4.2.1 TDS_Clock; Equations 2, 3; Table 10 | p. 16 | Config::clock, external_clock_khz, PllRefDiv(), PllFbDiv(), SystemClockHz() |
Configuration, Hardware |
| Clock watchdog | 4.2.2 TDS_Clock Watchdog | p. 17 | Config::clock_watchdog |
Configuration |
| Reset State, Config Mode, Mission Mode and Critical Fault | 4.3.1 TDS_IC Operation states; Figure 4 | p. 19 | EnterMissionMode(), EnterConfigMode(), Error::MissionBlocked, Error::CriticalFault |
Architecture, API guide, Troubleshooting |
| Channel modes and the measurement period | 4.4 Channel modes | p. 21 | ChannelMode, ConfigureChannel() |
Configuration, API guide |
| Parallel channel pairs | 4.5.2 TDS_Parallel channel operation | p. 22 | ParallelPair, Config::parallel, SetParallel(), Error::WrongState |
Configuration, API guide |
| Slew rate | 4.5.3 Electrical characteristics power stages, Table 13 | p. 23 | SlewRate, ChannelConfig::slew |
Configuration |
| Integrating current controller, Autolimit and the PWM frequency controller | 4.6.2 Integrating Current Controller (ICC); Equations 4, 5 | p. 24 | IccConfig, PwmFrequencyHz(), CurrentControlChannel() |
Configuration, API guide |
| Setpoint range and accuracy | 4.6.3 Electrical characteristics current control, Table 14 | p. 28 | SetCurrent(), kMaxSetpointUa, kMaxSetpointWithDitherUa, kMaxParallelSetpointUa |
API guide, Status and limitations |
| Dither waveform and its update | 4.7.1 TDS_Dither configuration; 4.7.2 TDS_Dither parameter update; Equations 6 to 9 | p. 29 | DitherConfig, SetDither(), DitherAmplitudeUa() |
Configuration, API guide |
| Direct drive via SPI on-time and DRV pins | 4.8.1 TDS_Direct Drive; Equation 10 | p. 32 | ChannelMode::DirectDriveSpi, DirectDriveDrv0, DirectDriveDrv1, SetDrivePin() |
Configuration, Hardware |
| ON-state and OFF-state diagnosis | 4.9.1 TDS_Overview; Figures 14, 15 | p. 32 | DiagConfig, OffStateDiag, ChannelConfig::loaded |
API guide, Configuration, Status and limitations |
| Open load or short to ground, thresholds and warning | 4.9.2 TDS_Open Load/Short to Ground (OLSG); 4.9.3 TDS_OLSG Warning | p. 34 | DiagConfig::ol_fixed, ol_relative_eighths, olsg_warning, ChannelFaults::olsg |
API guide, Troubleshooting |
| Overcurrent and the OFF-state overcurrent check | 4.9.6 TDS_Overcurrent (OC); Equation 17 | p. 38 | StartOvercurrentCheck(), ClearChannelFaults(), kMaxOcOnTimeUs |
API guide |
| Register and OTP ECC, the self-test | 4.9.7 TDS_Register/OTP ECC; 4.9.8 TDS_Built in Self Test (BIST) | p. 39 | RunBist(), GlobalFault::OtpVirgin, Error::DeviceFault |
API guide, Troubleshooting |
| Average current, duty cycle and VBAT feedback | 4.10.2 TDS_Average feedback values; Equations 18 to 22 | p. 41 | ReadChannelFeedback(), ChannelFeedback, Error::NotReady |
API guide, Troubleshooting |
| Fast feedback and the sequence counters | 4.10.3 TDS_Fast measurement feedback; 4.10.4 TDS_Sequence counter | p. 42 | FastFeedback, ChannelFeedback::period_count, quad_count |
Configuration |
| Feedback freeze and update | 4.10.5 TDS_Update/Freeze Mechanism; Figure 22 | p. 43 | ReadChannelFeedback() |
API guide, Architecture |
| Overtemperature and the temperature feedback | 4.11.1 TDS_Overtemperature protection; Equation 32 | p. 45 | ReadSupply(), ChannelFaults::overtemperature, GlobalFault::CentralOtError |
API guide |
| SPI frame, mode and CRC-8 SAE J1850 | 5.1.1 TDS_General information; 5.1.2 TDS_Cyclic redundancy check (CRC) | p. 47 | kSpiMode, kMsbFirst, kFrameBytes, reg::FrameCrc(), Config::crc_check, Error::Crc |
Hardware, Porting, Architecture |
| SPI timing | 5.1.4 Electrical characteristics SPI interface, Table 18 | p. 48 | kMaxClockHz, kMinCsHighNs, kCsSetupNs, kCsHoldNs |
Hardware, Porting |
| The reply pipeline, frames and reply status | 5.2.1 TDS_Data flow; 5.2.3 SPI frame definition | p. 50 | detail::Transport, detail::DecodeReply(), Error::ReplyMismatch, FrameRejected, NoDevice |
Architecture, Contract, Troubleshooting |
| SPI watchdog | 5.2.2 TDS_SPI watchdog; Equation 33 | p. 50 | Config::spi_watchdog, watchdog_reload, ReloadWatchdog(), WatchdogReloadCode() |
API guide, Configuration, Status and limitations |
| Central registers, reset values and bit types | 5.3.1 Overview of Register Types; 5.3.2 Central registers | p. 54 | inc/tle92466ed_registers.hpp, Config{}, ReadRegister(), ClearFaults() |
Configuration, Architecture, Status and limitations |
| Identity, ICVID and CHIPID | 5.3.2.19 Version Register; 5.3.2.24 Unique Chip Identification Number Register 0 | p. 75 | kManufacturerId, GetIcVersion(), ReadChipId(), Error::DeviceIdMismatch |
Hardware, Troubleshooting |
| FB_STAT, the status summary | 5.3.2.21 Feedback Status Register | p. 77 | ReadStatus(), DeviceStatus, Error::UnexpectedReset |
API guide, Architecture |
| Channel registers and their bank addresses | 5.3.3 Channel registers, Tables 24 and 25 | p. 85 | reg::kChannelBase, ConfigureChannel() |
Configuration, Architecture |
| Application circuit | 6.1 TDS_Application information; Figure 26 | p. 105 | none: board design | Hardware |
When the datasheet and the driver differ¶
The driver is written against the revision above. If you have a newer revision, compare its revision history with the topics above; a change to a pin, a register, a timing or a value the driver uses is a bug report for this repository. Where the driver deliberately goes beyond the datasheet, the Contract says so.
The repository never contains the PDF itself: vendors own their documents. Download it from the vendor, and compare its SHA-256 with the one above to confirm you have the same file.