Microsecond Bus or DSPI on ESP32

gaston_fabbietti
Posts: 1
Joined: Mon Apr 25, 2022 7:12 pm

Microsecond Bus or DSPI on ESP32

Postby gaston_fabbietti » Mon Apr 25, 2022 7:59 pm

Hi everyone. This is my first post but I have been a user of the forum for years and it has always been very helpful.
i am wanting to interface the ESP32 with an L9779 from ST Microelectronics for an automotive device.
The L9779 uses the MSC port (Microsecond communication or microsecond bus) which is very similar to SPI.
I wanted to know if it is possible to work with this type of communication and if someone has already done it before

L9779 datasheet: https://www.st.com/resource/en/datasheet/l9779wd.pdf

I appreciate any help

Thanks

ESP_Sprite
Posts: 9746
Joined: Thu Nov 26, 2015 4:08 am

Re: Microsecond Bus or DSPI on ESP32

Postby ESP_Sprite » Tue Apr 26, 2022 1:15 am

What a curious bus. Yes, at first glance I think this should be doable. You can use the GPIO matrix to net you a 2nd inverted MOSI /SCK output for the SPI bus, giving you a differential signal without external components. Current/voltage limiting on the differential pairs can likely be done using series resistors. The only thing that might be tricky is reading the (lower-speed) upstream data frames, as the ESP32 does not have a feature of reading input data at a fraction of the clock: you may simply need to read a bunch of bytes and parse them as one bit.

Who is online

Users browsing this forum: Bing [Bot] and 100 guests