I am unable to Write into SBC M_Memory0 Register through SPI(without DMA)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I am unable to Write into SBC M_Memory0 Register through SPI(without DMA)

1,128件の閲覧回数
scnaidu
Contributor II

Hello NXP Experts...,

I am trying to writ 0x55(example) into SBC Memory0 register through SPI without DMA while writing into register i observed RX buffer data i 0XF000 for every write value into register (different data i wrote into this register) am seeing the same value in RX buffer i.e.., 0XF000

 

I followed the AN1233 reference for SPI Read and Write

you can see the source file attached

 

0 件の賞賛
返信
2 返答(返信)

1,096件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Chakradhar,

I am not familiar with the code you are using and do not support directly S32K MCUs, but I would recommend you to take a closer look at our  "FS8x Generic SW Driver with Examples". It includes, among others, the FS8x_WriteRegister function in sbc_fs8x_communication.c file. 

https://www.nxp.com/products/power-management/pmics-and-sbcs/system-basis-chips/safety-system-basis-...

Snímek obrazovky 2024-10-04 153834.png

BRs, Tomas

0 件の賞賛
返信

1,090件の閲覧回数
scnaidu
Contributor II

the drivers are taken from S32k SBC fs85 only, one query is the SBC registers will only access through FS8x_Write and FS8X_Read. any other info if you had can you share, please

0 件の賞賛
返信