AT32UC3C and ADT7301

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Greetings,

has anyone experiance with AT32UC3C0512 and Temperature Sensor ADT7301 and putting them together? My task is to connect those two and send temperature value over 32UC3C1512C TX pin (PB17). I am not very good at this and have a basic knowlege. There is a code in ADT7301 data sheet and its said that any microchip microcontroller can use that program by simply exchanging the include file for the device that is being used and I have no idea how to do it.

Regards,

m@arko

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So, i have done following:

I have connected Temp. sensor ADT7301 with AT32UC3C-EK via Two Wire Interface like this:

SCL --> WZ_SCL (J44.2)

DOUT --> WZ_SDA (J44.1)

VCC --> VCC3 3,3V (J25.10)

GND --> GND (J25.9)

Pins DIN and CS are N.C.

 

From Atmel Studio 7 i have used Example Project TWIN Master Example-UC3C-EK(Using the TWIM module, perform read and write operations from/to a virtual memory space pre-allocated in internal RAM in a slave TWI device. To be used with two boards with the corresponding TWIS module example. [TWIM Master Example - UC3C-EK - AT32UC3C0512C]) 

When I programm the device on PC terminal i get this result:

 

Master Example
Master Started
TARGET SLAVE FIND:      PASS
Writing data to TARGET
WRITE TEST:     PASS
Reading data from TARGET
READ TEST:      FAILED
Check Read:     FAIL

 

 

Can anyone give me some kind of direction/advice or tell am I even close?

Thanks

Last Edited: Wed. Nov 30, 2016 - 12:36 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So why the two usernames?

 

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I cannot reset  password for my first account.

This server is experiencing technical problems. Please try again in a few moments. Thanks for your continued patience, and we're sorry for any inconvenience this may cause.

Error 503 Service Unavailable

Service Unavailable

XID: 1618296547

so i have logged with Google account.

 

Any suggestion for my actual problem? :D