Page 1 of 1

v2 16f876 to xm10u

Posted: Thu Aug 31, 2006 2:19 am
by ukweb
Hi

Can i get a simple C code for communicating with the xm10u using a matrix multimedia v2 16f876.

1. Can v2 communicate directly with xm10u or else it needs max232 to communicate.

2. How to send serial data to the xm10u and how does it accept the data.

thanks
ukweb

Posted: Thu Aug 31, 2006 9:27 am
by Steve
If I remember correctly, the XM10U communicates using TTL-level logic (5V), so you will not need a max232. Although I would suggest using some kind of protection.

As for the comms itself (and indeed for the interfacing circuitry), there are a few references on the web. We have a "strategy guide" document for developing C/asm code for X10, but it is written specifically around using our X10 interface E-Block - although this may help as well.