This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SitaraWare Function Organization

Other Parts Discussed in Thread: AM1808, TCA6416, TLV320AIC3106

The file include/am1808/evmAM1808.h contains the declarations for a lot of functions which I don't think are specific to the EVM AM1808: functions like xPinMuxSetup, where x is one of 15 peripherals that exist not just on the EVM AM1808, not just on the AM1808, not just on the AM18x, but most of the Sitara ARM9 offering, if not the Sitara Cortex-A8 products (I haven't looked). It also contains functions to unlock and lock the SysCfg registers through the KICK registers, which also isn't specific to the EVM AM1808.

I think these functions should be moved into the core driver library, or relevant chip-specific library, and the EVM AM1808 library be made to support things which are specific to this board, like the Sharp Active TFT LCD (though, between the LCDC Raster Mode and Stellaris' GrLib, there's not much to it), the TLV320AIC3106 audio chip, the TCA6416 I2C GPIO Extender that connects to the DIP switches, and the UI Board, which is another whole can of worms.