Tool/software: Code Composer Studio
Where can I find the port definitions for AM3358?
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.
Tool/software: Code Composer Studio
Where can I find the port definitions for AM3358?
Hi Anping,
I am not sure what exactly you are looking for. Could you please provide more details?
Regards,
Pavel
Hi Pavel
I take over old repository for TMS320F2837X, There is file to define port like
#define PA0 (0x80000000)
...
#define PB0 (0x00000001)
...
#define PC0 (0x80000000)
...
static int vxImmrGet() { return immr_value; }
Is there similar file for AM3358? Thanks
Anping,
From what I understand, you need to know pad/pin registers definition for AM335x RTOS.
Let take for example pin gpio0_0 (P17 in ZCE and M17 in ZCZ packages). Its pinmux register is CONF_MDIO and is defines in:
pdk_am335x_1_0_15/packages/ti/starterware/include/hw/hw_control_am335x.h
#define CONTROL_CONF_MDIO_DATA (0x948)
pdk_am335x_1_0_15/packages/ti/starterware/board/am335x/am335x_pinmux.h
PIN_MDIO_DATA = 0x0948U,
Regards,
Pavel