Dear All
I want to use RX-231 SCI6 (pin 16, 17, 18) to read / write data to external RAM.
Is there any sample code about this ?
regard,
rachmat
Hello Rachmat,
SCI6 can be used for SPI communication, but can you please define the model of the external RAM that you want to use?
Regards,
AL_Renesas
Hello
RAM typr is LY68L6400SLIT
regards,
Unfortunately. the LY68L6400SLIT is a SPI/QSPI PSRAM device and there isn't any available sample code for this kind of memories on RX231.
The only that I found is the below:
https://www.renesas.cn/cn/zh/document/apn/rx-family-clock-synchronous-control-module-serial-nor-flash-memory-access-firmware-integration
which implements SPI communication for SPI/QSPI FLASH memories and its seems that it uses RSPI peripheral for RX231 device:
Ιt seems that you will need to design the SPI SCI6 from scratch following the LY68L6400SLIT's user's manual.
I will ask more information internally, but it seems difficult to find something that matches with your request.
I will inform you for any news.
Some extra comments for your request:
The RX231 device do support simple SPI interface on SCI and SCI6 channel can be used for communication. FIT module "r_sci_rx" can be used, channel SCI6 configuration are as below -
The LY68L6400SLIT do support SPI and QPI mode and default power up status is SPI mode, as can be seen from the DS -
The device should communicate with simple SPI mode with RX FIT module
Regards
What is the reason of use FIT module (and smart config)? SPI setup on 231 is really simple:
1. setup port1 (chapter 22 of RX231 HW manual)
2. setup SCI6 fo SPI (chapter 33 of RX231 HW manual)
3. write service routine for read/write
Enjoy your system working...
and throw away all that junk with FIT and smart config...