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.

Mcbsp Linux driver OMAP35X

Hello,

I'm using OMAP35X EVM (mistral rev G) DVSDK 3 PSP SDK 3.0.1.6.

 

I have try to  write to  Mcbsp 1  registers (32bit) using Linux driver .

I can write and read with this driver to part of mcbsp registers see registers list:

MCBSPLP_DRR_REG R 32 0x0000 0000 0x4807 4000

MCBSPLP_DXR_REG W 32 0x0000 0008 0x4807 4008

MCBSPLP_SPCR2_REG RW 32 0x0000 0010 0x4807 4010

MCBSPLP_SPCR1_REG RW 32 0x0000 0014 0x4807 4014

MCBSPLP_RCR2_REG RW 32 0x0000 0018 0x4807 4018

MCBSPLP_RCR1_REG RW 32 0x0000 001C 0x4807 401C

MCBSPLP_XCR2_REG RW 32 0x0000 0020 0x4807 4020

MCBSPLP_XCR1_REG RW 32 0x0000 0024 0x4807 4024

MCBSPLP_SRGR2_REG RW 32 0x0000 0028 0x4807 4028

MCBSPLP_SRGR1_REG RW 32 0x0000 002C 0x4807 402C

MCBSPLP_MCR2_REG RW 32 0x0000 0030 0x4807 4030

MCBSPLP_MCR1_REG RW 32 0x0000 0034 0x4807 4034

 

 

but to this registers list I can write and read only to 8 LSB

MCBSPLP_PCR_REG RW 32 0x0000 0048 0x4807 4048

MCBSPLP_RCERC_REG RW 32 0x0000 004C 0x4807 404C

MCBSPLP_XCCR_REG RW 32 0x0000 00AC 0x4807 40AC

MCBSPLP_RCCR_REG RW 32 0x0000 00B0 0x4807 40B0

 

The driver is very simple it just give virtual address against physical address using ioremap command and connect the right clock to Mcbsp 1

The driver load to system with insmod command.

 

 

Please advice

 

Thanks

Shaul