.NET interface for 3 wire SDIO

All about Sub-20 Multi Interface USB Adapter USB to I2C, SPI, GPIO, RS232, RS485, Ir, LCD

Moderator: serg

Post Reply
kenD4
Posts: 5
Joined: Thu Feb 10, 2011 1:53 pm

.NET interface for 3 wire SDIO

Post by kenD4 »

Hello,
I am new to using the XDImax. I purchased it to interface with a AS5134 rotary encoder

I was unable to find SDIO in the .net document. It is present in the user’s manual. However it seems to support data only in even byte amounts. Can you support data transfers that aren’t in even byte records according to this format? If you need more information here is a link to the data sheet. http://www.austriamicrosystems.com/eng/Products/Magnetic-Encoders/Rotary-Encoders/AS5134



There are 5 outgoing bits followed by 62 bits of data in or data out.

I also need to be able to follow this message format: 5 outgoing bits followed by 2 bytes of data in or out



If possible can you provide an example for matlab?

xol
Site Admin
Posts: 241
Joined: Sat Aug 29, 2009 8:04 am

Re: .NET interface for 3 wire SDIO

Post by xol »

HI,
Currently SUB-20 SPI module supports only 8bit divisible transfers.
In your case I think you should make so called bit-banging using GPIO function. In other words you should program each bit manually.
In nearest future we plan to implement a number of additional bit-bang SPI channels inside SUB-20. This implementation will support arbitrary bit number.

Post Reply