Posted: Fri Jan 06, 2006 5:49 am Post subject: Connecting Ez TCP/TWI to BDMicro MAVRIC
Hi:
I have a BD Micro MAVRIC board (http://www.bdmicro.com/mavric/) and would like to hook up the Easy-TCP/IP I2C/TWI board to it. It looks like there are 6 wires involved, and I'm pretty clear on how to handle Vcc, Gnd, SDA and SCL. The two I'm unsure about are /int and /rst.
So, my two questions are:
1) The MAVRIC uses PortD.0 for SCL and Int0, so can I just use something like PortE.4 = int4 and then just specify INT4 on the Config TCP line in BASCOM?
2) Where should I hook up and how do I specify (in BASCOM) the \rst line?
If your AVR controller has a reset pin, just connect the /RST pin of the Easy TCP IP TWI Adaper print to that reset pin. (an invertion will occur thru the BC transitor on the board)
For INT you can specify any available interrupt in the config line:
Config Tcpip = Int0 refer to help and bascom samples folder.
Regards, Barry de Graaff _________________ ______
Barry de Graaff is a micro electronics student,
formerly on work emplacement at MCS Electronics.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum