Don't suppose anyone's done this yet? Would be nice to have a starting point.
Thanks,
Maxim chip 1-Wire (OW) driver for MOD54415
Re: Maxim chip 1-Wire (OW) driver for MOD54415
Indeed it would... got a part you want to use in mind? [Gotta have something to work with to make the example >:) Maybe we could use the same one]
I'm not saying that we'll be making one, but this has been on the todo list for a while.
I'm not saying that we'll be making one, but this has been on the todo list for a while.
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc
Re: Maxim chip 1-Wire (OW) driver for MOD54415
Just starting with a DS2401 Serial Number. We just want a unique to ID see what's plugged onto a cable without having to set switches, flash, etc. Seems an easy way to do it with little overhead.
The closest Freescale example I found is for the i.mx21 processor, probably similar enough to the 54415 but their example "sucks", they poll for bit-by-bit transfer done flags. This really needs to be done in the background under interrupt.
Every other example I've found is bit-banging with called time delays, even worse in a RTOS pre-emptive system.
Was hoping to find a 54415 example using interrupts, guess I have a bunch of homework to do.
The closest Freescale example I found is for the i.mx21 processor, probably similar enough to the 54415 but their example "sucks", they poll for bit-by-bit transfer done flags. This really needs to be done in the background under interrupt.
Every other example I've found is bit-banging with called time delays, even worse in a RTOS pre-emptive system.
Was hoping to find a 54415 example using interrupts, guess I have a bunch of homework to do.
Re: Maxim chip 1-Wire (OW) driver for MOD54415
Just ordered some 1-wire parts from Digikey..
A good first project for our new summer intern...
I believe one of the regular commentators on the group has a bit bang 1-wire interface for the older netburners...
I'm just not sure of the code's IP ownership status...
A good first project for our new summer intern...
I believe one of the regular commentators on the group has a bit bang 1-wire interface for the older netburners...
I'm just not sure of the code's IP ownership status...
Re: Maxim chip 1-Wire (OW) driver for MOD54415
I have done a lot of work with one-wire. I did bit banging on a 68HC11F1 originally. It was brutal.
Most recently I have used the DS2480B serial to One-wire chip and ported the Dallas One-wire software to work on the NetBurner MODxxxx series including the 54415 and the NANO. The DS2480B is impressive. It takes care of all of the low level signalling and timing, and is very fast.
The Dallas software takes care of all of the protocol stuff, including multiple serial numbers and configurations for different chip configurations (thermometer, memory, ADC, Switches, etc. Interrupt over one-wire might be doable, I never looked into it.
If you want to be up and running fast, I would recommend the DS2480B. If you want my port of the Dallas software, let me know.
Ed
Most recently I have used the DS2480B serial to One-wire chip and ported the Dallas One-wire software to work on the NetBurner MODxxxx series including the 54415 and the NANO. The DS2480B is impressive. It takes care of all of the low level signalling and timing, and is very fast.
The Dallas software takes care of all of the protocol stuff, including multiple serial numbers and configurations for different chip configurations (thermometer, memory, ADC, Switches, etc. Interrupt over one-wire might be doable, I never looked into it.
If you want to be up and running fast, I would recommend the DS2480B. If you want my port of the Dallas software, let me know.
Ed
Re: Maxim chip 1-Wire (OW) driver for MOD54415
The DS2480 is all nice and good but I don't see how it utilizes the built-in OW on the MOD54415. Seems the MCF54415 already has this functionality, just need to get it up-and-going, buffers, semaphores, interrupts and all.
Re: Maxim chip 1-Wire (OW) driver for MOD54415
You're right, the DS2480B doesn't use the OW on the chip. I looked at that at one point and I recall that the OW on the chip has limited functionality compared to what the DS2480B can do. It appears to be specific to a DS2505 ROM chip, but it should work on any 1-wire chip.
Maxim provides an SDK at: http://www.maximintegrated.com/products ... irekit.cfm that might be helpful, although there is no port for a Freescale MCU. It has functions for handling serial numbers if you want to have more than one 1-wire chip on the bus.
Maxim provides an SDK at: http://www.maximintegrated.com/products ... irekit.cfm that might be helpful, although there is no port for a Freescale MCU. It has functions for handling serial numbers if you want to have more than one 1-wire chip on the bus.