PIC16F18326 & LIS3DHTR error Help me

For general Flowcode discussion that does not belong in the other sections.
Post Reply
seokgi
Posts: 212
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 7 times

Flowcode v10 PIC16F18326 & LIS3DHTR error Help me

Post by seokgi »

I changed the MCU and sensor to complete this project.
MCU: PIC16F18326
Sensor: LIS3DHTR

But it doesn't run.
When I compile the MCU, the following error occurs.

"C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_String.c:1267:: error: (1250) could not find space (256 bytes) for variable _tempSub"

And when I downgrade PIC\PIC_CAL_String.c from version 6 to version 5, it compiles.

And LIS3DTR uses the library (I2C) supported by FC10, but it doesn't work.
Can you show me an example?

I followed the manual for the sensor for SPI, but the SCLK, MOSI, and CS signals work fine, but the MISO data doesn't come out.

Please help me.

Thank you.

medelec35
Matrix Staff
Posts: 2030
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 634 times
Been thanked: 682 times

Re: PIC16F18326 & LIS3DHTR error Help me

Post by medelec35 »

seokgi wrote:
Mon Mar 31, 2025 1:07 am
"C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_String.c:1267:: error: (1250) could not find space (256 bytes) for variable _tempSub"
Hello, thank you for letting us know about the bug.
That has now been fixed and is available via library updates.
Can you let us know if the issue of MOSI not working still applies after you have updated Flowcode with the components.
Martin

seokgi
Posts: 212
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 7 times

Re: PIC16F18326 & LIS3DHTR error Help me

Post by seokgi »

Thank you.
I will try tomorrow morning.
Thankyou again.

Post Reply