Page 1 of 1

PIC16F18326 & LIS3DHTR error Help me

Posted: Mon Mar 31, 2025 1:07 am
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.

Re: PIC16F18326 & LIS3DHTR error Help me

Posted: Wed Apr 02, 2025 7:44 am
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.

Re: PIC16F18326 & LIS3DHTR error Help me

Posted: Thu Apr 03, 2025 7:21 am
by seokgi
Thank you.
I will try tomorrow morning.
Thankyou again.