
djcheezy
-
Content Count
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Gallery
Posts posted by djcheezy
-
-
-
JColvin,
I had planned on using multiple outputs at differing voltages simultaneously. I was unaware of this limitation on the ADI chip. I guess I should have read the datasheet better
I don't think that this should pose to much of a problem however. I can just run the clock faster, and maybe stick a cap on the outputs to keep the voltage up.
Is there any way you can post a picture of the bottom of the Pmod shield? I can find a photo online, and I'm curious as to what the bottom of it looks like.
You've been an awesome help, I'll definitely look into the daisy-chaining your block diagram explains it pretty well.
Thanks so much,
djcheezy
-
This seems to be working for me when I paste it into boards.h. I am able to compile example code using the uC32 board with Pmod Shield:
############################################################
uC32_pmod.name=chipKIT uC32 with Pmod Shield
uC32_pmod.group=chipKIT# new items
uC32_pmod.platform=pic32
uC32_pmod.board=_BOARD_UNO_
uC32_pmod.compiler.define=-Danything_you_want::-Danything=1
uC32_pmod.ccflags=ffff
uC32_pmod.ldscript=chipKIT-application-32MX340F512.ld
# end of new items# Use a high -Gnum for devices that have less than 64K of data memory
# For -G1024, objects 1024 bytes or smaller will be accessed by
# gp-relative addressing
uC32_pmod.compiler.c.flags=-O2::-c::-mno-smart-io::-w::-ffunction-sections::-fdata-sections::-G1024::-g::-mdebugger::-Wcast-align
uC32_pmod.compiler.cpp.flags=-O2::-c::-mno-smart-io::-w::-fno-exceptions::-ffunction-sections::-fdata-sections::-G1024::-g::-mdebugger::-Wcast-alignuC32_pmod.upload.protocol=stk500v2
uC32_pmod.upload.maximum_size=126976
uC32_pmod.upload.speed=115200uC32_pmod.bootloader.low_fuses=0xff
uC32_pmod.bootloader.high_fuses=0xdd
uC32_pmod.bootloader.extended_fuses=0x00
uC32_pmod.bootloader.path=not-supported
uC32_pmod.bootloader.file=not-supported
uC32_pmod.bootloader.unlock_bits=0x3F
uC32_pmod.bootloader.lock_bits=0x0FuC32_pmod.build.mcu=32MX340F512H
uC32_pmod.build.f_cpu=80000000L
uC32_pmod.build.core=pic32
uC32_pmod.build.variant=uC32_Pmod_Shield
#uC32_pmod.upload.using=
############################################################ -
Hi JColvin,
Would you be able to do something like this for the uC32 and the Pmod Shield. It appears that the Uno32 is discontinued and you no longer have stock.
Thanks,
djcheezy
-
Hi JColvin,
What I'm worried about is using SPI to communicate with the Pmods. I need 18 analog output signals, so I was planning on using 3 PmodDA4s with the Pmod Shield on the Uno32. This shield appeared to work well because I also need 19 digital I/O. The linked post casts doubt on how well using multiple Pmods with SPI will work.
http://chipkit.net/forum/viewtopic.php?f=16&t=1529
I found your previous post setting up the Pmod Shield, which I found very informative: https://forum.digilentinc.com/topic/81-getting-the-pmod-shield-to-work-correctly/#comment-197
Do you believe that I'll be able to use SPI or DSPI to communicate to all three PmodDA4s?
Thanks for all your help,
djcheezy
-
Thanks JColvin!
Your links are very useful! Do you know if a Digilent plans on releasing a library at any point?
Can you forsee any compatibility issues with the hardware I'm planning on using?
djcheezy
-
Hey guys,
I'm currently trying to spec a project using the Uno32 with the pmod shield. The pmod I would like to use is the DA4 digital to analog converter.
I've noticed that in Diligent's reference section there is an example code section for the pmodDA1 which gives a zip file including examples, a library, and a library manual for using the DA1. However such resources don't exist for the DA4. Does anyone know if that library be necessary for using the pmodDA4, or where I can find some examples of using it? I'm not new to microcontrollers, but I am new to pmod...
Any help would be appreciated!
Thanks!
uC32 Output Compare Timers
in Digilent Microcontroller Boards
Posted
Hi guys,
I'll looking to use 3 of the 5 compare pwm outputs available on the uC32. I would like to use them to generate 3 square waves all around 830Hz. They'll all be fixed frequency from the start of the program. I've seen the sample code in the datasheet, but I think there must be easier higher level functions I can call. I would like to send the output on the OCx pins.
Can anyone point me in the direction of some resources for this? I can't seem to get anything out of the OC pins.
Thanks,
djcheezy