Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:45 28 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MM/CMM: SPI data format

Author Message
Juri74

Senior Member

Joined: 06/02/2012
Location: Italy
Posts: 162
Posted: 10:23pm 18 Jul 2013
Copy link to clipboard 
Print this post

Hello all,
a quick question:
suppose the byte &b11110000
i will send it to a device using spi command void=spi(rx,tx,clk,byte)

wich bit is sent first? MSB (1) or LSB (0)?

thank you!
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 10:50pm 18 Jul 2013
Copy link to clipboard 
Print this post

RTFM

Page 53:
Transmission Format
The most significant bit is sent and received first. The format of the transmission can be specified by the 'mode'
as follows:
Edited by TZAdvantage 2013-07-20
Microblocks. Build with logic.
 
Juri74

Senior Member

Joined: 06/02/2012
Location: Italy
Posts: 162
Posted: 11:09am 19 Jul 2013
Copy link to clipboard 
Print this post

Oh dear, i read & read it so many times.. i think i need glasses...
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 01:06pm 19 Jul 2013
Copy link to clipboard 
Print this post

We've all done that before!

Smoke makes things work. When the smoke gets out, it stops!
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024