Little problem with RF module

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times

Little problem with RF module

Post by Mathy »

Hello,

I use the RF component on a 18F26k22 family.
The RF component is on the first SPI hardware peripheral and one SDCARD and one accelerometer and the second.

I use the polling method to check the buffer and then read the FIFO.
The fist problem I have is when I set a to large timeout value ( 20 ) when checking the buffer, I don't know why but the stored data are corrupted. I receive 0x02 instead of 0x01.
This is appening only if I do some calculation with the accelerometer and the SDCARD. If I don't use them, no problem.

If I set a small timeout value like 2, no problem even if I use accelerometer and sdcard. Do you know why ?

Thank you for your help.

Post Reply