Search found 210 matches

by danlee58
Tue Feb 05, 2013 11:34 am
Forum: SPI and I2C
Topic: i2c on PRO
Replies: 38
Views: 88467

Re: i2c on PRO

I am tring to set up a Maxim MAX519 DAC using SCL1, & SDA1 on an ARMmite PRO. I don't get an ACK(I2C_I21STAT = 0x08) from the hardware after I send a STA_ It might be a hardware problem, as this is all new hardware & software. Any comments on the code? Code in LPC210x.h "#define I2C_I2C1NSET (*(REG3...
by danlee58
Mon Jan 28, 2013 3:25 am
Forum: SPI and I2C
Topic: I2C speeds
Replies: 4
Views: 18354

Re: I2C speeds

I need to set the clock speed for SCL1 on my PRO board. I have a funtion call !2CSPEED(400), but I don't think that applies to SCL1, only SCL0. I need to duplicate the function for SCL1, but I can't find the Source code.

Which module defines I2CSPEED?
by danlee58
Sun Jan 27, 2013 2:05 am
Forum: SPI and I2C
Topic: I2COUT
Replies: 1
Views: 13854

Re: I2COUT

I need to set P(17) to SCL1, and P(18) to SDA1, then PINSEL1 to (PINSEL1 || 0x010100). I can't find where this is done.

Also, I probably need a new version of Libarm7 for the PRO. I still have the Armmite version.
by danlee58
Fri Jan 25, 2013 6:11 pm
Forum: SPI and I2C
Topic: I2COUT
Replies: 1
Views: 13854

I2COUT

I'm trying to send a byte to an 8 bit DAC on the I2C bus from a PRO. I need to use P1(17), and P1(18) as SDA & SCL. Can I use I2COUT as is or can I modify the Function to use those pins?
by danlee58
Fri Jan 25, 2013 11:08 am
Forum: Kitchen sink
Topic: PCLK
Replies: 1
Views: 6258

PCLK

I'm trying to measure the Period of an external Interrupt. It occurs as often as 1 msec. I read T0_CR0 and reset T0_TCR on each occurance. T0_PR is set to 0.

I need to know the rate of PCLK on my PRO board to calibrate the measurement.
by danlee58
Sun Jan 20, 2013 10:55 am
Forum: Other Hardware interfaces
Topic: Big Current Source
Replies: 8
Views: 19839

Re: Big Current Source

Chris,

Thanks!

I'll jumper P!(17) & P1(18) to IO(12) & IO(13). They are unused and will be tri-state. This way they will be available on the Prototype Shield thriugh the Header.
by danlee58
Sat Jan 19, 2013 12:00 pm
Forum: Other Hardware interfaces
Topic: Big Current Source
Replies: 8
Views: 19839

Re: Big Current Source

I have run into a problem. The I2C bus outputs are on PO(2), and PO(3). These are not available on the PRO or ARMmite boards.

The DAC that I have on order rquires SDA & SCL for the I2C data transfer.
by danlee58
Thu Jan 17, 2013 9:03 pm
Forum: Other Hardware interfaces
Topic: Big Current Source
Replies: 8
Views: 19839

Re: Big Current Source

The parts that I selected are from Mouser. I'll try Digikey next. I have purchased from both in the past. I will look for another DAC, because the Mouser unit is a Dual and priced at $3.73 ea for 1 to 25 units. In the Dual DAC setup each DAC uses a seperate External Reference, since there are two DA...
by danlee58
Thu Jan 17, 2013 1:02 pm
Forum: Other Hardware interfaces
Topic: Big Current Source
Replies: 8
Views: 19839

Re: Big Current Source

I'm looking at a Maxim MAX517ACPA DAC, and an NXP BUK75144-55A,127 for the MOSFET. I need through hole mounting for the DAC. I still need to identify a single supply Op Amp.
by danlee58
Thu Jan 17, 2013 2:43 am
Forum: Other Hardware interfaces
Topic: Big Current Source
Replies: 8
Views: 19839

Re: Big Current Source

I was thinking along those lines. I'll ned an Op Amp that works on a single supply, and a way to mount & heat sink the FET, also a DIP or SIP DAC. I got my ARMmite board working. I cleaned the solder splashes and flux. I plan to use it to test my Interrupt Proceedure, but I'll do the job on the Pro ...