1,When I was testing, I found that the clock of SPI was sent to 1Microsecond per byte. How do I set this time?
2,I find that when using this api( wiced_spi_transfer(&spi_device , message, nsegments);), the time is probably 300 Microsecond.
I write only one byte.
已解决! 转到解答。
Thank
I am not using this API(spi_bb_transfer_nosetup).This API is slower.
There is no delay in the bottom function. I would like to check if there is a register that can set the clook delay.
Hi:
please take a look at this blog to see if the clock delay can be set by the init function, thanks.
How to set SPI bit banging clock frequency in 4390X using WICED?
hi
I try to use (spi_bb_driver), which are analog SPI and IO ports are not very fast. Although clock is continuous, 10Microsecond sends only one byte.
The interval between each byte can not be set, resulting in SPI overall speed reduction.
Hi :
Please use platform_spi_transfer_nosetup for a try. It will reduce the cs core_clock toggle and cs active time .
Yes, I have debugged this function, I mean the interval between the bytes, and nothing to do with CS time.
Is there a register that can set this time?
Hi :
in spi_bb_transfer_nosetup , I can't see any delay in the while :
while ( length-- )
{
uint8_t send_byte = 0x00;
uint8_t rcv_byte = 0x00;
if ( send_ptr != NULL )
{
send_byte = *send_ptr++;
}
// here should be a continuous TX/RX bytes in SPI bus.
rcv_byte = spi_bb_transfer_byte( spi, config, send_byte );
if ( rcv_ptr != NULL )
{
*rcv_ptr++ = rcv_byte;
}
}
Thank
I am not using this API(spi_bb_transfer_nosetup).This API is slower.
There is no delay in the bottom function. I would like to check if there is a register that can set the clook delay.
zhez
Can this byte time interval be reduced? This setting is very important to us. Now the problem is very difficult, so please reply as soon as possible. Thank