v2 16f876 to xm10u

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

Post Reply
ukweb
Posts: 16
Joined: Fri Jul 28, 2006 8:35 pm
Contact:

v2 16f876 to xm10u

Post 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

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Post 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.

Post Reply