Do you have basic example code for each of the peripherals on the ADuCM302x that does not require the drivers?
Currently what we have are the code examples for ADuCM3029 using the board support package.
Actually using the BSP drivers is a good practice rather than you have to reinvent the wheel again.Because included in the BSP are the safe handling of the peripherals,
something you might overlooked causing you more trouble.
If ever you really need to program without using the BSP, you can refer the initialization of different peripherals
using the Hardware Reference Manual: ADuCM3029 Hardware Reference.
AOsama made a very good point: it is highly recommended that you use the device drivers provided in the board support package. If these drivers are for some reason insufficient for your needs it would be helpful if you would provide feedback on them.
I noticed your other recent question regarding interrupts; that question was already answered but appears related to this. While we do not provide example code to setup and use peripheral interrupts without using the device drivers, it is of course possible for you to author such code yourself. I suggest inspecting the device drivers as well as the hardware reference manual for guidance on using the various interrupt related control and status registers.
All interrupts have a default weakly defined stub function provided in the file:
[path to BSP]\Analog Devices\ADuCM302x\ADuCM302x_EZ_Kit\Source\IAR\startup_ADuCM3029.s
The device drivers overload the default handlers defined in the file above. To author your own interrupt service routines you may overload any of these weakly defined functions (without including the device drivers which also do so), or you may modify the vector table itself to point to new function signatures of your own design. In this manner you may effectively author your own custom device drivers.
Retrieving data ...