SPI firstbit option

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
ExXec
Posts: 72
Joined: Sat Oct 20, 2018 4:02 pm

SPI firstbit option

Post by ExXec » Sat Jun 22, 2019 4:21 pm

Hi,
I was wondering if the firstbit option for the SPI module affects only tx or rx aswell (on the pyboard)?

Thanks!
-ExXec

ExXec
Posts: 72
Joined: Sat Oct 20, 2018 4:02 pm

Re: SPI firstbit option

Post by ExXec » Wed Jul 03, 2019 8:59 pm

Is this the wrong forum for this question?

User avatar
jimmo
Posts: 892
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: SPI firstbit option

Post by jimmo » Wed Jul 03, 2019 10:34 pm

I'd be very surprised if it wasn't both!

But easy to check - plug miso into mosi and send a byte to yourself.

ExXec
Posts: 72
Joined: Sat Oct 20, 2018 4:02 pm

Re: SPI firstbit option

Post by ExXec » Thu Jul 04, 2019 11:40 am

Yes I checked, and it sets both directions

Post Reply