First thank you all for useful and helpful topic and posts.
Recently i have bought the module version part code (#27984) at "parallex.com".
I already succeed interfacing it but have problems.
1- If INT _MODE is set to 1 then the interrupt lasts until read register 0x0C occurs but 0x0C is not mentioned at all!.
2- When reading the status registers,Whatever i do it return a certain value that never changes, and i tried two ways in reading.
a) Send command write then Address to read(assume 0x0A) then Command read and after that reading 16 bit data back and do the same for 0x0B and 0x0C but in this way i get 23FF for all registers.
b) The same as the last method but after reading 1st 16 bit data i continuously read the other 2 registers and in this case i get back 23FF FF FF.
3- Whatever i write to 0X06 or not the module work fine!.
4- In the CLK_MODE[2:0] i assumed am using 32.768kHz crystal which already mounted on the module but with no label on it and it worked fine unless if someone have different opinion about that.
5- Is there an initialization process i have to do it cause i noticed that the module work after i do master clear after the power up, its may be a power problem but i need to make sure if am missing something.
6- Unfortunately i can't understand the basic stamp code, am using pic16877a and was building a library to interface the module in C and already done with the write part which work as the following
Code:
set_REG0x02(HI_Z_OFF,MUTE_OFF,MONO_OFF,BASS_ON,SEEK_DOWN,SEEK_OFF,SKMODE_WARP,CLKM_32KHz,SOFTRST_OFF,ENABLE_ON);
set_REG0x03(996,TUNE_ON,BAND_76_108,SPACE_100KHz);
set_REG0x04(STCIEN_ON,DE_75us,I2S_OFF,GPIO3_MS_I,GPIO2_INT,GPIO1_H);
set_REG0x05(INT_READ,0b00001000,LNA_ANT,LNA_2_5mA,0b00001111);
FM_Write(Cmd_WRITE,0x02,0,1); // 0~9 are address within array hold the configurations edited using set_REG0xXX
FM_Write(Cmd_WRITE,0x03,2,3);
FM_Write(Cmd_WRITE,0x04,4,5);
FM_Write(Cmd_WRITE,0x05,6,7);
FM_Write(Cmd_WRITE,0x06,8,9);
i hope someone can help so i can finish it and start building an application!
Bookmarks