Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLE5011 wiki doco incorrect? #60

Open
OzGadget opened this issue Aug 3, 2022 · 1 comment
Open

TLE5011 wiki doco incorrect? #60

OzGadget opened this issue Aug 3, 2022 · 1 comment

Comments

@OzGadget
Copy link

OzGadget commented Aug 3, 2022

Hello

The image in the wiki regarding TLE5011 configuration indicates the data pin is connected to SPI-MOSI
https://github.com/FreeJoy-Team/FreeJoyWiki/raw/master/images/A1.1.jpg

I believe this is incorrect, as the bluepill (master) , listens to the data from the sensor (slave)
hence Master is taking the data as an input (MI) & slave is sending data out to master (SO) - correct?

The infineon datasheet isn't much help in this regard as it makes no mention of MISO/MOSI, only the term 'data'.

All PCBs & other documentation searched for the 5010/11 information show the chips data pin to be a MISO.

Am I understanding this wrong - or is there an error on the wiki image/doco

happy to correct / update the wiki, on your behalf, if someone can confirm this.

regards

@vostrenkov
Copy link
Member

Hi
The image is right because TLE5010/5011 works in half-duplex mode of SPI (and that's why they call it not MOSI or MISO but DATA). In this mode STM32 uses P5 pin for data transfer and it is MOSI pin of SPI interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants