pmcalabrese 0 Posted January 11, 2014 Share Posted January 11, 2014 Super interesting i wanted to upgrade my project with a better ethernet chip, i will try to move from a w5200 to w5500! Ordered! Great job! Quote Link to post Share on other sites
besi 0 Posted January 13, 2014 Share Posted January 13, 2014 My server software is not ready for prime time yet, so here is the driver part. This should be enough to get things going for those who have my v3 BP or use W5500. w5500.hw5500.cdefines.htypedefs.h Im trying to understand your code but I dont know where is your definition and implementation of extern u_char sendReceiveByteSPI(u_char byte); is. I wrote this instead: //extern u_char sendReceiveByteSPI(u_char byte); u_char sendReceiveByteSPI(u_char d) { // send character over SPI u_char received = 0; SPIF.DATA = d; while ((SPIF.STATUS & SPI_IF_bm)==0); received = SPIF.DATA; return (received); } Great job btw. P.S.: Does somebody have a demo.c for a sample webserver. Quote Link to post Share on other sites
RobG 1,892 Posted January 13, 2014 Author Share Posted January 13, 2014 This is my implementation. u_char sendReceiveByteSPI(u_char byte) { u_char receivedByte = 0; UCB0TXBUF = byte; while (UCB0STAT & UCBUSY); receivedByte = UCB0RXBUF; return receivedByte; } besi 1 Quote Link to post Share on other sites
besi 0 Posted January 13, 2014 Share Posted January 13, 2014 Thank you Rob for the quick response. My function looks similar to your code with small changes to work on xmega spi. Im trying to adapt a code vision sample that uses Arduino Uno ATmega328 board + Wiznet W5100 shield as hardware to work with xmega128a1 + Wiznet W5500. Do you have any demo.c or some function how to correctly use your drivers to get the webserver running. Thanks in advance. Quote Link to post Share on other sites
dragospd 0 Posted January 22, 2014 Share Posted January 22, 2014 Hi Rob, I'm trying to order this from tindie store. There is an error message saying "Shipping not available to Romania. The seller has been asked to add shipping." Please help. Thanks and regards, Dragos Quote Link to post Share on other sites
NickTompkins 4 Posted February 4, 2014 Share Posted February 4, 2014 Wow rob I think this is exactly what I was looking for.... Is there a way to pull data from your software like perhaps a counting int that is generated from the MCU? I have send you a PM btw.... Quote Link to post Share on other sites
RobG 1,892 Posted February 4, 2014 Author Share Posted February 4, 2014 Yes you can. This is W5200 based BP, but software is pretty much the same. Quote Link to post Share on other sites
RobG 1,892 Posted February 9, 2014 Author Share Posted February 9, 2014 New batch in store now. Quote Link to post Share on other sites
ofer 0 Posted February 16, 2014 Share Posted February 16, 2014 hi Rob, I order a unit a few days ago. can you upload a Demo Code ar a CCS Demo Project? thanks, Ofer. Quote Link to post Share on other sites
ofer 0 Posted February 27, 2014 Share Posted February 27, 2014 hi, I have MSP430G2553 and im using RF boosterpack on SPI B, is there a way to use SPI A and not SPI B for the Ethernet Booster Pack? thanks. Ofer. Quote Link to post Share on other sites
spirilis 1,265 Posted February 27, 2014 Share Posted February 27, 2014 Ofer- The two can coexist on USCI_B so long as they use different Chip Select lines. Sent from my Galaxy Note II with Tapatalk 4 ofer 1 Quote Link to post Share on other sites
RobG 1,892 Posted February 27, 2014 Author Share Posted February 27, 2014 Good point spirilis. P2.3, P2.4, and P2.5 are used on EBP. ofer 1 Quote Link to post Share on other sites
ofer 0 Posted March 9, 2014 Share Posted March 9, 2014 hi, i got RobG's Ethernet Boosterpack v3 a few days ago and i cant get it to work. does anyone have a working code for it? thanks, Ofer. Quote Link to post Share on other sites
RobG 1,892 Posted March 9, 2014 Author Share Posted March 9, 2014 @@ofer, here's something you can use as a starting point. W5500 G2553.zip ofer 1 Quote Link to post Share on other sites
ofer 0 Posted March 9, 2014 Share Posted March 9, 2014 thanks Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.