Page 1 of 1

newbie - SB70LC, RS485 and QSPI

Posted: Thu Mar 15, 2012 11:33 am
by sehsamudra
Hello, I'm looking for first time pointers, and appreciate the earlier guidance I received in coding techniques for the NNDK. My requirement has boiled down over the last few months to using a NNDK + SB70LC that will speak RS-485 to an upstream host, and downstream will control certain devices through timed pulses (varying duty cycle), and perhaps in a separate version of this application, process data from a SPI bus connected sensor slave.

I have the ethernet version of the SB70LC, and was wondering (a) if I later switched over to the serial only version of the SB70LC (without the RJ-45), what would I have to look out for in the coding and (b) while connected TO the SB70LC embedded web server, is there a best practice to execute stored routines on the MCU through an explicit choice of an HTML button?

Regards.

Re: newbie - SB70LC, RS485 and QSPI

Posted: Sat Mar 17, 2012 11:14 am
by rnixon
Hello,

Whether or not you have a RJ-45 connector it is still and Ethernet capable device, so I don't see any coding issues. Having the Ethernet port there during development is nice because you can do fast network downloads instead of slower serial downloads, which would have to be done manually instead of within eclipse, since eclipse only supports network downloads.

I'm not sure what you mean by best practice. It depends on your web interface. If html, use a form post, if java, flash or ajax, it is different. There are examples in the network programmers guide of the html post method.