Skip to content

bug of AS5047P sensor #69

@Kedgin

Description

@Kedgin

I am using platform for VSCode. The Simple FOC version is 2.3.5.
This line:
MagneticSensorSPI sensor = MagneticSensorSPI(AS5147_SPI, PA4);
is working.

But this line:
MagneticSensorSPI sensor = MagneticSensorSPI(AS5047_SPI, PA4);
is not working.
The values of sensor.bit_resolution, sensor.data_start_bit, sensor.command_rw_bit, sensor.command_parity_bit are 0.
I got nothing after I spent hours to find where is the problem.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions