FreeJoyWiki
FreeJoyWiki copied to clipboard
TLE5011 wiki doco incorrect?
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
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