FS23 SBC Chip

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FS23 SBC Chip

1,857 次查看
MohamedSalah
Contributor II

Hello All, 

I am using SBC FS2320 Chip in my project 

I tried to communicate with it through SPI but whenever I read any register it returns zeroes 

(Even if the Register contains some data)

 

After digging looks like it is Configured to communicate by default through I2C

From the Datasheet I found that I need to enter OTP_MODE to use SPI

and Change this bit :

[SPI_EN_OTP = 0] to be [SPI_EN_OTP = 1] That is present in the [OTP_MAIN_SYS_I2C_CFG] OTP_Register

 

MohamedSalah_0-1708507570635.png

The Question here :

1)Is this the right method ? 

2)Is all FS2320 Chips come with I2C Configured by default ? 

3)Is there any simpler way to communicate through SPI ? 

4)In OTP mode I should read and right OTP registers using I2C , Right ? 

 

Thanks a lot  

 

 

标记 (1)
0 项奖励
回复
4 回复数

1,819 次查看
MohamedSalah
Contributor II

Hi Thomas, 

the SBC Chip I have is shown below : 

MohamedSalah_1-1708870637025.png

PFS2320 B0L1W1

CTBUJA

is this the Full Part number ? or something is missing ? 

 

I am using S23K312 MCU in a custom made PCB not using NXPs evaluation board.

So is this a normal OTP version or a changed one ?

 

Thanks for your fast reply 

 

 

0 项奖励
回复

1,791 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Mohamed,

Better would be to get the full orderable part number, as shown in the datasheet (Table 2) or the Buy/Parametrics tab:

Capture.JPG

However, based on the marking on the picture, it seems that it is the non-programmed version with the default communication - I2C (SPI_EN_OTP = 0).

BR, Tomas

BR, Tomas

0 项奖励
回复

1,784 次查看
MohamedSalah
Contributor II

Hi Thomas, 

if we consider that our board is BB1 version (I don't know if it is different will make sure and get back to you )

I found a Configuration report Document named :MFS2320BMBB1EP 

(I have attached it to the message)

 

in page 5 there is a table talking about the SPI Feature and the OTP 

MohamedSalah_0-1708951588601.png

in the last highlighted row is this an indication that SPI is enabled by OTP or could be enabled by OTP

0 项奖励
回复

1,843 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Mohamed,

What is the full part number you are using? 

The A0 version is not programmed and the default communication is I2C (SPI_EN_OTP = 0).

Other versions may be programmed for SPI communication (SPI_EN_OTP = 1).

Are you using any of our evaluation boards?

BR, Tomas 

0 项奖励
回复