05-28-2012 09:15 AM
Thanks for the quick reply.
I'm currently working on an other computer and don't have the module's schematic.
I am using an ATmega328's internal ADC, having a continuos conversion.
The idea would be the following: to write the result of the conversion to an output pin of the ATmega, and read that value through the bus.
I would appreciate if you'd have some suggestions/tips.
Thanks for the help,
Levi
05-28-2012 09:21 AM
This chip is a complete CPU with and AD... you have to creates code for this chip and then it will be usable with the SPI connected to your 15 pin connector on the CRIO.
Here again, I wont do your complete project. This is not only the CRIO matter, but it's the electrical schematics and the code that is programmed in the CPU that interface the FPGA of CRIO and the external world.
Benoit
05-28-2012 10:24 AM
I'm thinking of implementing an I2C communication protocol between the controller and the fpga.
I saw some post on this, hope I will manage.
I'll update soon.
Thanks for the replies,
Levi
06-08-2012 08:50 AM
Update, as promised...
I am approaching the final stage of my custom cRIO module design.
I dindn't implement I2C communication between the microcontroller and the cRIO, but a serial communication protocol:I simply transmit 2 bytes between the start and stop bit.
Motto: 'KISS' - Keep It Simple, Stupid