Hello
Are there any examples / diagrams available for sending and receiving sync serial data over one data line? I have a chip that accepts up to 10MHz clock and includes a chip select and a single data line.
Thanks for any info!
Hello
Are there any examples / diagrams available for sending and receiving sync serial data over one data line? I have a chip that accepts up to 10MHz clock and includes a chip select and a single data line.
Thanks for any info!
You may only need a single data line but you also need a common GND connection
hi thanks I meant from an Aurduino UNO minima - The chip and the Aurduino share the same common ground. The chip I am interfacing with includes three signals CLK , DATA and XCS or chip select which I know I can use a GPIO for.
You sure this isn't an SPI interface? Or, something akin to I2C? What chip is it, or is it unmarked?
That would be a three wire (probably half duplex) synchronous bus, similar to SPI, which is a four wire full duplex synchronous bus. Please post a link to the chip data sheet.
Please post a link to the datasheet for the chip
There is a protocol that is very robust called 1 wire CAN. This is a multi master bus that any node can send data. The Arduino uses a 16MHz clock but cannot communicate at 10MHz. The clock is normally divided down inside a chip as it may drive a state machine. Of course with all the great information given such as your magic chip we can only guess.
Hint: All signals need a reference, this is typically ground.
Thanks. The MAS6116 data sheet describes the custom serial control protocol in detail.
This could easily be implemented with simple "bit-banged" I/O, and you can find examples for SSI interfaces, which are similar. Search phrase "arduino ssi interface".
I have yet to find an example for ard ... can you point to one? I am new to Ard - can it clock the serial bus?
If you actually have an MAS6116 chip to test, properly mounted on a PCB with all the required decoupling capacitors and other components, please post the details (including a schematic circuit diagram).
I can take a closer look at the data sheet and post some code to try.
There is no point in coding until you have something to test it with. Follow the manufacturer's recommendations in the data sheet for producing a properly designed test circuit and PCB, or buy the MAS6116 evaluation board.
agree but do you know what pins to use on the ard?
Any digital pins will work.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.