Martijn Grootens / AS5048

Dependents:   heros_leg_readout_torque_addition heros_leg_readout_torque_addition heros_leg_readout_torque_addition_V3

Embed: (wiki syntax)

« Back to documentation index

Data Structures

Data Structures

Here are the data structures with brief descriptions:
As5048Interfacing with the AMS AS5048A magnetic rotary sensor using SPI protocol AS5048 uses 16-bit transfer; We use two 8-bit transfers for compatibility with 8-bit SPI master devices SPI protocol: Mode = 1: clock polarity = 0 --> clock pulse is high clock phase = 1 --> sample on falling edge of clock pulse Code was succesfully tested on the FRDM KL25Z and K22F