Skip to content

Commit

Permalink
Docs: S32K1XX FlexIO emulated I2C documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervdPerk-NXP committed Jul 15, 2024
1 parent a16d897 commit 71e1e55
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Documentation/platforms/arm/s32k1xx/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ eDMA No
EEPROM Yes EEPROM emulated by FlexRAM
ENET Yes
FlexCAN Yes SocketCAN-compatible
FlexIO No
FlexIO Yes Emulated I2C Master driver
FTM Yes PWM driver only
GPIO Yes
LPI2C Yes I2C Master and Slave
Expand Down Expand Up @@ -84,7 +84,15 @@ The S32K1XX family has up to 3x FlexCAN modules (which may not all have CAN FD s
FlexIO
------

A configurable module providing a range of functionality like emulation of a variety of serial/parallel communication protocols, flexible 16-bit timers or programmable logic blocks. No driver available.
A configurable module providing a range of functionality like emulation of a variety of serial/parallel communication protocols, flexible 16-bit timers or programmable logic blocks.

The `s32k1xx_flexio_i2c.c` driver implements an emulated I2C master using FlexIO.
Albeit the current implementation has some limitations:
- Max I2C speed of 400KHz
- Max transfer of 12 bytes (Could be extended by utilizing EDMA)
- No abort on NACK reception, shifter simplies continues on
- No multi-master support
- No restart support

FTM
---
Expand Down

0 comments on commit 71e1e55

Please sign in to comment.